“MediaWiki:Common.css”的版本间的差异
来自明远智睿的wiki
第5行: | 第5行: | ||
top: 100px; | top: 100px; | ||
right: 0px; | right: 0px; | ||
− | min-width: | + | min-width: 160px; |
− | max-width: | + | max-width: 320px; |
− | max-height: | + | min-height: 60px; |
+ | max-height: 480px; | ||
overflow-y: scroll; | overflow-y: scroll; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; |
2018年6月27日 (三) 15:21的版本
/* 这里放置的CSS将应用于所有皮肤 */
#toc{
display: block;
position: fixed;
top: 100px;
right: 0px;
min-width: 160px;
max-width: 320px;
min-height: 60px;
max-height: 480px;
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,0.75);
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: 100px;
right: 0px;
min-width: 160px;
max-width: 320px;
min-height: 60px;
max-height: 480px;
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,0.75);
padding: 12px;
box-shadow: 0 1px 8px #000;
-webkit-box-shadow: 0 1px 8px #000;
-moz-box-shadow: 0 1px 8px #000;
}
body { overflow-x: hidden;}