用户:850710247liu/common.css

来自萌娘文库
跳转至: 导航搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 侧边栏、顶部栏、页脚 */
.mw-body {
border-left: 1px solid #bbb;
border-bottom: 1px solid #bbb;
border-top: none;
border-right: none;
}
background-image: url(https://library.moegirl.org.cn/skins/Vector/images/user-icon.png?13155)!important;
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213.836%22 viewBox=%220 0 12 13.836%22%3E %3Cpath fill=%22%2372777d%22 d=%22M1.938%2C6.656c-1.32%2C1.485-1.47%2C3.15-0.97%2C4.25c0.323%2C0.707%2C0.78%2C1.127%2C1.313%2C1.375 c0.496%2C0.229%2C1.074%2C0.273%2C1.658%2C0.282c0.023%2C0%2C0.04%2C0.03%2C0.062%2C0.03h4.187c0.61%2C0%2C1.225-0.125%2C1.75-0.405 c0.527-0.28%2C0.961-0.718%2C1.188-1.376c0.335-0.964%2C0.175-2.529-1.094-4.03C9.094%2C7.954%2C7.68%2C8.719%2C6.065%2C8.719 c-1.677%2C0-3.182-0.812-4.125-2.063H1.938z%22/%3E %3Cpath fill=%22%2372777d%22 d=%22M6.063%2C0c-1.89%2C0-3.595%2C1.674-3.594%2C3.563C2.467%2C5.45%2C4.173%2C7.155%2C6.06%2C7.155 c1.89%2C0%2C3.564-1.705%2C3.563-3.593C9.625%2C1.673%2C7.95%2C0%2C6.063%2C0L6.063%2C0z%22/%3E %3C/svg%3E);
#p-personal {
    font-size: 17.5px;
    right: 1em;
}
div.vectorTabs {
    font-size: 16px;
    padding-top: 2px;
}
div.vectorMenu {
    font-size: 92%;
}
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-wikilove.icon a {
    padding-top: 3.4em;
}
    #content {
        margin-left: 214px !important;
    }

    .portal {
        background: transparent !important;
    }

    #mw-panel {
border-right: 1px solid #bbb;
        width: 200px !important;
        background: rgb(254,254,254,0.99) !important;
        padding-left: 14px !important;
    }
    
    #p-logo {
        left: 0px;
        padding-left: 10px;
    }

    #p-logo a {
        padding-left: 40px;
        left: 0px;
        border-right: 1px solid #aaa;
    }
    #p-logo a:hover {
        opacity: 1.0;
    }

    #mw-head {
        background-color: rgb(254,254,254,0.98);
        opacity: 1.0;
        box-shadow: 0px 1px 2px #aaa;
        -webkit-transition-property: opacity !important;
        -moz-transition-property: opacity !important;
        -o-transition-property: opacity !important;
        -ms-transition-property: opacity !important;
        transition-property: opacity !important;
        -webkit-transition-duration: 0.5s !important;
        -moz-transition-duration: 0.5s !important;
        -o-transition-duration: 0.5s !important;
        -ms-transition-duration: 0.5s !important;
        transition-duration: 0.25s !important;
    }

    #mw-head:hover {
        opacity: 1.0 !important;
    }

    .uls-settings-trigger {
        display: none !important;
    }

    #left-navigation {
        margin-left: 233px !important;
    }
#mw-page-base {
    height: 104px;
}
#left-navigation,
#right-navigation {
    margin-top: 60px;
}
#mw-head div.vectorMenu h4 {
    height: 1.9em;
    margin-bottom: 0;
    padding-top: 1.25em;
    padding-bottom: 0;
    padding-right: 0.5em;
}
#mw-panel div.portal {
    padding-bottom: 0.7em;
    padding-top: 0.4em;
}
#mw-panel #p-logo .mw-wiki-logo {
    width: 175px;
}
#mw-panel {
    font-size: 18.5px;
    /* mw-panel的宽度是10em,改了font-size以后也需要修改一下 */
    width: 11.6rem;
}
    ul,li {
        background: transparent !important;
    }

   #mw-panel,#mw-head {
        line-height: 1.7 !important;
        font-weight: 300 !important;
    }

#mw-panel .portal .body li {
     line-height: 1.6em;
}
    .mw-wiki-logo{
        padding-left: 5px !important;
        padding-top: 10px !important;
        border: none !important;
    }
