“MediaWiki:Common.css”的版本间的差异
来自帮助文档
第4行: | 第4行: | ||
display: block; | display: block; | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 3px; |
left: 0px; | left: 0px; | ||
min-width: 175px; | min-width: 175px; | ||
− | max-width: | + | max-width: 231px; |
min-height: 100px; | min-height: 100px; | ||
max-height: 620px; | max-height: 620px; | ||
第24行: | 第24行: | ||
display: block; | display: block; | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 3px; |
left: 0px; | left: 0px; | ||
min-width: 175px; | min-width: 175px; | ||
− | max-width: | + | max-width: 231px; |
min-height: 100px; | min-height: 100px; | ||
max-height: 620px; | max-height: 620px; |
2021年2月5日 (五) 10:24的版本
/* 这里放置的CSS将应用于所有皮肤 */ #toc{ display: block; position: fixed; top: 3px; left: 0px; min-width: 175px; max-width: 231px; min-height: 100px; max-height: 620px; 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: 3px; left: 0px; min-width: 175px; max-width: 231px; min-height: 100px; max-height: 620px; 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; }