MediaWiki:Common.css:修订间差异
创建页面,内容为“→这里放置的CSS将应用于所有皮肤: →== 浮动目录 ==: #toc.mbox-image { display: none; } table.toc { position: fixed; top: 100px; right: 0px; border: 0px; width: 300px; border-bottom: 1px SOLID #CCC; border-left: 1px SOLID #CCC; } table.toc tbody tr td ul { overflow: auto; max-height: 400px; } table.toc tbody tr td ul ul { overflow: auto; max-height: 10000px; } body { overflow-x: hidden;}” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
#toc{ | |||
#toc | display: block; | ||
position: fixed; | |||
position: fixed; | top: 100px; | ||
top: 100px; | right: 0px; | ||
right: 0px; | min-width: 200px; | ||
max-width: 350px; | |||
width: | max-height: 10px; | ||
border | overflow-y: scroll; | ||
border- | 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; | |||
max-height: | position: fixed; | ||
top: 100px; | |||
right: 0px; | |||
min-width: 200px; | |||
max-width: 350px; | |||
max-height: 100px; | |||
max-height: 600px; | |||
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;} | body { overflow-x: hidden;} | ||
/*Extension:TreeAndMenu*/ | |||
.fancytree ul { | |||
background: none; | |||
border: none; | |||
font-size: 12px; | |||
} | |||
ul.fancytree-container { | |||
outline: 0; | |||
border: none; | |||
overflow: hidden; | |||
} | |||
.fancytree p { | |||
display: none; | |||
} | |||
span.fancytree-title { | |||
cursor: default; | |||
} | |||
span.fancytree-title a { | |||
color: black; | |||
} | |||