“MediaWiki:Common.css”的版本间的差异
来自帮助文档
第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
− | #firstHeading{ | + | #firstHeading{display: none;} |
− | + | li{white-space: nowrap;} | |
+ | |||
+ | #p-cactions li.selected a{ z-index: 0;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#toc{ | #toc{ | ||
display: block; | display: block; | ||
第76行: | 第71行: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | } | ||
− | |||
− | + | #simpleSearch{width: 12.6em;} | |
− | } | + | #mw-page-base{display: none;} |
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } |
2023年8月11日 (五) 18:31的版本
/* 这里放置的CSS将应用于所有皮肤 */ #firstHeading{display: none;} li{white-space: nowrap;} #p-cactions li.selected a{ z-index: 0;} #toc{ display: block; position: fixed; bottom: 0px; left: 0px; width: 125px; height: 60%; overflow-y: scroll; -moz-border-radius: 0 0 1px 1px; border: 1px solid #aaa; border-radius: 0 0 1px 1px; padding: 12px; -moz-box-shadow: 0 1px 8px #000; } #toc:hover{ display: block; position: fixed; top: 1px; left: 0px; width: initial; height: 96%; -moz-border-radius: 0 0 1px 1px; -moz-box-shadow: 0 1px 8px #000; overflow-y: scroll; z-index: 4; } #searchBody{ padding: 0.5em 0.4em 0.4em 0.4em; text-align: center; } #p-search{ z-index:3; position: fixed; bottom: 200px; right: 30px; width: 230px; } #p-tb{ position:fixed; bottom: 63%; } #p-logo{ display: none; } .mw-body{ margin: 2.8em 0 0 160px; padding: 1em; position: relative; z-index: 2; background: #fff; color: #000; border: 1px solid #aaa; border-right: 0; line-height: 1.5em; } #simpleSearch{width: 12.6em;} #mw-page-base{display: none;} body.page-Main_Page h1.firstHeading { display:none; }