“用户:850710247liu/common.css”的版本间的差异

来自萌娘文库
跳转至: 导航搜索
第1行: 第1行:
 +
/* 全站字型调整 */
 +
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 #catlinks,
 +
.page-Mainpage #footer #footer-info
 +
{
 +
    display: none;
 +
}
 +
/* 目录样式 */
 
#toc{
 
#toc{
 
background-color: rgb(255 255 255 / 30%);
 
background-color: rgb(255 255 255 / 30%);
第7行: 第75行:
 
background: none;  
 
background: none;  
 
width: auto;
 
width: auto;
 +
}
 +
.toctoggle {
 +
    display: none;
 
}
 
}
 
/* 侧边栏、顶部栏、页脚 */
 
/* 侧边栏、顶部栏、页脚 */
第158行: 第229行:
 
     margin-left: 12.4em;
 
     margin-left: 12.4em;
 
     padding: 1.25em;
 
     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 #catlinks,
 
.page-Mainpage #footer #footer-info
 
{
 
    display: none;
 
 
}
 
}
 
/* 弹出框和滚轮条外观 */
 
/* 弹出框和滚轮条外观 */

2021年3月10日 (三) 10:35的版本

/* 全站字型调整 */
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 #catlinks,
.page-Mainpage #footer #footer-info
{
    display: none;
}
/* 目录样式 */
#toc{
background-color: rgb(255 255 255 / 30%);
clear: right; 
margin-bottom: .5em; 
float: right; 
padding: 1em; 
background: none; 
width: auto;
}
.toctoggle {
    display: none;
}
/* 侧边栏、顶部栏、页脚 */
.mw-body {
border-left: 1px solid #bbb;
border-bottom: 1px solid #bbb;
border-top: none;
border-right: none;
}
#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;
}
/* 弹出框和滚轮条外观 */
.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(https://library.moegirl.org.cn/skins/Vector/images/user-icon.png?13155)!important;
    background-repeat: no-repeat!important;
}