“MediaWiki:Common.css”的版本间的差异
来自帮助文档
第10行: | 第10行: | ||
overflow-y: scroll; | overflow-y: scroll; | ||
-moz-border-radius: 0 0 1px 1px; | -moz-border-radius: 0 0 1px 1px; | ||
− | |||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-radius: 0 0 1px 1px; | border-radius: 0 0 1px 1px; | ||
padding: 12px; | padding: 12px; | ||
box-shadow: 0 1px 8px #000; | box-shadow: 0 1px 8px #000; | ||
− | |||
} | } | ||
第40行: | 第38行: | ||
#p-tb{ | #p-tb{ | ||
position:fixed; | position:fixed; | ||
− | + | bottom: 63% | |
} | } | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } |
2023年6月29日 (四) 19:23的版本
/* 这里放置的CSS将应用于所有皮肤 */ #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; box-shadow: 0 1px 8px #000; } #toc:hover{ display: block; position: fixed; top: 1px; left: 0px; width: initial; height: 100%; -moz-border-radius: 0 0 1px 1px; -moz-box-shadow: 0 1px 8px #000; overflow-y: scroll; } #searchBody{ padding: 0.5em 0.4em 0.4em 0.4em; text-align: center; position: fixed; bottom: 200px; right: 30px; } #p-tb{ position:fixed; bottom: 63% } body.page-Main_Page h1.firstHeading { display:none; }