“MediaWiki:Common.css”的版本间的差异
来自帮助文档
第24行: | 第24行: | ||
#toc:hover{ | #toc:hover{ | ||
+ | display: block; | ||
position: fixed; | position: fixed; | ||
top: 1px; | top: 1px; | ||
left: 0px; | left: 0px; | ||
− | + | width: initial | |
//min-width: 175px; | //min-width: 175px; | ||
//max-width: 229px; | //max-width: 229px; |
2023年6月29日 (四) 18:22的版本
/* 这里放置的CSS将应用于所有皮肤 */ #toc{ display: block; position: fixed; top: 1px; left: 0px; width: 125px; height: 100%; //min-width: 175px; // max-width: 229px; //min-height: 100px; //max-height: 626px; overflow-y: scroll; border: 1px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background: rgba(249,249,249,1); padding: 12px; box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; -moz-box-shadow: 0 1px 8px #000; } #toc:hover{ display: block; position: fixed; top: 1px; left: 0px; width: initial //min-width: 175px; //max-width: 229px; //min-height: 100px; //max-height: 626px; overflow-y: scroll; border: 1px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background: rgba(249,249,249,1); padding: 12px; box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; -moz-box-shadow: 0 1px 8px #000; } #searchBody{ padding: 0.5em 0.4em 0.4em 0.4em; text-align: center; position: fixed; bottom: 200px; right: 30px; } body.page-Main_Page h1.firstHeading { display:none; }