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

删除的内容 添加的内容
Maintenance script留言 | 贡献
navbox-subgroup 显式去掉所有边框
修复 Navbox 列中 nowraplinks 阻止长文本换行的问题,列内链接允许换行
 
(未显示2个用户的8个中间版本)
第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;
}
 
第204行 ⟶ 第220行:
body.skin--responsive .navbox-image img {
max-width: none !important;
/* ---------- 子导航框禁用边框 ---------- */
.navbox-subgroup,
.navbox-subgroup .navbox-list,
.navbox-subgroup .navbox-list-with-group,
.navbox-subgroup > tr > td,
.navbox-subgroup > tr > th {
border: none !important;
}