MediaWiki:Common.css:修订间差异
Maintenance script(留言 | 贡献) Import: MediaWiki:Common.css |
Maintenance script(留言 | 贡献) Import: MediaWiki:Common.css 标签:手工回退 |
||
| 第1行: | 第1行: | ||
/* 埃森兰 Wiki — Common.css | /* 埃森兰 Wiki — Common.css | ||
* 全站补充样式(在皮肤之上叠加)。 | * 全站补充样式(在皮肤之上叠加)。 | ||
*/ | */ | ||
| 第7行: | 第6行: | ||
.infobox { | .infobox { | ||
font-size: 0.9em; | font-size: 0.9em; | ||
line-height: 1. | line-height: 1.55; | ||
border-radius: | border-radius: 6px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: | box-shadow: 0 1px 3px rgba(42, 40, 37, 0.08); | ||
} | } | ||
/* ── 导航框 ── */ | /* ── 导航框 ── */ | ||
.navbox { | .navbox { | ||
font-size: 0. | font-size: 0.88em; | ||
clear: both; | clear: both; | ||
border-radius: | border-radius: 6px; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 第28行: | 第23行: | ||
font-size: 1em; | font-size: 1em; | ||
letter-spacing: 0.02em; | letter-spacing: 0.02em; | ||
} | } | ||
.navbox-group { | .navbox-group { | ||
font-weight: 600; | font-weight: 600; | ||
color: | color: #3d3a34; | ||
} | } | ||
| 第42行: | 第34行: | ||
font-size: 0.9em; | font-size: 0.9em; | ||
font-style: italic; | font-style: italic; | ||
color: | color: #706b60; | ||
padding: 0. | padding: 0.5em 0 0.5em 1.4em; | ||
margin-bottom: | margin-bottom: 0.85em; | ||
border-left: 3px solid | border-left: 3px solid #c9ad5f; | ||
background: | background: #faf8f1; | ||
border-radius: 0 | border-radius: 0 6px 6px 0; | ||
} | } | ||
| 第54行: | 第46行: | ||
font-size: 0.9em; | font-size: 0.9em; | ||
font-style: italic; | font-style: italic; | ||
color: | color: #5c574d; | ||
margin: 0 0 | margin: 0 0 0.75em 0; | ||
padding: 0. | padding: 0.45em 0.75em; | ||
background: linear-gradient(90deg, | background: linear-gradient(90deg, #faf8f1 0%, transparent 100%); | ||
border-radius: | border-radius: 4px; | ||
} | } | ||
/* ── 提示框(ambox) ── */ | /* ── 提示框(ambox) ── */ | ||
.ambox { | .ambox { | ||
border: 1px solid | border: 1px solid #eae8e2; | ||
border-left: | border-left: 3px solid #c9ad5f; | ||
background: | background: #faf8f1; | ||
margin: | margin: 1em 0; | ||
padding: 0; | padding: 0; | ||
border-radius: | border-radius: 0 8px 8px 0; | ||
} | } | ||
.ambox-text { | .ambox-text { | ||
padding: | padding: 10px 14px; | ||
} | } | ||
| 第83行: | 第73行: | ||
.mw-parser-output .wikitable th { | .mw-parser-output .wikitable th { | ||
background: | background: #faf8f1; | ||
color: | color: #2a2825; | ||
} | } | ||
/* ── 首页/大段卡片式排版中的表格更柔和 ── */ | /* ── 首页/大段卡片式排版中的表格更柔和 ── */ | ||
.mw-parser-output table[style*="border-radius"] { | .mw-parser-output table[style*="border-radius"] { | ||
border-radius: | border-radius: 8px; | ||
} | } | ||
2026年4月17日 (五) 04:47的版本
/* 埃森兰 Wiki — Common.css
* 全站补充样式(在皮肤之上叠加)。
*/
/* ── 信息框 ── */
.infobox {
font-size: 0.9em;
line-height: 1.55;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(42, 40, 37, 0.08);
}
/* ── 导航框 ── */
.navbox {
font-size: 0.88em;
clear: both;
border-radius: 6px;
overflow: hidden;
}
.navbox-title {
font-size: 1em;
letter-spacing: 0.02em;
}
.navbox-group {
font-weight: 600;
color: #3d3a34;
}
/* ── 顶注(消歧义等) ── */
.hatnote {
font-size: 0.9em;
font-style: italic;
color: #706b60;
padding: 0.5em 0 0.5em 1.4em;
margin-bottom: 0.85em;
border-left: 3px solid #c9ad5f;
background: #faf8f1;
border-radius: 0 6px 6px 0;
}
/* ── “主条目”模板 ── */
.mainarticle {
font-size: 0.9em;
font-style: italic;
color: #5c574d;
margin: 0 0 0.75em 0;
padding: 0.45em 0.75em;
background: linear-gradient(90deg, #faf8f1 0%, transparent 100%);
border-radius: 4px;
}
/* ── 提示框(ambox) ── */
.ambox {
border: 1px solid #eae8e2;
border-left: 3px solid #c9ad5f;
background: #faf8f1;
margin: 1em 0;
padding: 0;
border-radius: 0 8px 8px 0;
}
.ambox-text {
padding: 10px 14px;
}
/* ── 表格阅读性 ── */
.mw-parser-output .wikitable {
border-collapse: collapse;
}
.mw-parser-output .wikitable th {
background: #faf8f1;
color: #2a2825;
}
/* ── 首页/大段卡片式排版中的表格更柔和 ── */
.mw-parser-output table[style*="border-radius"] {
border-radius: 8px;
}