“MediaWiki:Common.css”的版本间的差异
来自百问网嵌入式Linux wiki
Baiwen root(讨论 | 贡献) |
Baiwen root(讨论 | 贡献) |
||
| 第1行: | 第1行: | ||
| − | |||
/* == 浮动目录 == */ | /* == 浮动目录 == */ | ||
| − | #toc | + | #toc.mbox-image { display: none; } |
| − | + | table.toc { | |
position: fixed; | position: fixed; | ||
| − | top: | + | top: 100px; |
right: 0px; | right: 0px; | ||
| − | + | border: 0px; | |
| − | + | width: 300px; | |
| − | + | border-bottom: 1px SOLID #CCC; | |
| − | + | border-left: 1px SOLID #CCC; | |
| − | + | } | |
| − | border- | + | 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;} | body { overflow-x: hidden;} | ||
2018年1月12日 (五) 15:29的版本
/* == 浮动目录 == */
#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;}