Module:Navbox/styles.css:修订间差异

删除的内容 添加的内容
Maintenance script​(留言 | 贡献)
navbox-subgroup 显式去掉所有边框
Maintenance script​(留言 | 贡献)
无编辑摘要
 
(未显示2个用户的9个中间版本)
第1行:
/*
/ * 融合版 Module:Navbox/styles.css */
/ * 适配本站融合版(enwiki 架构 + zhwiki/mworg 特性) */
/ * 参考:enwiki Module:Navbox/styles.css + zhwiki 适配 */
*/
 
/* ---------- 基础 ---------- */
第99行 ⟶ 第101行:
border-width: 0;
line-height: 1.5em;
overflow-wrap: break-word;
word-break: break-word;
}
 
第182行 ⟶ 第186行:
.nowraplinks .nowraplinks a {
white-space: nowrap;
}
 
/* ---------- 子多列导航框禁用边框内允许换行(覆盖 nowraplinks) ---------- */▼
.navbox-columns-table a {
white-space: normal;
word-break: break-word;
}
 
/* ---------- 多列导航框内允许换行(覆盖 nowraplinks) ---------- */
.navbox-columns-table a {
white-space: normal;
word-break: break-word;
}
 
第205行 ⟶ 第221行:
max-width: none !important;
}
 
▲/* ---------- 子导航框禁用边框 ---------- */
/* ---------- 防溢出(2026-08-07) ---------- */
.navbox-subgroup,
.navbox-subgroup .navbox-list,
.navbox-subgroupinner .navbox-list-with-group,{
box-sizing: border-box;
.navbox-subgroup > tr > td,
max-width: 100%;
.navbox-subgroup > tr > th {
}
border: none !important;
.navbox-columns-table {
box-sizing: border-box;
max-width: 100%;
table-layout: fixed;
}