.clear-div {
    clear: both;
}
.uls-trigger{
    display: none;
}
div.vectorMenu div.menu {
    top: 2.75em;
    width: 100%;
    background-color: rgba(251,251,251,0.9);
    border: 1px solid #a7d7f9;
    border-top: transparent;
}
#mw-panel .portal .body li a:visited {
  color: #0648AF;
}
#catlinks {
background-color: rgba(251,251,251,0.3);
}
.oo-ui-popupWidget-anchored-top {
    z-index: 10000;
}
#mp-banner {
    margin: -1.7em;
    margin-top: -4.1em;
    background-image: url(https://www.hmoegirl.com/images/0/09/80468767.jpg);
}
#footer {
    margin-left: 12.4em;
    padding: 1.25em;
}
/* 隐藏编辑页面中的返回顶部按钮 */
.page-Mainpage .backToTop,
.action-edit .backToTop,
.action-submit .backToTop {
  display: none !important;
}
/* 全站字型调整 */
body {
    font-size: 108%;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.mw-body-content {
    line-height: 1.85;
}
body .ui-dialog .ui-widget-header {
    background: #f1f1f1 !important;
}
body .ui-button {
    box-shadow: 0 0 0 0 !important;
}
::selection {
    background: rgba(0,0,0,.1);
    text-shadow: none;
}
#firstHeading {
    font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 500;
    padding-bottom: 6px;
    font-size: 170%;
}
h2,
h3,
h4,
h5,
h6 {
        font-family: "roboto",sans-serif !important;
	color: #404040 !important;
	line-height: 1.8 !important;
	border-bottom-color: rgba(0, 0, 0, .1) !important;
}
.mw-body-content h2 {
    font-weight: 540;
}
/* 链接显示效果 */
a:hover {
  text-decoration: none;
  color: #2a4b8d!important;
}
a, a:visited {
    text-decoration: none;
    color: #3366cc;
}
.mw-body a.external:visited {
    color: #3366cc;
}

/* 斜体字右边距加大看以防止文字挤在一起 */
#mw-content-text i {
    margin-right: 3px;
}
/* 隐藏首页标题、空行、分类、讨论、查看源代码tab */
.page-Mainpage h1.firstHeading,
.page-Mainpage #siteSub,
.page-Mainpage #contentSub,
.page-Mainpage #ca-viewsource,
.page-Mainpage #siteNotice,
.page-Mainpage #ca-talk,
.page-Mainpage #catlinks,
.page-Mainpage #footer #footer-info
{
    display: none;
}
/* 弹出框和滚轮条外观 */
.ve-init-mw-desktopArticleTarget-toolbar-open > .oo-ui-toolbar-bar {
    top: -1px;
    border-top: 1px solid #c8ccd1;
}
::-webkit-scrollbar {
    border: 0;
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}
::-webkit-scrollbar-thumb {
    border: 0;
    min-height: 34px;
    padding-top: 100;
    background-clip: padding-box;
    background-color: rgba(0,0,0,.15);
}
::-webkit-scrollbar-track {
    border: 0;
    background-clip: padding-box;
    background-color: rgba(206,205,197,.1);
}
/* wikitable MD化 */
table.wikitable {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 4px;
  overflow: hidden;
}
/* 编辑区样式 */
#wpTextbox1.mw-editfont-monospace{
font-size: 93%;
height: 450px;
}
#msupload-container.start-loading{
    display:none;
}
.ve-ui-mwSaveDialog-summaryLabel {
    display: none;
}
#pt-userpage, #pt-anonuserpage {
    background-image: url(/skins/Vector/images/user-icon.png?13155);
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213.836%22 viewBox=%220 0 12 13.836%22%3E %3Cpath fill=%22%2372777d%22 d=%22M1.938%2C6.656c-1.32%2C1.485-1.47%2C3.15-0.97%2C4.25c0.323%2C0.707%2C0.78%2C1.127%2C1.313%2C1.375 c0.496%2C0.229%2C1.074%2C0.273%2C1.658%2C0.282c0.023%2C0%2C0.04%2C0.03%2C0.062%2C0.03h4.187c0.61%2C0%2C1.225-0.125%2C1.75-0.405 c0.527-0.28%2C0.961-0.718%2C1.188-1.376c0.335-0.964%2C0.175-2.529-1.094-4.03C9.094%2C7.954%2C7.68%2C8.719%2C6.065%2C8.719 c-1.677%2C0-3.182-0.812-4.125-2.063H1.938z%22/%3E %3Cpath fill=%22%2372777d%22 d=%22M6.063%2C0c-1.89%2C0-3.595%2C1.674-3.594%2C3.563C2.467%2C5.45%2C4.173%2C7.155%2C6.06%2C7.155 c1.89%2C0%2C3.564-1.705%2C3.563-3.593C9.625%2C1.673%2C7.95%2C0%2C6.063%2C0L6.063%2C0z%22/%3E %3C/svg%3E);
    padding-left: 15px !important;
}