MediaWiki:Common.css:修订间差异
来自神国反恶俗
跳到导航跳到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第28行: | 第28行: | ||
#p-toc .mw-table-of-contents-header { | #p-toc .mw-table-of-contents-header { | ||
display: none; | display: none; | ||
} | |||
/* 左侧导航栏随屏幕滚动固定 */ | |||
#column-one { | |||
position: sticky; | |||
top: 0; | |||
max-height: 100vh; | |||
overflow-y: auto; | |||
} | } | ||
2026年10月10日 (六) 13:26的版本
/* 这里放置的CSS将应用于所有皮肤 */
.mw-table-of-contents-container,
.mw-table-of-contents,
#toc,
.toc {
float: none;
width: auto;
max-width: none;
margin: 0;
padding: 0;
border: none;
background: none;
font-size: 1em;
}
#p-toc .pBody {
max-height: 70vh;
overflow-y: auto;
font-size: 0.9em;
line-height: 1.6;
}
#p-toc ul {
margin: 0;
padding-left: 1.6em;
}
#p-toc .toctitle,
#p-toc .mw-table-of-contents__heading,
#p-toc .mw-table-of-contents-header {
display: none;
}
/* 左侧导航栏随屏幕滚动固定 */
#column-one {
position: sticky;
top: 0;
max-height: 100vh;
overflow-y: auto;
}