“mw:Common.css”的版本间的差异
来自中药图谱资源库
| 第20行: | 第20行: | ||
} | } | ||
body.page-首页 #p-search {visibility: hidden;} | body.page-首页 #p-search {visibility: hidden;} | ||
| − | img.site-name { width: | + | img.site-name { max-width: calc(100% - 8px); height: auto;} |
.catlinks { display: none; } | .catlinks { display: none; } | ||
2021年7月14日 (三) 17:25的版本
/* global css */
p { text-indent: 2em; }
.mw-body h1, .mw-body #firstHeading {
font-size: 2em;
}
h2{font-size:1.2em;}
h3{font-size:1.1em;}
#content.mw-body {padding:0;}
.mw-redirectedfrom {display:none;}
body.page-首页.action-view h1.firstHeading, body.page-首页.action-submit h1.firstHeading { display: none; }
body.page-首页 p { text-indent: 0}
body.page-首页 { background: url(/images/8/8e/Bar_header.png) repeat-x, url(/images/4/4e/Bar_footer.jpg) repeat-x bottom, url(/images/thumb/6/6c/Bg_main.jpg/800px-Bg_main.jpg) no-repeat fixed; background-size: 20px, 30px, cover;}
body.page-首页 .flex-fill {background: url(images/6/6e/Bg_rb.png) no-repeat right bottom, url(images/6/6e/Bg_rb.png) no-repeat right top;
background-size: 20% auto, 30% auto;}
body.page-首页 .p-navbar {
background-color: transparent;
}
body.page-首页 #p-search {visibility: hidden;}
img.site-name { max-width: calc(100% - 8px); height: auto;}
.catlinks { display: none; }
#ca-talk { display:none!important; }
#ca-viewsource { display:none!important; }
#ca-history { display:none!important; }
body.page-分类_饮片, body.ns-4 { background: #f9f6e7; }
.ns-4 h5, .ns-4 h1, .ns-4 h2 { color: #4b0d09; }
.ns-4 .toctitle h2 { font-size:1.2em; margin-top:5px;}
/*.toc, #toc { display: none;}*/
#toc { background-color:#8c6c49; }
#toc > .toctitle > .toctoggle { display:none; }
#toc a {
color: white;
text-decoration: none;
}
#toc a:hover { color:yellow; }
#toc .tocnumber { display: none; }
#mw-normal-catlinks { display: none; }
#mw-indicator-mw-helplink {display:none!important; }
.mw-userlogin-help {display:none!important; }
body.mw-special-Search .search-types ul li:last-child { display:none; }
overflow-anchor: none;