“mw:Common.css”的版本间的差异
来自中药图谱资源库
第23行: | 第23行: | ||
font-size: 2em; | font-size: 2em; | ||
} | } | ||
− | /* image gallery for small screens */ | + | /* image gallery for small screens - buggy: should be moved to onloadready */ |
+ | /* | ||
@media screen and (max-width : 880px) { | @media screen and (max-width : 880px) { | ||
ul.gallery { | ul.gallery { | ||
第30行: | 第31行: | ||
} | } | ||
} | } | ||
− | + | */ | |
h2{font-size:1.2em;} | h2{font-size:1.2em;} | ||
h3{font-size:1.1em;} | h3{font-size:1.1em;} |
2021年11月4日 (四) 14:09的版本
/* disable copying/pasting and downloading */ * { -webkit-touch-callout:none; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none; /*overflow-anchor: none;*/ } /* but enable searching and editing */ input, textarea { -webkit-touch-callout: default; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text; } /* chinese paragrams */ p { text-indent: 2em; } .gallerytext > p { text-indent: 0em!important;} /* smaller heads */ .mw-body h1, .mw-body #firstHeading { font-size: 2em; } /* image gallery for small screens - buggy: should be moved to onloadready */ /* @media screen and (max-width : 880px) { ul.gallery { display: flex; overflow-x: auto; } } */ h2{font-size:1.2em;} h3{font-size:1.1em;} #content.mw-body {padding:0;} .mw-redirectedfrom {display:none;} body { background-color: #f9f6e7; 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) repeat fixed; background-size: 20px, 30px, cover; } 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/5/5c/Bg_lt.png) no-repeat left top, url(images/b/b4/Bg_rt.png) no-repeat right top, url(images/6/6e/Bg_rb.png) no-repeat right bottom, url(images/a/a6/Bg_lb.png) no-repeat left bottom; background-size: 50% auto, 30% auto, 40% auto, 50% auto;} body.page-首页 .flex-fill .mw-ui-button { background-color: #caa783; border-radius: 6px; border: 1px solid #532d16;} /*body.page-首页*/ body .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-color: #f9f6e7; 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) repeat fixed; background-size: 20px, 30px, cover; }*/ .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; } .ns-6 #file a {pointer-events: none; cursor: default;} .ns-6 #content img {max-width: 100% !important; height:auto !important;} .ns-6 #mw-imagepage-section-filehistory, .ns-6 #filetoc, .ns-6 .mw-filepage-resolutioninfo, .ns-6 .fullMedia, .ns-6 #filehistory, .ns-6 #mw-imagepage-upload-disallowed {display:none;}