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

删除的内容 添加的内容
Maintenance script留言 | 贡献
统一 navbox 标题色与 infobox 一致 #B2DDBC
修复 Navbox 列中 nowraplinks 阻止长文本换行的问题,列内链接允许换行
 
(未显示2个用户的3个中间版本)
第1行:
/*
/ * 融合版 Module:Navbox/styles.css */
/ * 适配本站融合版(enwiki 架构 + zhwiki/mworg 特性) */
/ * 参考:enwiki Module:Navbox/styles.css + zhwiki 适配 */
*/
 
/* ---------- 基础 ---------- */
第41行 ⟶ 第43行:
/* ---------- 标题 ---------- */
.navbox-title {
background: #B2DDBCccf;
color: inherit;
padding-left: 1em;
第49行 ⟶ 第51行:
 
.navbox-title1 {
background: #B2DDBCccf;
color: inherit;
padding-left: 1em;
第75行 ⟶ 第77行:
/* ---------- 上方/下方区域 ---------- */
.navbox-abovebelow {
background: #DBF3E0ddf;
color: inherit;
padding-left: 1em;
第84行 ⟶ 第86行:
/* ---------- 组标签 ---------- */
.navbox-group {
background: #DBF3E0ddf;
color: inherit;
padding-left: 1em;
第99行 ⟶ 第101行:
border-width: 0;
line-height: 1.5em;
overflow-wrap: break-word;
word-break: break-word;
}
 
第132行 ⟶ 第136行:
/* ---------- 子导航框嵌套颜色层级 ---------- */
.navbox-subgroup .navbox-title {
background: #DBF3E0ddf;
}
 
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #DBF3E0e6e6ff;
}
 
第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;
}