|
|
| (未显示2个用户的55个中间版本) |
| 第1行: |
第1行: |
| /* ========================================================================== | | /* Shared content behaviour only; skin appearance is owned by each skin and template structure by TemplateStyles. */ |
| 弥恩 Wiki 视觉定稿 v1:旧印构成
| |
| 仅使用系统字体;令牌只在 :root / Citizen 主题类中定义一次。
| |
| 本段覆盖旧 v2 的组件外观;保留原有结构、功能、目录和折叠逻辑。
| |
| ========================================================================== */
| |
|
| |
|
| :root {
| | .mien-price-inline-calculator, |
| --nv-paper: #EEE7D6;
| | .mien-currency-inline-calculator { |
| --nv-paper-raised: #F6F1E5;
| | margin: 1rem 0 1.25rem; |
| --nv-paper-deep: #E6DDCA;
| | padding: .8rem .9rem; |
| --nv-ink: #2A231C;
| | border: 1px solid var(--nv-hair); |
| --nv-ink-muted: #6D6253;
| | border-radius: 3px; |
| --nv-ink-emphasis: #2A231C;
| | background: var(--nv-paper-raised); |
| --nv-line: #2A231C;
| |
| --nv-hair: #CDC0A8;
| |
| --nv-accent: #C0472E;
| |
| --nv-accent-soft: #F0DCD4;
| |
| --nv-green: #2F5547;
| |
| --nv-ochre: #CF9A33;
| |
| --nv-link: #2357A6;
| |
| --nv-link-visited: #5A4A93;
| |
| --nv-link-new: #C4231B;
| |
| --nv-select: rgba(192, 71, 46, .18);
| |
| --nv-success: #2F5547;
| |
| --nv-warning: #8A641D;
| |
| --nv-danger: #8A2F2B;
| |
| --nv-display-font: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
| |
| --nv-body-font: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
| |
| --nv-ui-font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Microsoft YaHei UI", sans-serif;
| |
| --nv-reading-width: 760px;
| |
| color-scheme: light;
| |
| }
| |
| | |
| html.skin-theme-clientpref-night,
| |
| html.skin-theme-clientpref-black {
| |
| --nv-paper: #1D1915; | |
| --nv-paper-raised: #26211B; | |
| --nv-paper-deep: #211C17;
| |
| --nv-ink: #E4DAC6;
| |
| --nv-ink-muted: #A5988A;
| |
| --nv-ink-emphasis: #E4DAC6;
| |
| --nv-line: #E4DAC6;
| |
| --nv-hair: #4A4034;
| |
| --nv-accent: #DB6A47;
| |
| --nv-accent-soft: #3A2822;
| |
| --nv-green: #7AA591;
| |
| --nv-ochre: #DDAE4E;
| |
| --nv-link: #8DB0EE;
| |
| --nv-link-visited: #B4A3E6;
| |
| --nv-link-new: #F2877B;
| |
| --nv-select: rgba(219, 106, 71, .28);
| |
| --nv-success: #7AA591; | |
| --nv-warning: #DDAE4E;
| |
| --nv-danger: #F2877B;
| |
| color-scheme: dark;
| |
| }
| |
| | |
| @media (prefers-color-scheme: dark) {
| |
| html.skin-theme-clientpref-os {
| |
| --nv-paper: #1D1915;
| |
| --nv-paper-raised: #26211B;
| |
| --nv-paper-deep: #211C17;
| |
| --nv-ink: #E4DAC6;
| |
| --nv-ink-muted: #A5988A;
| |
| --nv-ink-emphasis: #E4DAC6;
| |
| --nv-line: #E4DAC6;
| |
| --nv-hair: #4A4034;
| |
| --nv-accent: #DB6A47;
| |
| --nv-accent-soft: #3A2822;
| |
| --nv-green: #7AA591;
| |
| --nv-ochre: #DDAE4E;
| |
| --nv-link: #8DB0EE;
| |
| --nv-link-visited: #B4A3E6;
| |
| --nv-link-new: #F2877B;
| |
| --nv-select: rgba(219, 106, 71, .28);
| |
| --nv-success: #7AA591;
| |
| --nv-warning: #DDAE4E;
| |
| --nv-danger: #F2877B;
| |
| color-scheme: dark;
| |
| }
| |
| }
| |
| | |
| body {
| |
| background: var(--nv-paper); | |
| color: var(--nv-ink); | | color: var(--nv-ink); |
| font-family: var(--nv-body-font);
| |
| line-height: 1.8;
| |
| }
| |
|
| |
| .mw-parser-output {
| |
| max-width: var(--nv-reading-width);
| |
| }
| |
|
| |
| .mw-parser-output p {
| |
| margin: 0 0 0.85rem;
| |
| }
| |
|
| |
| .mw-parser-output a {
| |
| color: var(--nv-accent);
| |
| }
| |
|
| |
| .mw-parser-output h2,
| |
| .mw-parser-output h3,
| |
| .mw-parser-output h4 {
| |
| color: var(--nv-ink-emphasis);
| |
| font-family: var(--nv-ui-font); | | font-family: var(--nv-ui-font); |
| line-height: 1.35; | | font-size: .95rem; |
| } | | } |
|
| |
|
| .mw-parser-output table.wikitable { | | .mien-price-calculator-title, |
| border-collapse: collapse;
| | .mien-currency-calculator-title { |
| border: 1px solid var(--nv-line);
| | font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; |
| background: var(--nv-paper-raised);
| |
| } | | } |
|
| |
|
| .mw-parser-output table.wikitable th, | | .mien-price-calculator-row, |
| .mw-parser-output table.wikitable td { | | .mien-currency-calculator-row { |
| border: 1px solid var(--nv-line);
| | display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; |
| padding: 0.4rem 0.55rem;
| |
| text-align: left;
| |
| vertical-align: top;
| |
| } | | } |
|
| |
|
| .mw-parser-output table.wikitable th { | | .mien-price-inline-calculator label, |
| background: var(--nv-paper-deep);
| | .mien-currency-inline-calculator label { |
| color: var(--nv-ink-emphasis);
| | display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; font-weight: 600; |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| | |
| @media (max-width: 720px) {
| |
| .mw-parser-output {
| |
| max-width: 100%;
| |
| }
| |
| | |
| .mw-parser-output table.wikitable {
| |
| font-size: 0.92rem;
| |
| }
| |
| } | | } |
|
| |
|
|
| |
| /* v2 功能组件样式:经济计算器、法术筛选、宽表、术语/页脚基础修正。 */
| |
| .mien-price-inline-calculator,
| |
| .mien-currency-inline-calculator {
| |
| margin: 1rem 0 1.25rem;
| |
| padding: .8rem .9rem;
| |
| border: 1px solid #c9bfae;
| |
| border-radius: 6px;
| |
| background: #fbf7ee;
| |
| color: #24211d;
| |
| font-size: .95rem;
| |
| }
| |
| .mien-price-calculator-title,
| |
| .mien-currency-calculator-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; }
| |
| .mien-price-calculator-row,
| |
| .mien-currency-calculator-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; }
| |
| .mien-price-inline-calculator label,
| |
| .mien-currency-inline-calculator label { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; font-weight: 600; }
| |
| .mien-price-inline-calculator input, | | .mien-price-inline-calculator input, |
| .mien-price-inline-calculator select, | | .mien-price-inline-calculator select, |
| .mien-currency-inline-calculator input, | | .mien-currency-inline-calculator input, |
| .mien-currency-inline-calculator select { height: 2rem; padding: .2rem .45rem; border: 1px solid #b9ae9c; border-radius: 4px; background: #fffdf7; color: inherit; font-size: .92rem; } | | .mien-currency-inline-calculator select { |
| .mien-price-inline-calculator input,
| | height: 2rem; padding: .2rem .45rem; border: 1px solid var(--nv-hair); border-radius: 3px; background: var(--nv-paper); color: var(--nv-ink); font: .92rem var(--nv-ui-font); |
| .mien-currency-inline-calculator input { width: 5.8rem; }
| |
| .mien-price-inline-calculator select,
| |
| .mien-currency-inline-calculator select { max-width: 10rem; }
| |
| .mien-price-inline-result,
| |
| .mien-currency-inline-result { margin-top: .5rem; line-height: 1.7; }
| |
| .mien-price-formula-line { margin-top: .55rem; padding-top: .5rem; border-top: 1px solid #d8cdbc; font-size: .9rem; line-height: 1.65; opacity: .9; }
| |
| .mien-price-limit-ok { font-weight: 700; color: #24633c; }
| |
| .mien-price-limit-over { font-weight: 700; color: #9b3a2a; }
| |
| | |
| .mien-spell-filter {
| |
| display: grid;
| |
| grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(120px, 1fr)) auto;
| |
| gap: .6rem;
| |
| align-items: center;
| |
| margin: 1rem 0 1.25rem;
| |
| } | | } |
| .mien-spell-filter input,
| |
| .mien-spell-filter select,
| |
| .mien-spell-filter button { width: 100%; min-height: 2.15rem; padding: .35rem .5rem; border: 1px solid #b9ae9c; border-radius: 4px; background: #fffdf7; color: #24211d; font-size: .95rem; }
| |
| .mien-spell-filter button { cursor: pointer; font-weight: 600; }
| |
| .mien-spell-filter button:hover { background: #efe7d9; }
| |
| .mien-sortable-table th[data-sort-direction]::after { content: " ▲"; opacity: .6; font-size: .8em; }
| |
| .mien-sortable-table th[data-sort-direction="desc"]::after { content: " ▼"; }
| |
| .mien-sortable-table th { cursor: pointer; user-select: none; }
| |
| .mien-sortable-table tr[hidden] { display: none; }
| |
|
| |
|
| .nv-term { border-left-color: #8b3f2f; }
| | .mien-price-inline-calculator input, |
| .nv-term__backlinks { margin-top: .45rem; font-size: .82rem; }
| | .mien-currency-inline-calculator input { |
| .nv-term__backlinks a { color: #8b3f2f; }
| | width: 5.8rem; |
| | |
| /* Citizen 页脚占位图:在正式 logo 上传前显示文字标识,不显示默认占位 SVG。 */
| |
| img.mw-logo-icon { display: none !important; }
| |
| .mw-logo-wordmark { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.35rem; letter-spacing: .08em; font-weight: 700; }
| |
| | |
| @media (max-width: 900px) {
| |
| .mien-spell-filter { grid-template-columns: 1fr 1fr; }
| |
| .mien-spell-filter input { grid-column: 1 / -1; }
| |
| }
| |
| @media (max-width: 600px) {
| |
| .mien-spell-filter { grid-template-columns: 1fr; }
| |
| .mien-price-inline-calculator label,
| |
| .mien-currency-inline-calculator label { width: 100%; }
| |
| .mien-price-inline-calculator input,
| |
| .mien-price-inline-calculator select,
| |
| .mien-currency-inline-calculator input,
| |
| .mien-currency-inline-calculator select { max-width: 100%; width: 100%; }
| |
| }
| |
| @media (prefers-color-scheme: dark) {
| |
| .mien-price-inline-calculator,
| |
| .mien-currency-inline-calculator { background: #20252a; border-color: #4a5158; color: #e8e1d5; }
| |
| .mien-price-inline-calculator input,
| |
| .mien-price-inline-calculator select,
| |
| .mien-currency-inline-calculator input,
| |
| .mien-currency-inline-calculator select,
| |
| .mien-spell-filter input,
| |
| .mien-spell-filter select,
| |
| .mien-spell-filter button { background: #2a3036; color: #e8e1d5; border-color: #5a636c; }
| |
| .mien-price-formula-line { border-color: #4a5158; }
| |
| } | | } |
|
| |
|
| | | .mien-price-inline-calculator select, |
| | | .mien-currency-inline-calculator select { |
| /* 时间轴与皇室世系:结构/关系可编辑,视觉效果只作层次提示。 */
| | max-width: 10rem; |
| .nv-timeline { width: 100%; border-collapse: collapse; }
| |
| .nv-timeline th { background: #efe7d9; color: #24211d; } | |
| .nv-timeline td:first-child { font-weight: 700; white-space: nowrap; }
| |
| .nv-timeline td:nth-child(2), .nv-timeline td:nth-child(4) { white-space: nowrap; }
| |
| .nv-lineage { width: 100%; border-collapse: collapse; font-size: .94rem; }
| |
| .nv-lineage th { position: sticky; top: 0; background: #efe7d9; color: #24211d; z-index: 1; }
| |
| .nv-lineage td { vertical-align: top; line-height: 1.55; } | |
| .nv-lineage td:first-child { text-align: center; font-weight: 700; }
| |
| .nv-lineage td:nth-child(2) { white-space: nowrap; }
| |
| .nv-lineage td:nth-child(3) { font-weight: 600; }@media (max-width: 720px) {
| |
| .nv-timeline, .nv-lineage { font-size: .88rem; }
| |
| .nv-lineage td:nth-child(2) { white-space: normal; }
| |
| } | | } |
|
| |
|
| | | .mien-price-inline-result, |
| /* batch3:作者入口与宽表局部约束 */
| | .mien-currency-inline-result { |
| .mw-parser-output .author-entry-form,
| | margin-top: .5rem; line-height: 1.7; |
| | |
| .mw-parser-output .author-entry-form input { flex: 1 1 14rem; min-width: 0; max-width: 100%; box-sizing: border-box; }
| |
| .mw-parser-output .author-entry-form button { flex: 0 0 auto; }
| |
| @media (max-width: 480px) {
| |
| .mw-parser-output .author-entry-form button { flex: 1 1 auto; }
| |
| }.mw-parser-output .mien-spell-table { min-width: 44rem; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(1),
| |
| .mw-parser-output .mien-spell-table td:nth-child(1) { min-width: 8em; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(2),
| |
| .mw-parser-output .mien-spell-table td:nth-child(2) { min-width: 4em; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(3),
| |
| .mw-parser-output .mien-spell-table td:nth-child(3) { min-width: 5em; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(4),
| |
| .mw-parser-output .mien-spell-table td:nth-child(4) { min-width: 5.5em; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(5),
| |
| .mw-parser-output .mien-spell-table td:nth-child(5) { min-width: 5.5em; }
| |
| .mw-parser-output .mien-spell-table th:nth-child(6),
| |
| .mw-parser-output .mien-spell-table td:nth-child(6) { min-width: 13em; }
| |
| .mw-parser-output .nv-lineage { min-width: 60rem; }
| |
| .mw-parser-output .nv-lineage th,
| |
| .mw-parser-output .nv-lineage td { white-space: normal; }
| |
| | |
| | |
| /* batch3:Page Forms OOUI 创建框内部布局 */
| |
| .mw-parser-output .author-entry-form form { display: block; }
| |
| .mw-parser-output .author-entry-form .oo-ui-horizontalLayout { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; max-width: 100%; }
| |
| .mw-parser-output .author-entry-form .pfPageNameWithoutNamespace { flex: 1 1 14rem; min-width: 0; max-width: 100%; }
| |
| .mw-parser-output .author-entry-form .pfPageNameWithoutNamespace input { width: 100%; box-sizing: border-box; }
| |
| .mw-parser-output .author-entry-form .pfCreateOrEditButton { flex: 0 0 auto; }
| |
| | |
| /* batch4:政权/组织短列、经济货币表、事件短索引 */
| |
| .mw-parser-output .nv-gov-index th:nth-child(1),
| |
| .mw-parser-output .nv-gov-index td:nth-child(1) { min-width: 4.2em; white-space: nowrap; }
| |
| .mw-parser-output .nv-gov-index--polity th:nth-child(2),
| |
| .mw-parser-output .nv-gov-index--polity td:nth-child(2) { min-width: 5.2em; white-space: nowrap; }
| |
| .mw-parser-output #nv-economy-currencies { min-width: 36rem; }
| |
| .mw-parser-output #nv-economy-currencies th:nth-child(1),
| |
| .mw-parser-output #nv-economy-currencies td:nth-child(1) { min-width: 10em; }
| |
| .mw-parser-output #nv-economy-currencies th:nth-child(2),
| |
| .mw-parser-output #nv-economy-currencies td:nth-child(2),
| |
| .mw-parser-output #nv-economy-currencies th:nth-child(3),
| |
| .mw-parser-output #nv-economy-currencies td:nth-child(3) { min-width: 5.2em; white-space: nowrap; }
| |
| .mw-parser-output .nv-event-letter-index th:nth-child(1),
| |
| .mw-parser-output .nv-event-letter-index td:nth-child(1) { min-width: 4em; white-space: nowrap; }
| |
| .mw-parser-output .nv-event-period-index th:nth-child(1),
| |
| .mw-parser-output .nv-event-period-index td:nth-child(1) { min-width: 6.5em; white-space: nowrap; }
| |
| /* Community1: WikiForum narrow-screen board/reply layout */
| |
| @media (max-width: 600px) {
| |
| .mw-parser-output table.mw-wikiforum-frame { display: block; max-width: 100%; overflow-x: auto; }
| |
| .mw-parser-output .mw-wikiforum-frame > tbody { display: block; min-width: 34rem; }
| |
| .mw-parser-output .mw-wikiforum-mainpage { min-width: 34rem; }
| |
| .mw-parser-output .mw-wikiforum-title { min-width: 9em; white-space: normal; }
| |
| .mw-parser-output .mw-wikiforum-descr { line-height: 1.5; }
| |
| } | | } |
|
| |
|
| /* Community1: scoped WikiForum typography/layout (Special page has no .mw-parser-output) */
| | .mien-price-formula-line { |
| .mw-wikiforum-frame { font-size: .95rem; }
| | margin-top: .55rem; padding-top: .5rem; border-top: 1px solid var(--nv-hair); font-size: .9rem; line-height: 1.65; opacity: .9; |
| .mw-wikiforum-frame p, .mw-wikiforum-frame td, .mw-wikiforum-frame th { font-size: .95rem; }
| |
| .mw-wikiforum-issue, .mw-wikiforum-issue a { font-size: 1rem; }
| |
| .mw-wikiforum-descr { line-height: 1.55; }
| |
| .mw-wikiforum-valuetitle { font-size: .9rem; }
| |
| .mw-wikiforum-frame input[type="submit"], .mw-wikiforum-frame button { min-height: 2.25rem; padding: .35rem .8rem; font-size: .95rem; }
| |
| @media (max-width: 600px) {
| |
| .mw-wikiforum-frame { display: block; width: 100%; max-width: 100%; } | |
| .mw-wikiforum-frame > tbody, .mw-wikiforum-frame > tbody > tr { display: block; width: 100%; }
| |
| .mw-wikiforum-frame > tbody > tr > td.mw-wikiforum-innerframe { display: block; width: 100%; padding: 0; }
| |
| .mw-wikiforum-innerframe > table.mw-wikiforum-title { display: block; width: 100%; border-collapse: separate; }
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody,
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr { display: block; width: 100%; }
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr.mw-wikiforum-title { background: #e8eef5; border: 1px solid #c8d2dc; }
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr.mw-wikiforum-title > th.mw-wikiforum-title { display: block; width: auto; padding: .5rem .65rem; font-size: 1.05rem; }
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr.mw-wikiforum-title > th.mw-wikiforum-value,
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr.mw-wikiforum-title > th.mw-wikiforum-lastpost { display: none; }
| |
| .mw-wikiforum-innerframe table.mw-wikiforum-title > tbody > tr.mw-wikiforum-marked { display: block; width: auto; border: 1px solid #d8cdbc; border-top: 0; padding: .55rem .65rem; background: #fffdf7; }
| |
| .mw-wikiforum-marked > td { display: block; width: auto; min-width: 0; padding: .15rem 0; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-title { width: auto; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-title .mw-wikiforum-issue { margin: 0 0 .25rem; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-title .mw-wikiforum-descr { margin: 0 0 .3rem; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-value { display: inline-block; width: auto; padding: .15rem .9rem .15rem 0; color: #6f675b; font-size: .85rem; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-value:last-child { display: block; width: auto; padding: .25rem 0; }
| |
| }
| |
| /* Community1: WikiForum mobile stat labels + full-width reply editor */
| |
| @media (max-width: 600px) {
| |
| .mw-wikiforum-marked > td.mw-wikiforum-value:nth-child(2)::before { content: "话题 "; color: #6f675b; font-weight: 600; }
| |
| .mw-wikiforum-marked > td.mw-wikiforum-value:nth-child(3)::before { content: "· 回复 "; color: #6f675b; font-weight: 600; }
| |
| .mw-wikiforum-frame form, .mw-wikiforum-frame form table { width: 100%; max-width: 100%; }
| |
| .mw-wikiforum-frame td, .mw-wikiforum-frame th { max-width: 100%; }
| |
| .mw-wikiforum-frame textarea { display: block; width: 100% !important; max-width: 100%; box-sizing: border-box; min-height: 8rem; }
| |
| .mw-wikiforum-frame input[type="text"] { width: 100% !important; max-width: 100%; box-sizing: border-box; }
| |
| form#writereply { width: 100%; max-width: 100%; }
| |
| form#writereply table.mw-wikiforum-frame { width: 100% !important; max-width: 100%; table-layout: fixed; }
| |
| form#writereply table.mw-wikiforum-frame td { width: 100%; }
| |
| form#writereply textarea { width: 100% !important; max-width: 100%; box-sizing: border-box; min-height: 10em; }
| |
| }
| |
| /* Community1: keep reply form table as a table so the textarea fills the cell */
| |
| @media (max-width: 600px) {
| |
| form#writereply table.mw-wikiforum-frame { display: table !important; width: 100% !important; table-layout: auto; }
| |
| form#writereply table.mw-wikiforum-frame > tbody { display: table-row-group !important; }
| |
| form#writereply table.mw-wikiforum-frame > tbody > tr { display: table-row !important; }
| |
| form#writereply table.mw-wikiforum-frame > tbody > tr > td { display: table-cell !important; width: auto !important; }
| |
| form#writereply textarea { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
| |
| } | | } |
|
| |
|
| body,
| | .mien-price-limit-ok { |
| .citizen-body-container, | | font-weight: 700; color: var(--nv-success); |
| .citizen-page-container,
| |
| #content,
| |
| #bodyContent,
| |
| #mw-content-text {
| |
| background: var(--nv-paper); | |
| color: var(--nv-ink);
| |
| } | | } |
|
| |
|
| body {
| | .mien-price-limit-over { |
| font-family: var(--nv-body-font); | | font-weight: 700; color: var(--nv-danger); |
| font-size: 16px;
| |
| line-height: 1.92;
| |
| } | | } |
|
| |
|
| .mw-parser-output { | | .mien-spell-filter { |
| max-width: var(--nv-reading-width); | | display: grid; |
| color: var(--nv-ink); | | grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(120px, 1fr)) auto; |
| font-family: var(--nv-body-font);
| | gap: .6rem; align-items: center; margin: 1rem 0 1.25rem; |
| font-size: 16px;
| | padding: .8rem .9rem; border: 1px solid var(--nv-hair); border-radius: 3px; |
| line-height: 1.92;
| | background: var(--nv-paper-raised); color: var(--nv-ink); font-family: var(--nv-ui-font); |
| } | | } |
|
| |
|
| .mw-parser-output p { | | .mien-spell-filter input, |
| margin: 0 0 1em; | | .mien-spell-filter select, |
| text-align: justify;
| | .mien-spell-filter button { |
| | width: 100%; min-height: 2.15rem; padding: .35rem .5rem; border: 1px solid var(--nv-hair); border-radius: 3px; background: var(--nv-paper); color: var(--nv-ink); font: .95rem var(--nv-ui-font); |
| } | | } |
|
| |
|
| .mw-parser-output b, | | .mien-spell-filter button { |
| .mw-parser-output strong {
| | cursor: pointer; font-weight: 600; |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| /* Links: ordinary blue, red for new pages; never let the theme accent replace them. */
| | .mien-spell-filter button:hover { |
| .mw-parser-output a:not(.nv-term-button):not(.btn):not(.cdx-button),
| | background: var(--nv-wash); |
| .citizen-body a:not(.nv-term-button):not(.btn):not(.cdx-button) { | |
| color: var(--nv-link); | |
| text-decoration: none;
| |
| } | | } |
|
| |
|
| .mw-parser-output a:not(.nv-term-button):not(.btn):not(.cdx-button):visited,
| | .nv-term { |
| .citizen-body a:not(.nv-term-button):not(.btn):not(.cdx-button):visited {
| | border-left-color: #8b3f2f; |
| color: var(--nv-link-visited);
| |
| } | | } |
|
| |
|
| .mw-parser-output a.new, | | @media (max-width: 900px) {.mien-spell-filter { |
| .citizen-body a.new { | | grid-template-columns: 1fr 1fr; |
| color: var(--nv-link-new) !important;
| | }.mien-spell-filter input { |
| } | | grid-column: 1 / -1; |
| | }} |
|
| |
|
| .mw-parser-output a:hover, | | @media (max-width: 600px) {.mien-spell-filter { |
| .citizen-body a:hover { | | grid-template-columns: 1fr; |
| text-decoration: underline;
| | }.mien-price-inline-calculator label, |
| text-underline-offset: 3px;
| | .mien-currency-inline-calculator label { |
| } | | width: 100%; |
| | }.mien-price-inline-calculator input, |
| | .mien-price-inline-calculator select, |
| | .mien-currency-inline-calculator input, |
| | .mien-currency-inline-calculator select { |
| | max-width: 100%; width: 100%; |
| | }} |
|
| |
|
| .mw-parser-output a:focus-visible, | | .mw-parser-output .author-entry-form, |
| .citizen-body a:focus-visible, | | .mw-parser-output .author-entry-form input { |
| .citizen-section-toggle:focus-visible { | | flex: 1 1 14rem; min-width: 0; max-width: 100%; box-sizing: border-box; |
| outline: 2px solid var(--nv-link);
| |
| outline-offset: 2px;
| |
| } | | } |
|
| |
|
| /* Page title and header */
| | .mw-parser-output .author-entry-form button { |
| .citizen-header { | | flex: 0 0 auto; |
| background: var(--nv-paper);
| |
| color: var(--nv-ink);
| |
| } | | } |
|
| |
|
| .citizen-header .mw-logo-wordmark,
| | @media (max-width: 480px) {.mw-parser-output .author-entry-form button { |
| .citizen-footer .mw-logo-wordmark { | | flex: 1 1 auto; |
| font-family: var(--nv-display-font);
| | }} |
| font-weight: 700;
| |
| letter-spacing: .06em;
| |
| } | |
|
| |
|
| .citizen-page-header { | | .mw-parser-output .mien-spell-table { |
| position: relative;
| | min-width: 44rem; |
| background: var(--nv-paper);
| |
| border-bottom: 3px solid var(--nv-line) !important;
| |
| padding-bottom: 14px;
| |
| } | | } |
|
| |
|
| .citizen-page-header::after { | | .mw-parser-output .mien-spell-table th:nth-child(1), |
| content: "";
| | .mw-parser-output .mien-spell-table td:nth-child(1) { |
| position: absolute;
| | min-width: 8em; |
| left: 0;
| |
| right: 0;
| |
| bottom: -8px;
| |
| height: 1px;
| |
| background: var(--nv-line);
| |
| } | | } |
|
| |
|
| .citizen-page-heading { | | .mw-parser-output .mien-spell-table th:nth-child(2), |
| padding: 18px 0 10px;
| | .mw-parser-output .mien-spell-table td:nth-child(2) { |
| | min-width: 4em; |
| } | | } |
|
| |
|
| #firstHeading,
| | .mw-parser-output .mien-spell-table th:nth-child(3), |
| .citizen-page-heading h1 { | | .mw-parser-output .mien-spell-table td:nth-child(3) { |
| margin: 0;
| | min-width: 5em; |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font) !important;
| |
| font-size: 56px;
| |
| font-weight: 700;
| |
| line-height: 1.05;
| |
| letter-spacing: .02em;
| |
| } | | } |
|
| |
|
| #siteSub,
| | .mw-parser-output .mien-spell-table th:nth-child(4), |
| .citizen-sticky-header-page-tagline { | | .mw-parser-output .mien-spell-table td:nth-child(4) { |
| display: none !important;
| | min-width: 5.5em; |
| } | | } |
|
| |
|
| .citizen-page-actions, | | .mw-parser-output .mien-spell-table th:nth-child(5), |
| .citizen-page-actions .cdx-button, | | .mw-parser-output .mien-spell-table td:nth-child(5) { |
| .citizen-page-actions a { | | min-width: 5.5em; |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px;
| |
| } | | } |
|
| |
|
| .citizen-page-actions .cdx-button { | | .mw-parser-output .mien-spell-table th:nth-child(6), |
| background: transparent;
| | .mw-parser-output .mien-spell-table td:nth-child(6) { |
| border-color: var(--nv-hair);
| | min-width: 13em; |
| } | | } |
|
| |
|
| /* Sticky page title */
| | .mw-parser-output .author-entry-form form { |
| .citizen-sticky-header { | | display: block; |
| background: var(--nv-paper) !important;
| |
| border-bottom: 2px solid var(--nv-line);
| |
| } | | } |
|
| |
|
| .citizen-sticky-header-page-title { | | .mw-parser-output .author-entry-form .oo-ui-horizontalLayout { |
| color: var(--nv-ink);
| | display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; max-width: 100%; |
| font-family: var(--nv-display-font);
| |
| font-size: 17px;
| |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| /* Headings */
| | .mw-parser-output .author-entry-form .pfPageNameWithoutNamespace { |
| .mw-parser-output h1, | | flex: 1 1 14rem; min-width: 0; max-width: 100%; |
| .mw-parser-output h2, | |
| .citizen-section-heading { | |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font) !important;
| |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| .mw-parser-output h2, | | .mw-parser-output .author-entry-form .pfPageNameWithoutNamespace input { |
| .citizen-section-heading { | | width: 100%; box-sizing: border-box; |
| margin: 2em 0 .8em;
| |
| padding: 0 0 8px;
| |
| border-bottom: 2px solid var(--nv-line);
| |
| font-size: 25px;
| |
| line-height: 1.3;
| |
| } | | } |
|
| |
|
| .mw-parser-output h3 { | | .mw-parser-output .author-entry-form .pfCreateOrEditButton { |
| margin: 1.5em 0 .5em;
| | flex: 0 0 auto; |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 15.5px;
| |
| font-weight: 700;
| |
| line-height: 1.45;
| |
| } | | } |
|
| |
|
| .mw-parser-output h4, | | .mw-parser-output .nv-gov-index th:nth-child(1), |
| .mw-parser-output h5, | | .mw-parser-output .nv-gov-index td:nth-child(1) { |
| .mw-parser-output h6 { | | min-width: 4.2em; white-space: nowrap; |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| /* Citizen section chevron: keep native collapse, use ink instead of blue. */
| | .mw-parser-output .nv-gov-index--polity th:nth-child(2), |
| .citizen-section-toggle, | | .mw-parser-output .nv-gov-index--polity td:nth-child(2) { |
| .citizen-section-heading::before { | | min-width: 5.2em; white-space: nowrap; |
| color: var(--nv-ink) !important;
| |
| } | | } |
|
| |
|
| /* Infobox */
| | .mw-parser-output #nv-economy-currencies { |
| body .mw-parser-output .nv-infobox {
| | min-width: 36rem; |
| float: right;
| |
| box-sizing: border-box;
| |
| width: 310px;
| |
| max-width: 100%;
| |
| margin: 4px 0 22px 30px;
| |
| border: 2px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 13px;
| |
| line-height: 1.65;
| |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__head {
| | .mw-parser-output #nv-economy-currencies th:nth-child(1), |
| padding: 14px 16px 10px;
| | .mw-parser-output #nv-economy-currencies td:nth-child(1) { |
| border-bottom: 5px double var(--nv-line) !important;
| | min-width: 10em; |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__name {
| | .mw-parser-output #nv-economy-currencies th:nth-child(2), |
| color: var(--nv-ink) !important;
| | .mw-parser-output #nv-economy-currencies td:nth-child(2), |
| font-family: var(--nv-display-font) !important;
| | .mw-parser-output #nv-economy-currencies th:nth-child(3), |
| font-size: 23px;
| | .mw-parser-output #nv-economy-currencies td:nth-child(3) { |
| font-weight: 700;
| | min-width: 5.2em; white-space: nowrap; |
| line-height: 1.25;
| |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__subtitle,
| | .mw-parser-output .nv-event-letter-index th:nth-child(1), |
| body .mw-parser-output .nv-infobox__source,
| | .mw-parser-output .nv-event-letter-index td:nth-child(1) { |
| body .mw-parser-output .nv-infobox__media-caption,
| | min-width: 4em; white-space: nowrap; |
| body .mw-parser-output .nv-infobox__media-item figcaption,
| |
| body .mw-parser-output .nv-infobox__media-missing {
| |
| color: var(--nv-ink-muted) !important;
| |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__media {
| | .mw-parser-output .nv-event-period-index th:nth-child(1), |
| gap: .5rem .65rem;
| | .mw-parser-output .nv-event-period-index td:nth-child(1) { |
| padding: 12px 16px 6px;
| | min-width: 6.5em; white-space: nowrap; |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__media-item img { | | body .mw-parser-output table.nv-lineage { |
| border: 1px solid var(--nv-line);
| | min-width: 60rem; |
| border-radius: 0;
| |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox__media-caption, | | body .mw-parser-output table.nv-lineage th { |
| body .mw-parser-output .nv-infobox__media-item figcaption {
| | position: sticky; |
| font-size: 11.5px;
| | top: 0; |
| }
| | z-index: 1; |
| | |
| body .mw-parser-output .nv-infobox__rows {
| |
| grid-template-columns: 82px minmax(0, 1fr);
| |
| padding: 4px 16px 12px; | |
| }
| |
| | |
| body .mw-parser-output .nv-infobox__row dt,
| |
| body .mw-parser-output .nv-infobox__row dd {
| |
| padding: 6px 0;
| |
| border-top: 1px solid var(--nv-hair) !important;
| |
| background: transparent !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox__row:first-child dt,
| |
| body .mw-parser-output .nv-infobox__row:first-child dd {
| |
| border-top: 0 !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox__row dt {
| |
| color: var(--nv-ink-muted) !important;
| |
| font-size: 12px;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox__row dd {
| |
| color: var(--nv-ink) !important;
| |
| font-size: 13px; | |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-infobox a { | | body .mw-parser-output table.nv-lineage td:first-child { |
| color: var(--nv-link) !important;
| | font-weight: 700; |
| } | | } |
|
| |
|
| /* Status / notice */
| | body .mw-parser-output table.nv-lineage td:nth-child(3) { |
| body .mw-parser-output .novark-notice, | | font-weight: 600; |
| body .mw-parser-output .novark-notice--compact {
| |
| display: flex;
| |
| align-items: baseline;
| |
| gap: 12px;
| |
| margin: 0 0 8px;
| |
| padding: 8px 0 !important;
| |
| border: 0 !important;
| |
| border-bottom: 1px solid var(--nv-hair) !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px;
| |
| line-height: 1.6;
| |
| } | | } |
|
| |
|
| body .mw-parser-output .novark-notice strong { | | body .mw-parser-output table.nv-timeline td:first-child { |
| display: inline-flex;
| | font-weight: 700; |
| align-items: center;
| |
| flex: 0 0 auto;
| |
| gap: 7px;
| |
| color: var(--nv-accent) !important;
| |
| font-family: var(--nv-ui-font);
| |
| white-space: nowrap; | | white-space: nowrap; |
| } | | } |
|
| |
|
| body .mw-parser-output .novark-notice strong::before { | | body .mw-parser-output table.nv-timeline td:nth-child(2), |
| content: "";
| | body .mw-parser-output table.nv-timeline td:nth-child(4) { |
| display: inline-block;
| | white-space: nowrap; |
| width: 9px;
| |
| height: 9px;
| |
| background: var(--nv-accent);
| |
| } | | } |
|
| |
|
| body .mw-parser-output .novark-notice__detail { | | body .mw-parser-output .nv-table-scroll { |
| margin-top: 4px;
| | width: 100%; |
| }
| |
| | |
| body .mw-parser-output .novark-notice__detail-inline {
| |
| margin-left: 4px;
| |
| }
| |
| | |
| body .mw-parser-output .nv-notice {
| |
| margin: 1rem 0;
| |
| padding: .65rem .9rem;
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-line) !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| line-height: 1.75;
| |
| }
| |
| | |
| body .mw-parser-output .nv-notice--warning {
| |
| border-left-color: var(--nv-ink) !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-notice--danger {
| |
| border-left-color: var(--nv-accent) !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-notice__title {
| |
| margin-bottom: .25rem;
| |
| color: var(--nv-ink) !important;
| |
| font-weight: 700;
| |
| }
| |
| | |
| /* Tables: three-line table, no zebra or backgrounds. */
| |
| body .mw-parser-output table.wikitable,
| |
| body .mw-parser-output table.nv-lineage,
| |
| body .mw-parser-output table.nv-timeline {
| |
| width: 100%;
| |
| border-collapse: collapse;
| |
| margin: .4em 0 1.4em;
| |
| border: 0 !important;
| |
| border-top: 2px solid var(--nv-line) !important;
| |
| border-bottom: 2px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| line-height: 1.65;
| |
| font-variant-numeric: tabular-nums;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable th,
| |
| body .mw-parser-output table.wikitable td,
| |
| body .mw-parser-output table.nv-lineage th,
| |
| body .mw-parser-output table.nv-lineage td,
| |
| body .mw-parser-output table.nv-timeline th,
| |
| body .mw-parser-output table.nv-timeline td {
| |
| padding: 8px 12px;
| |
| border: 0 !important;
| |
| border-top: 1px solid var(--nv-hair) !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| text-align: left;
| |
| vertical-align: top;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable th,
| |
| body .mw-parser-output table.nv-lineage th,
| |
| body .mw-parser-output table.nv-timeline th {
| |
| border-bottom: 1px solid var(--nv-line) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-weight: 700;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable tr:first-child td,
| |
| body .mw-parser-output table.nv-lineage tr:first-child td,
| |
| body .mw-parser-output table.nv-timeline tr:first-child td {
| |
| border-top: 0 !important;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable td[rowspan] {
| |
| border-right: 1px solid var(--nv-hair) !important;
| |
| font-family: var(--nv-display-font);
| |
| font-size: 15px;
| |
| font-weight: 700;
| |
| }
| |
| | |
| | |
| body .mw-parser-output figure img,
| |
| body .mw-parser-output .thumbinner img {
| |
| max-width: 100%; | | max-width: 100%; |
| height: auto;
| | margin: 1.1rem 0 1.6rem; |
| }
| | padding: 0; |
| | |
| /* Category tags */
| |
| body .mw-parser-output .catlinks,
| |
| body #catlinks {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: 6px;
| |
| align-items: baseline;
| |
| margin-top: 14px; | |
| padding-top: 12px;
| |
| border-top: 1px solid var(--nv-line);
| |
| background: transparent;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| }
| |
| | |
| body .mw-parser-output .catlinks a,
| |
| body #catlinks a {
| |
| padding: 2px 10px;
| |
| border: 1px solid var(--nv-line);
| |
| border-radius: 0;
| |
| color: var(--nv-ink) !important;
| |
| text-decoration: none;
| |
| }
| |
| | |
| body .mw-parser-output .catlinks a:hover,
| |
| body #catlinks a:hover {
| |
| color: var(--nv-accent) !important;
| |
| border-color: var(--nv-accent);
| |
| text-decoration: none;
| |
| }
| |
| | |
| /* Discussion entry */
| |
| body .mw-parser-output .novark-forum-links {
| |
| display: flex;
| |
| gap: 10px;
| |
| align-items: baseline;
| |
| margin-top: 30px;
| |
| padding-top: 12px;
| |
| border-top: 1px solid var(--nv-line);
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px;
| |
| }
| |
| | |
| body .mw-parser-output .novark-forum-links strong {
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| /* Numeric meters: ink fill, hair track, no rounded pills. */
| |
| body .mw-parser-output .nv-meter {
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| }
| |
| | |
| body .mw-parser-output .nv-meter__track {
| |
| border: 1px solid var(--nv-hair) !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-meter__fill {
| |
| background: var(--nv-ink) !important;
| |
| border-radius: 0 !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-meter__label {
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| body .mw-parser-output .nv-meter--error {
| |
| color: var(--nv-danger) !important;
| |
| }
| |
| | |
| /* Calculator and old colored functional blocks: move to tokens, no dark slab. */
| |
| body .mw-parser-output .mien-price-inline-calculator,
| |
| body .mw-parser-output .mien-currency-inline-calculator,
| |
| body .mw-parser-output .mien-spell-filter {
| |
| padding: .8rem .9rem;
| |
| border: 1px solid var(--nv-hair) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| body .mw-parser-output .mien-price-inline-calculator input,
| |
| body .mw-parser-output .mien-price-inline-calculator select,
| |
| body .mw-parser-output .mien-currency-inline-calculator input,
| |
| body .mw-parser-output .mien-currency-inline-calculator select,
| |
| body .mw-parser-output .mien-spell-filter input,
| |
| body .mw-parser-output .mien-spell-filter select,
| |
| body .mw-parser-output .mien-spell-filter button {
| |
| border: 1px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-paper) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| body .mw-parser-output .mien-price-formula-line {
| |
| border-top-color: var(--nv-hair) !important;
| |
| }
| |
| | |
| body .mw-parser-output .mien-price-limit-ok {
| |
| color: var(--nv-success) !important;
| |
| }
| |
| | |
| body .mw-parser-output .mien-price-limit-over {
| |
| color: var(--nv-danger) !important;
| |
| }
| |
| | |
| /* Code and examples */
| |
| body .mw-parser-output pre,
| |
| body .mw-parser-output code {
| |
| border: 1px solid var(--nv-hair);
| |
| border-radius: 0;
| |
| background: var(--nv-paper-raised);
| |
| color: var(--nv-ink);
| |
| font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Microsoft YaHei", monospace;
| |
| }
| |
| | |
| body .mw-parser-output pre {
| |
| padding: .75rem .9rem; | |
| overflow-x: auto;
| |
| line-height: 1.6;
| |
| }
| |
| | |
| /* Tabs / rules */
| |
| body .mw-parser-output .tabber__tabs {
| |
| border-bottom: 2px solid var(--nv-line);
| |
| }
| |
| | |
| body .mw-parser-output .tabber__tab {
| |
| border: 0;
| |
| border-bottom: 2px solid transparent;
| |
| border-radius: 0;
| |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| body .mw-parser-output .tabber__tab[aria-selected="true"] {
| |
| border-bottom-color: var(--nv-accent);
| |
| color: var(--nv-ink) !important;
| |
| background: transparent !important;
| |
| }
| |
| | |
| body .mw-parser-output .tabber__panel {
| |
| border: 0; | | border: 0; |
| background: transparent;
| |
| }
| |
|
| |
| /* Term glossary and old term card */
| |
| body .mw-parser-output .nv-term {
| |
| border: 0;
| |
| border-left: 3px solid var(--nv-accent) !important;
| |
| border-radius: 0;
| |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term__authority,
| |
| body .mw-parser-output .nv-term__alias,
| |
| body .mw-parser-output .nv-term__meta,
| |
| body .mw-parser-output .nv-term__detail {
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term__detail a,
| |
| body .mw-parser-output .nv-term__backlinks a {
| |
| color: var(--nv-link) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-definition {
| |
| border-left: 3px solid var(--nv-accent) !important;
| |
| border-radius: 0; | | border-radius: 0; |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-card {
| |
| border: 1px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-card__name,
| |
| body .mw-parser-output .nv-term-card__heading a {
| |
| color: var(--nv-link) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-pill {
| |
| border: 1px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
|
| |
| /* Forms, OOUI and Page Forms */
| |
| body .oo-ui-inputWidget-input,
| |
| body .cdx-text-input__input,
| |
| body .pfFormInput,
| |
| body .pfFormInputWrapper input,
| |
| body .pfFormInputWrapper select,
| |
| body select,
| |
| body input[type="text"],
| |
| body input[type="search"],
| |
| body input[type="url"],
| |
| body input[type="number"],
| |
| body textarea {
| |
| border: 1px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| body .oo-ui-buttonElement-button,
| |
| body .cdx-button,
| |
| body button {
| |
| border-radius: 0 !important;
| |
| box-shadow: none !important;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
|
| |
| body .oo-ui-buttonElement-button,
| |
| body .cdx-button {
| |
| border: 1px solid var(--nv-line);
| |
| background: transparent; | | background: transparent; |
| color: var(--nv-ink); | | box-shadow: none; |
| | overflow-x: auto; |
| | -webkit-overflow-scrolling: touch; |
| } | | } |
|
| |
|
| body .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, | | body .mw-parser-output .nv-table-scroll table.wikitable { |
| body .cdx-button.cdx-button--action-progressive {
| | max-width: none; |
| border-color: var(--nv-accent);
| | min-width: max-content; |
| color: var(--nv-accent); | |
| } | | } |
|
| |
|
| /* Citizen page aside / TOC */ | | /* Numeric progression matrices keep their explanatory last column readable on narrow screens. */ |
| #citizen-toc,
| | body .mw-parser-output .nv-table-scroll table.nv-table--progression { |
| .citizen-page-aside { | | width: 100%; |
| background: var(--nv-paper);
| | min-width: 36em; |
| color: var(--nv-ink);
| | table-layout: fixed; |
| }
| |
| | |
| .citizen-toc-contents {
| |
| border-left: 1px solid var(--nv-hair) !important; | |
| }
| |
| | |
| .citizen-toc-indicator {
| |
| display: none !important; | |
| } | | } |
| | | body .mw-parser-output .nv-table--progression th:last-child, |
| .citizen-toc-link { | | body .mw-parser-output .nv-table--progression td:last-child { |
| padding: 3px 0 3px 13px !important;
| | width: 36%; |
| border-left: 2px solid transparent;
| | white-space: normal; |
| border-radius: 0 !important;
| | overflow-wrap: anywhere; |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px; | |
| line-height: 1.55; | |
| min-height: 0 !important; | |
| } | | } |
|
| |
|
| .citizen-toc-link:hover { | | body .mw-parser-output .nv-table-scroll table.wikitable tr:nth-child(even) td:not([rowspan]) { |
| color: var(--nv-ink) !important;
| | background: color-mix(in srgb, var(--nv-table-alt) 58%, transparent); |
| text-decoration: none;
| |
| } | | } |
|
| |
|
| .citizen-toc-list-item--active > .citizen-toc-link { | | body .mw-parser-output .nv-table-scroll.nv-table-scroll--wrap { |
| border-left-color: var(--nv-accent);
| | overflow-x: hidden; |
| color: var(--nv-ink) !important;
| |
| font-weight: 700;
| |
| } | | } |
|
| |
|
| .citizen-toc-numb {
| | body .mw-parser-output .nv-table-scroll table.nv-table--wrap { |
| color: var(--nv-ink-muted) !important;
| | width: 100%; |
| }
| | min-width: 0; |
| | | max-width: 100%; |
| /* Footer */
| | table-layout: auto; |
| .citizen-footer {
| |
| border-top: 3px solid var(--nv-line) !important;
| |
| background: var(--nv-paper) !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| }
| |
| | |
| .citizen-footer a {
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
| | |
| .citizen-footer a:hover {
| |
| color: var(--nv-accent) !important;
| |
| }
| |
| | |
| .citizen-footer__sitetitle .mw-logo-wordmark {
| |
| color: var(--nv-ink) !important;
| |
| font-size: 20px;
| |
| }
| |
| | |
| .citizen-footer__desc,
| |
| .citizen-footer__bottom {
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
| | |
| /* Selection and small reading mark */
| |
| ::selection {
| |
| background: var(--nv-select);
| |
| }
| |
| | |
| body.ns-0.action-view:not(.page-术语库):not(.page-作者入口) .mw-parser-output:not(:has(.author-entry-form)):not(:has(#nv-term-editor))::after { | |
| content: "";
| |
| display: block;
| |
| width: 9px;
| |
| height: 9px;
| |
| margin: 10px 0 0 auto;
| |
| background: var(--nv-accent);
| |
| }
| |
| | |
| /* Mobile */
| |
| @media (max-width: 720px) {
| |
| .mw-parser-output {
| |
| max-width: 100%;
| |
| font-size: 15.5px;
| |
| }
| |
| | |
| .mw-parser-output p { | |
| text-align: left;
| |
| }
| |
| | |
| #firstHeading,
| |
| .citizen-page-heading h1 {
| |
| font-size: 40px;
| |
| }
| |
| | |
| .citizen-page-heading {
| |
| padding: 12px 0 8px;
| |
| } | |
| | |
| .citizen-page-header {
| |
| padding-bottom: 10px;
| |
| }
| |
| | |
| .citizen-page-header::after {
| |
| bottom: -7px;
| |
| }
| |
| | |
| .mw-parser-output h2,
| |
| .citizen-section-heading {
| |
| font-size: 21px;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox {
| |
| float: none;
| |
| width: 100%;
| |
| margin: 0 0 24px;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox--samename .nv-infobox__head {
| |
| display: none;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox--samename {
| |
| border-top-width: 5px !important;
| |
| border-top-style: double !important;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable,
| |
| body .mw-parser-output table.nv-lineage,
| |
| body .mw-parser-output table.nv-timeline {
| |
| font-size: 12px;
| |
| }
| |
| | |
| body .mw-parser-output table.wikitable th,
| |
| body .mw-parser-output table.wikitable td,
| |
| body .mw-parser-output table.nv-lineage th,
| |
| body .mw-parser-output table.nv-lineage td,
| |
| body .mw-parser-output table.nv-timeline th, | |
| body .mw-parser-output table.nv-timeline td {
| |
| padding: 6px 7px;
| |
| }
| |
| | |
| body .mw-parser-output .novark-notice {
| |
| flex-direction: column;
| |
| gap: 3px;
| |
| }
| |
| | |
| .citizen-page-actions {
| |
| display: none !important;
| |
| }
| |
| }
| |
| | |
| /* Print: archive copy, no shell chrome or floating furniture. */
| |
| @media print {
| |
| html,
| |
| body {
| |
| background: #fff !important;
| |
| color: #000 !important;
| |
| }
| |
| | |
| .citizen-header,
| |
| .citizen-page-aside,
| |
| .citizen-page-actions,
| |
| .citizen-sticky-header-container,
| |
| .mw-editsection,
| |
| .novark-forum-links,
| |
| .catlinks,
| |
| .citizen-footer__bottom,
| |
| #footer-icons,
| |
| .citizen-sitenotice-container,
| |
| .mw-indicators {
| |
| display: none !important;
| |
| }
| |
| | |
| .citizen-page-header {
| |
| border-bottom: 2px solid #000 !important;
| |
| padding-bottom: 8px;
| |
| }
| |
| | |
| .citizen-page-header::after {
| |
| display: none;
| |
| }
| |
| | |
| #firstHeading,
| |
| .mw-parser-output,
| |
| .mw-parser-output p,
| |
| .mw-parser-output h1,
| |
| .mw-parser-output h2,
| |
| .mw-parser-output h3,
| |
| body .mw-parser-output .nv-infobox,
| |
| body .mw-parser-output .nv-infobox__name,
| |
| body .mw-parser-output .nv-infobox__row dt,
| |
| body .mw-parser-output .nv-infobox__row dd,
| |
| body .mw-parser-output table.wikitable,
| |
| body .mw-parser-output table.wikitable th,
| |
| body .mw-parser-output table.wikitable td {
| |
| color: #000 !important;
| |
| }
| |
| | |
| .mw-parser-output {
| |
| max-width: none;
| |
| font-size: 11pt;
| |
| line-height: 1.55;
| |
| }
| |
| | |
| body .mw-parser-output .nv-infobox {
| |
| float: right;
| |
| width: 62mm;
| |
| border: 1pt solid #000 !important;
| |
| background: #fff !important;
| |
| }
| |
| } | | } |
|
| |
|
| | | body .mw-parser-output .nv-table--wrap th, |
| /* Citizen's native section chevron, turned into the solid ink wedge. */
| | body .mw-parser-output .nv-table--wrap td { |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle .citizen-ui-icon { | | white-space: normal; |
| display: none !important; | | overflow-wrap: anywhere; |
| | word-break: normal; |
| } | | } |
|
| |
|
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle::before { | | body .mw-parser-output .nv-table--wrap th:last-child, |
| display: block !important;
| | body .mw-parser-output .nv-table--wrap td:last-child { |
| content: "" !important;
| | white-space: normal; |
| width: 0 !important;
| | width: auto; |
| height: 0 !important;
| |
| border-left: 7px solid transparent;
| |
| border-right: 7px solid transparent;
| |
| border-top: 11px solid var(--nv-line);
| |
| background: transparent !important;
| |
| -webkit-mask-image: none !important;
| |
| mask-image: none !important;
| |
| transition: transform .18s ease; | |
| } | | } |
|
| |
|
| .client-js .citizen-sections-enabled section.citizen-section--collapsed > .citizen-section-heading > .citizen-section-toggle::before { | | @media (min-width: 641px) {body .mw-parser-output .nv-table--wrap th:nth-child(-n/**/+3), |
| transform: rotate(-90deg) !important;
| | body .mw-parser-output .nv-table--wrap td:nth-child(-n/**/+3) { |
| } | | white-space: nowrap; |
| | | overflow-wrap: normal; |
| /* Keep long tables inside their scroll container, including mobile. */
| | }} |
| | |
|
| |
|
| | @media (max-width: 640px) {body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) { |
| | table-layout: fixed; |
| | }body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) th:nth-child(1), |
| | body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) td:nth-child(1) { |
| | width: 22%; |
| | }body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) th:nth-child(2), |
| | body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) td:nth-child(2) { |
| | width: 18%; |
| | }body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) th:nth-child(3), |
| | body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) td:nth-child(3) { |
| | width: 20%; |
| | }body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) th:last-child, |
| | body .mw-parser-output .nv-table--wrap:has(> tbody > tr > th:nth-child(4):last-child) td:last-child { |
| | width: 40%; |
| | }} |
|
| |
|
| /* Non-reading moments: empty page / no search result. */
| |
| .nv-void { | | .nv-void { |
| display: grid;
| | display: grid; |
| grid-template-columns: 190px minmax(0, 1fr); | | grid-template-columns: 190px minmax(0, 1fr); |
| gap: 2rem; | | gap: 2rem; |
| 第1,237行: |
第329行: |
|
| |
|
| .nv-void__mark { | | .nv-void__mark { |
| position: relative;
| | position: relative; |
| width: 180px; | | width: 180px; |
| height: 150px; | | height: 150px; |
| 第1,245行: |
第337行: |
|
| |
|
| .nv-void__mark::before { | | .nv-void__mark::before { |
| content: "";
| | content: ""; |
| position: absolute; | | position: absolute; |
| left: 30px; | | left: 30px; |
| 第1,256行: |
第348行: |
|
| |
|
| .nv-void__mark::after { | | .nv-void__mark::after { |
| content: "";
| | content: ""; |
| position: absolute; | | position: absolute; |
| left: 42px; | | left: 42px; |
| 第1,266行: |
第358行: |
|
| |
|
| .nv-void__mark span { | | .nv-void__mark span { |
| position: absolute;
| | position: absolute; |
| right: 24px; | | right: 24px; |
| top: 72px; | | top: 72px; |
| 第1,275行: |
第367行: |
|
| |
|
| .nv-void__title { | | .nv-void__title { |
| margin: 0 0 .65rem;
| | margin: 0 0 .65rem; |
| color: var(--nv-ink); | | color: var(--nv-ink); |
| font-family: var(--nv-display-font); | | font-family: var(--nv-display-font); |
| 第1,284行: |
第376行: |
|
| |
|
| .nv-void__lead { | | .nv-void__lead { |
| margin: 0 0 1rem;
| | margin: 0 0 1rem; |
| color: var(--nv-ink-muted); | | color: var(--nv-ink-muted); |
| font-size: 14px; | | font-size: 14px; |
| 第1,291行: |
第383行: |
|
| |
|
| .nv-void__actions { | | .nv-void__actions { |
| display: flex;
| | display: flex; |
| flex-wrap: wrap; | | flex-wrap: wrap; |
| gap: .6rem; | | gap: .6rem; |
| 第1,297行: |
第389行: |
|
| |
|
| .nv-void__actions a { | | .nv-void__actions a { |
| display: inline-block;
| | display: inline-block; |
| padding: .45rem .8rem; | | padding: .45rem .8rem; |
| border: 2px solid var(--nv-accent); | | border: 2px solid var(--nv-accent); |
| 第1,308行: |
第400行: |
|
| |
|
| .nv-void__actions a:hover { | | .nv-void__actions a:hover { |
| background: var(--nv-accent);
| | background: var(--nv-accent); |
| color: var(--nv-paper) !important; | | color: var(--nv-paper) !important; |
| text-decoration: none; | | text-decoration: none; |
| } | | } |
|
| |
|
| @media (max-width: 640px) { | | @media (max-width: 640px) {.nv-void { |
| .nv-void {
| | grid-template-columns: 1fr; |
| grid-template-columns: 1fr;
| |
| gap: 1.25rem; | | gap: 1.25rem; |
| }
| | }.nv-void__mark { |
| | | width: 160px; |
| .nv-void__mark {
| |
| width: 160px;
| |
| height: 130px; | | height: 130px; |
| }
| | }.nv-void__title { |
| | | font-size: 24px; |
| .nv-void__title {
| | }} |
| font-size: 24px;
| |
| }
| |
| }
| |
| | |
| | |
| /* Sticky title bar: spec 46px, native Citizen layout retained. */
| |
| .citizen-sticky-header-container,
| |
| .citizen-sticky-header {
| |
| height: 46px !important;
| |
| min-height: 46px !important;
| |
| } | |
| | |
| .citizen-sticky-header-inner {
| |
| height: 46px !important;
| |
| }
| |
| | |
| @media print {
| |
| body .mw-parser-output::after {
| |
| display: none !important;
| |
| content: none !important;
| |
| }
| |
| } | |
|
| |
|
|
| |
| /* Print polish: no shell branding, compact title, archive-like body. */
| |
| @media print {
| |
| .citizen-header__logo,
| |
| .citizen-search,
| |
| .citizen-drawer,
| |
| .citizen-jump-link,
| |
| .citizen-header,
| |
| .citizen-sticky-header-container {
| |
| display: none !important;
| |
| }
| |
|
| |
| #firstHeading,
| |
| .citizen-page-heading h1 {
| |
| font-size: 28pt !important;
| |
| line-height: 1.05;
| |
| }
| |
|
| |
| body,
| |
| .mw-parser-output {
| |
| background: #fff !important;
| |
| }
| |
| }
| |
|
| |
| /* Long-form section toggle is native; keep keyboard target large enough. */
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle {
| |
| min-width: 2.75rem;
| |
| min-height: 2.75rem;
| |
| }
| |
|
| |
|
| |
| /* Empty-page actions: keep links in rows, no plugin-colored wrapper. */
| |
| .nv-void__actions, | | .nv-void__actions, |
| .nv-void__actions p, | | .nv-void__actions p, |
| .nv-void__actions div { | | .nv-void__actions div { |
| background: transparent !important;
| | background: transparent !important; |
| border: 0 !important; | | border: 0 !important; |
| box-shadow: none !important; | | box-shadow: none !important; |
| 第1,389行: |
第424行: |
|
| |
|
| .nv-void__actions p { | | .nv-void__actions p { |
| display: inline !important;
| | display: inline !important; |
| margin: 0 !important; | | margin: 0 !important; |
| } | | } |
|
| |
|
| .nv-void__actions br { | | .nv-void__actions br { |
| display: none !important;
| | display: none !important; |
| }
| |
| | |
| | |
| /* Preserve native page actions on small screens. */
| |
| @media (max-width: 720px) {
| |
| .citizen-page-actions {
| |
| display: flex !important;
| |
| flex-wrap: wrap;
| |
| }
| |
| }
| |
| | |
| | |
| /* Print containers: paper becomes white, site chrome/footer is omitted. */
| |
| @media print {
| |
| .citizen-body-container,
| |
| .citizen-page-container,
| |
| #content,
| |
| #bodyContent,
| |
| #mw-content-text,
| |
| .citizen-page-header,
| |
| .citizen-body {
| |
| background: #fff !important;
| |
| }
| |
| | |
| .citizen-footer,
| |
| .citizen-page-footer {
| |
| display: none !important;
| |
| }
| |
| }
| |
| | |
| | |
| /* Reading end mark: before discussion entry when present. */
| |
| body.ns-0.action-view:not(.page-术语库):not(.page-作者入口) .mw-parser-output:has(.novark-forum-links)::after {
| |
| content: none !important;
| |
| display: none !important;
| |
| }
| |
| | |
| body.ns-0.action-view:not(.page-术语库):not(.page-作者入口) .mw-parser-output .novark-forum-links {
| |
| position: relative;
| |
| } | | } |
|
| |
|
| body.ns-0.action-view:not(.page-术语库):not(.page-作者入口) .mw-parser-output .novark-forum-links::before {
| | /* Map sizes belong to the article column, never to an old skin's viewport offsets. |
| content: "";
| | * Contain native image floats inside the map; keep native alignment outside it. */ |
| position: absolute;
| |
| right: 0;
| |
| top: -14px;
| |
| width: 9px;
| |
| height: 9px;
| |
| background: var(--nv-accent);
| |
| }
| |
| | |
| /* ===== v2 增量(与 v1 合并后的单一有效层) ===== */
| |
| /* ========================================================================== | |
| v2 静态层 · 生产修正版(DS)
| |
| ---------------------------------------------------------------------------
| |
| 本段取代 v1 中重复的宽表/地图追加规则;v1 其余纸墨组件保留。
| |
| 规则顺序固定为:布局 → 图版/表格 → 首页 → 组件收口。
| |
| 宽内容宽度按真实 Citizen 三栏计算,不假设 aside 会自动让位:
| |
| 1440/1280 桌面内容列宽实测为 1045/885;1100–1199 内容列宽 = 100vw - 63px。
| |
| 目录栏 240px,宽块左右留 20px 呼吸,不进入 aside。
| |
| ========================================================================== */
| |
| | |
| /* —— v2-1 宽内容:只有真实内容列有空间时才扩展 —— */
| |
| @media (min-width: 1200px) {
| |
| body .mw-parser-output .nv-table-scroll,
| |
| body .mw-parser-output > .nv-timeline {
| |
| width: min(1120px, calc(100vw - 395px));
| |
| max-width: none;
| |
| }
| |
| }
| |
| | |
| @media (min-width: 1100px) and (max-width: 1199px) {
| |
| body .mw-parser-output .nv-table-scroll,
| |
| body .mw-parser-output > .nv-timeline {
| |
| width: min(1120px, calc(100vw - 63px));
| |
| max-width: none;
| |
| }
| |
| }
| |
| | |
| .citizen-page-aside { | |
| max-width: 240px;
| |
| }
| |
| | |
| /* —— v2-2 标准图版 + 宽度档 —— */
| |
| body .mw-parser-output .nv-map { | | body .mw-parser-output .nv-map { |
| display: block; | | display: flow-root; |
| width: 100%; | | width: 100%; |
| max-width: 620px; | | max-width: 620px; |
| 第1,489行: |
第444行: |
| body .mw-parser-output .nv-map .thumb, | | body .mw-parser-output .nv-map .thumb, |
| body .mw-parser-output .nv-map .thumbinner { | | body .mw-parser-output .nv-map .thumbinner { |
| display: block !important; | | box-sizing: border-box; |
| width: 100% !important; | | display: block; |
| max-width: 100% !important; | | width: 100%; |
| margin-left: 0 !important; | | max-width: 100%; |
| margin-right: 0 !important; | | margin-left: 0; |
| | margin-right: 0; |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-map figure a.mw-file-description { | | body .mw-parser-output .nv-map figure a.mw-file-description { |
| display: block !important; | | display: block; |
| width: 100% !important; | | width: 100%; |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-map img { | | body .mw-parser-output .nv-map img { |
| display: block !important; | | box-sizing: border-box; |
| width: 100% !important; | | display: block; |
| max-width: 100% !important; | | width: 100%; |
| height: auto !important; | | max-width: 100%; |
| | height: auto; |
| | margin: 0; |
| border: 2px solid var(--nv-line); | | border: 2px solid var(--nv-line); |
| border-radius: 0; | | border-radius: 0; |
| 第1,512行: |
第470行: |
| body .mw-parser-output .nv-map figcaption, | | body .mw-parser-output .nv-map figcaption, |
| body .mw-parser-output .nv-map .thumbcaption { | | body .mw-parser-output .nv-map .thumbcaption { |
| display: block !important; | | box-sizing: border-box; |
| width: 100% !important; | | display: block; |
| max-width: 100% !important; | | width: 100%; |
| | max-width: 100%; |
| margin-top: 7px; | | margin-top: 7px; |
| color: var(--nv-ink-muted) !important; | | color: var(--nv-ink-muted); |
| font-family: var(--nv-ui-font) !important; | | font-family: var(--nv-ui-font); |
| font-size: 12px; | | font-size: 12px; |
| line-height: 1.6; | | line-height: 1.6; |
| text-align: left !important; | | text-align: left; |
| } | | } |
|
| |
|
| body .mw-parser-output .nv-map--wide { | | body .mw-parser-output .nv-map--wide { |
| max-width: 1120px; | | max-width: 1120px; |
| }
| |
|
| |
| @media (min-width: 1200px) {
| |
| body .mw-parser-output .nv-map--wide {
| |
| width: min(1120px, calc(100vw - 395px));
| |
| max-width: none;
| |
| }
| |
| }
| |
|
| |
| @media (min-width: 1100px) and (max-width: 1199px) {
| |
| body .mw-parser-output .nv-map--wide {
| |
| width: min(1120px, calc(100vw - 63px));
| |
| max-width: none;
| |
| }
| |
| } | | } |
|
| |
|
| 第1,558行: |
第503行: |
| } | | } |
|
| |
|
| /* —— v2-3 表格滚动容器(v1 宽表规则合并到此)—— */
| |
| body .mw-parser-output .nv-table-scroll {
| |
| max-width: 100%;
| |
| overflow-x: auto;
| |
| -webkit-overflow-scrolling: touch;
| |
| }
| |
|
| |
| @media (min-width: 1100px) {
| |
| body .mw-parser-output .nv-table-scroll {
| |
| max-width: none;
| |
| }
| |
| }
| |
|
| |
| /* —— v2-4 首页:读者门面 —— */
| |
| body.page-首页 .mw-parser-output {
| |
| max-width: 1120px;
| |
| }
| |
|
| |
| body.page-首页 .citizen-page-heading {
| |
| display: none;
| |
| }
| |
|
| |
| body.page-首页 .citizen-page-header {
| |
| border-bottom: 0 !important;
| |
| padding-bottom: 0;
| |
| }
| |
|
| |
| body.page-首页 .citizen-page-header::after {
| |
| content: none !important;
| |
| }
| |
|
| |
| body.page-首页 .mw-parser-output::after {
| |
| content: none !important;
| |
| }
| |
|
| |
| .nv-home-masthead {
| |
| display: grid;
| |
| grid-template-columns: minmax(0, 1fr) 300px;
| |
| gap: 2rem;
| |
| align-items: end;
| |
| position: relative;
| |
| margin: 1rem 0 2rem;
| |
| padding-bottom: 18px;
| |
| border-bottom: 3px solid var(--nv-line);
| |
| }
| |
|
| |
| .nv-home-masthead::after {
| |
| content: "";
| |
| position: absolute;
| |
| left: 0;
| |
| right: 0;
| |
| bottom: -9px;
| |
| height: 1px;
| |
| background: var(--nv-line);
| |
| }
| |
|
| |
| .nv-home-masthead__title {
| |
| margin: 0;
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-display-font);
| |
| font-size: 64px;
| |
| font-weight: 700;
| |
| line-height: 1.02;
| |
| letter-spacing: .02em;
| |
| }
| |
|
| |
| .nv-home-masthead__tagline {
| |
| margin-top: .5rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 14px;
| |
| }
| |
|
| |
| .nv-home-mark {
| |
| position: relative;
| |
| width: 100%;
| |
| height: 150px;
| |
| border: 2px solid var(--nv-line);
| |
| overflow: hidden;
| |
| }
| |
|
| |
| .nv-home-mark::before {
| |
| content: "";
| |
| position: absolute;
| |
| left: 34px;
| |
| top: 24px;
| |
| width: 76px;
| |
| height: 76px;
| |
| border-radius: 50%;
| |
| background: var(--nv-accent);
| |
| }
| |
|
| |
| .nv-home-mark::after {
| |
| content: "";
| |
| position: absolute;
| |
| left: 46px;
| |
| bottom: 30px;
| |
| width: 150px;
| |
| height: 12px;
| |
| background: var(--nv-ink);
| |
| }
| |
|
| |
| .nv-home-mark span {
| |
| position: absolute;
| |
| right: 28px;
| |
| top: 76px;
| |
| width: 28px;
| |
| height: 28px;
| |
| background: var(--nv-green);
| |
| }
| |
|
| |
| .nv-home-kicker {
| |
| margin: 2.2rem 0 .8rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| }
| |
|
| |
| .nv-home-world {
| |
| display: block;
| |
| margin: 0 0 1rem;
| |
| padding: 1.1rem 1.3rem 1.2rem;
| |
| border: 2px solid var(--nv-line);
| |
| background: var(--nv-paper-raised);
| |
| }
| |
|
| |
| .nv-home-world:hover {
| |
| border-color: var(--nv-accent);
| |
| }
| |
|
| |
| .nv-home-world__name,
| |
| .nv-home-world__name a {
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font);
| |
| font-size: 23px;
| |
| font-weight: 700;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| .nv-home-world__desc {
| |
| margin-top: .3rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| }
| |
|
| |
| .nv-home-grid {
| |
| display: grid;
| |
| grid-template-columns: repeat(3, minmax(0, 1fr));
| |
| gap: 10px;
| |
| margin: 0 0 1rem;
| |
| }
| |
|
| |
| .nv-home-grid .nv-card,
| |
| .mw-parser-output .nv-card {
| |
| display: block;
| |
| padding: .85rem 1rem .95rem;
| |
| border: 1px solid var(--nv-line);
| |
| border-radius: 0;
| |
| background: var(--nv-paper-raised);
| |
| color: var(--nv-ink);
| |
| box-shadow: none;
| |
| }
| |
|
| |
| .nv-home-grid .nv-card:hover,
| |
| .mw-parser-output .nv-card:hover {
| |
| border-color: var(--nv-accent);
| |
| }
| |
|
| |
| .nv-card__title,
| |
| .nv-card__title a {
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 15px;
| |
| font-weight: 700;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| .nv-card__desc {
| |
| margin-top: .25rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| line-height: 1.6;
| |
| }
| |
|
| |
| .nv-home-create {
| |
| display: grid;
| |
| grid-template-columns: repeat(2, minmax(0, 1fr));
| |
| gap: 10px 18px;
| |
| }
| |
|
| |
| .nv-home-create__note {
| |
| grid-column: 1 / -1;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px;
| |
| }
| |
|
| |
| .nv-home-create .author-entry-form {
| |
| display: block;
| |
| min-width: 0;
| |
| }
| |
|
| |
| .nv-home-create .author-entry-form form {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: .4rem;
| |
| align-items: center;
| |
| }
| |
|
| |
| .nv-home-create .author-entry-form input {
| |
| flex: 1 1 10rem;
| |
| min-width: 0;
| |
| max-width: 100%;
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| .nv-home-create .author-entry-form button {
| |
| flex: 0 0 auto;
| |
| }
| |
|
| |
| .nv-home-tools {
| |
| margin-top: .8rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px;
| |
| }
| |
|
| |
| .nv-home-stats {
| |
| margin-top: 2rem;
| |
| padding-top: 10px;
| |
| border-top: 1px solid var(--nv-hair);
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| }
| |
|
| |
| @media (max-width: 900px) {
| |
| .nv-home-masthead {
| |
| grid-template-columns: 1fr;
| |
| }
| |
|
| |
| .nv-home-mark {
| |
| max-width: 300px;
| |
| }
| |
|
| |
| .nv-home-grid {
| |
| grid-template-columns: repeat(2, minmax(0, 1fr));
| |
| }
| |
|
| |
| .nv-home-create {
| |
| grid-template-columns: 1fr;
| |
| }
| |
| }
| |
|
| |
| @media (max-width: 560px) {
| |
| .nv-home-masthead__title {
| |
| font-size: 44px;
| |
| }
| |
|
| |
| .nv-home-grid {
| |
| grid-template-columns: 1fr;
| |
| }
| |
| }
| |
|
| |
| /* —— v2-5 导航台与通用卡片 —— */
| |
| .mw-parser-output .nv-nav-group {
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| letter-spacing: normal;
| |
| text-transform: none;
| |
| }
| |
|
| |
| /* —— v2-6 术语网络:使用生产实际 .nv-glossary-group,不新增模板参数 —— */
| |
| body .mw-parser-output .nv-glossary-group {
| |
| margin: .65rem 0;
| |
| padding-top: .65rem;
| |
| border-top: 1px solid var(--nv-hair);
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-group:first-of-type {
| |
| padding-top: 0;
| |
| border-top: 0;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-group h3 {
| |
| margin: 0 0 .35rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12px;
| |
| font-weight: 700;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-copy {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| align-items: center;
| |
| gap: .55rem;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-copy input {
| |
| flex: 1 1 16rem;
| |
| min-width: 0;
| |
| max-width: 100%;
| |
| box-sizing: border-box;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-group__hint,
| |
| body .mw-parser-output .nv-glossary-status {
| |
| color: var(--nv-ink-muted);
| |
| font-size: 12px;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-glossary-group__tools {
| |
| margin: .35rem 0;
| |
| }
| |
|
| |
| /* —— v2-7 章节界面:搜索类型 tab / 数值条 / 分类 / 术语卡 —— */
| |
| .search-types li.current a {
| |
| color: var(--nv-ink) !important;
| |
| background: transparent !important;
| |
| box-shadow: inset 0 -2px 0 var(--nv-accent);
| |
| font-weight: 700;
| |
| }
| |
|
| |
| .search-types a {
| |
| color: var(--nv-ink-muted);
| |
| }
| |
|
| |
| body .mw-parser-output .nv-meter__track {
| |
| height: 10px;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-meter__value,
| |
| body .mw-parser-output .nv-meter__label {
| |
| font-variant-numeric: tabular-nums;
| |
| }
| |
|
| |
| body #catlinks #mw-normal-catlinks > a:first-child {
| |
| padding: 2px 0;
| |
| border: 0;
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-card {
| |
| display: flex;
| |
| flex-direction: column;
| |
| }
| |
|
| |
| body .mw-parser-output .nv-term-card__actions,
| |
| body .mw-parser-output .nv-term-card > :last-child {
| |
| margin-top: auto;
| |
| }
| |
|
| |
| body .mw-parser-output #nv-term-editor .nv-term-login-notice,
| |
| body .mw-parser-output .nv-term-loading {
| |
| border: 0;
| |
| border-left: 3px solid var(--nv-line);
| |
| background: transparent;
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
|
| |
| /* —— v2-8 状态行成组 —— */
| |
| body .mw-parser-output .novark-notice + .novark-notice {
| |
| margin-top: -4px;
| |
| }
| |
|
| |
| body .mw-parser-output .novark-notice:has(+ .novark-notice) {
| |
| border-bottom: 0 !important;
| |
| }
| |
|
| |
| /* —— v2-9 PageForms / OOUI / 分类页 —— */
| |
| body .mw-parser-output .pfFormInput, | | body .mw-parser-output .pfFormInput, |
| body .mw-parser-output .pfFormInputWrapper { | | body .mw-parser-output .pfFormInputWrapper { |
| border: 0 !important;
| | border: 0 !important; |
| background: transparent !important; | | background: transparent !important; |
| } | | } |
|
| |
|
| body .mw-parser-output .pfFormInput table, | | body .mw-parser-output .pfFormInput table, |
| body .mw-parser-output .pfFormInputWrapper table, | | body .mw-parser-output .pfFormInputWrapper table { |
| body .mw-parser-output .mw-category-generated form table {
| | border: 0 !important; |
| border: 0 !important;
| |
| background: transparent !important; | | background: transparent !important; |
| } | | } |
|
| |
|
| body .mw-parser-output .pfFormInput table td, | | body .mw-parser-output .pfFormInput table td, |
| body .mw-parser-output .pfFormInputWrapper table td, | | body .mw-parser-output .pfFormInputWrapper table td { |
| body .mw-parser-output .mw-category-generated form table td {
| | border: 0 !important; |
| border: 0 !important;
| |
| padding: 2px 6px 2px 0 !important; | | padding: 2px 6px 2px 0 !important; |
| background: transparent !important; | | background: transparent !important; |
| 第1,959行: |
第524行: |
| body .mw-parser-output .pfFormInput input, | | body .mw-parser-output .pfFormInput input, |
| body .mw-parser-output .pfFormInputWrapper input { | | body .mw-parser-output .pfFormInputWrapper input { |
| border: 1px solid var(--nv-line) !important;
| | border: 1px solid var(--nv-line) !important; |
| border-radius: 0 !important; | | border-radius: 0 !important; |
| background: var(--nv-paper-raised) !important; | | background: var(--nv-paper-raised) !important; |
| 第1,965行: |
第530行: |
| } | | } |
|
| |
|
| body .mw-parser-output .mw-category-group > h3 {
| |
| margin: 1rem 0 .3rem;
| |
| padding-bottom: 3px;
| |
| border-bottom: 1px solid var(--nv-hair);
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| font-weight: 700;
| |
| }
| |
|
| |
|
| |
|
| |
| /* Category-generated area lives outside .mw-parser-output in this MediaWiki. */
| |
| body .mw-category-generated .mw-category-group > h3 {
| |
| margin: 1rem 0 .3rem;
| |
| padding-bottom: 3px;
| |
| border-bottom: 1px solid var(--nv-hair);
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| font-weight: 700;
| |
| }
| |
|
| |
| body .mw-category-generated .mw-category-group ul {
| |
| margin: .2rem 0 .8rem;
| |
| }
| |
|
| |
| /* PageForms create-box: keep the input/button on one row when the JS widget
| |
| produces a horizontal layout, including category pages. */
| |
| body .mw-parser-output .pfFormInputWrapper, | | body .mw-parser-output .pfFormInputWrapper, |
| body .mw-parser-output .pfFormInput .oo-ui-horizontalLayout, | | body .mw-parser-output .pfFormInput .oo-ui-horizontalLayout, |
| body .mw-parser-output .pfFormInputWrapper .oo-ui-horizontalLayout { | | body .mw-parser-output .pfFormInputWrapper .oo-ui-horizontalLayout { |
| display: flex;
| | display: flex; |
| flex-wrap: wrap; | | flex-wrap: wrap; |
| align-items: center; | | align-items: center; |
| 第2,005行: |
第541行: |
| body .mw-parser-output .pfFormInputWrapper .oo-ui-textInputWidget, | | body .mw-parser-output .pfFormInputWrapper .oo-ui-textInputWidget, |
| body .mw-parser-output .pfFormInputWrapper .oo-ui-widget { | | body .mw-parser-output .pfFormInputWrapper .oo-ui-widget { |
| flex: 1 1 14rem;
| | flex: 1 1 14rem; |
| min-width: 0; | | min-width: 0; |
| max-width: 100%; | | max-width: 100%; |
| 第2,011行: |
第547行: |
|
| |
|
| body .mw-parser-output .pfFormInputWrapper .oo-ui-buttonElement { | | body .mw-parser-output .pfFormInputWrapper .oo-ui-buttonElement { |
| flex: 0 0 auto;
| | flex: 0 0 auto; |
| } | | } |
|
| |
|
| | | body #pfForm { |
| | | font-family: var(--nv-ui-font); |
| /* The live term editor builds .nv-term-notice (not .nv-term-login-notice). */
| | font-size: 14px; |
| body .mw-parser-output #nv-term-editor .nv-term-notice {
| | line-height: 1.65; |
| margin: .75rem 0;
| |
| padding: .65rem .85rem;
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-line) !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font);
| |
| line-height: 1.7;
| |
| }
| |
| | |
| body .mw-parser-output #nv-term-editor .nv-term-status { | |
| margin: .4rem 0 .75rem;
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 12.5px; | |
| }
| |
| | |
| | |
| /* ==========================================================================
| |
| v2 交互层样式 · 与静态层同一 Common.css
| |
| ========================================================================== */
| |
| @view-transition { navigation: auto; }
| |
| | |
| ::view-transition-old(root),
| |
| ::view-transition-new(root) {
| |
| animation-duration: 140ms; | |
| animation-timing-function: ease-out;
| |
| }
| |
| | |
| .citizen-header { view-transition-name: mien-shell-1; }
| |
| .citizen-page-aside { view-transition-name: mien-shell-2; }
| |
| .citizen-footer { view-transition-name: mien-shell-3; }
| |
| | |
| ::view-transition-group(mien-shell-1),
| |
| ::view-transition-group(mien-shell-2),
| |
| ::view-transition-group(mien-shell-3),
| |
| ::view-transition-old(mien-shell-1),
| |
| ::view-transition-old(mien-shell-2),
| |
| ::view-transition-old(mien-shell-3),
| |
| ::view-transition-new(mien-shell-1),
| |
| ::view-transition-new(mien-shell-2),
| |
| ::view-transition-new(mien-shell-3) {
| |
| animation: none;
| |
| }
| |
| | |
| html:has(body.action-edit) ::view-transition-old(root),
| |
| html:has(body.action-edit) ::view-transition-new(root),
| |
| html:has(body.action-submit) ::view-transition-old(root),
| |
| html:has(body.action-submit) ::view-transition-new(root),
| |
| html:has(body.ns-special) ::view-transition-old(root),
| |
| html:has(body.ns-special) ::view-transition-new(root) {
| |
| animation: none;
| |
| }
| |
| | |
| html.mien-vt-theme * { view-transition-name: none !important; }
| |
| html.mien-vt-theme::view-transition-old(root),
| |
| html.mien-vt-theme::view-transition-new(root) {
| |
| animation-duration: 180ms;
| |
| }
| |
| | |
| @media (prefers-reduced-motion: reduce) {
| |
| @view-transition { navigation: none; }
| |
| ::view-transition-group(*),
| |
| ::view-transition-old(*),
| |
| ::view-transition-new(*) { animation: none !important; }
| |
| }
| |
| | |
| html.mien-nav-pending { cursor: progress; }
| |
| html.mien-nav-pending::after {
| |
| content: "";
| |
| position: fixed;
| |
| z-index: 10000;
| |
| top: 0;
| |
| left: 0;
| |
| right: 0;
| |
| height: 2px;
| |
| background: var(--nv-accent, #C0472E);
| |
| pointer-events: none;
| |
| animation: mien-fade-in 120ms ease-out both;
| |
| }
| |
| @keyframes mien-fade-in { from { opacity: 0; } }
| |
| | |
| .mw-parser-output a:active,
| |
| .catlinks a:active {
| |
| text-decoration: underline;
| |
| text-decoration-thickness: 2px;
| |
| text-underline-offset: 3px;
| |
| } | | } |
|
| |
|
| .mw-parser-output :is(h1, h2, h3, h4, h5, h6, .mw-headline, [id]) {
| | body #pfForm fieldset { |
| scroll-margin-top: var(--mien-sticky-offset, 64px);
| | min-inline-size: 0; |
| }
| | margin: 1.2rem 0; |
| .mw-parser-output :is(h2, h3, h4, h5, h6, .mw-headline):target {
| | padding: .85rem 1rem 1rem; |
| text-decoration: underline;
| |
| text-decoration-color: var(--nv-accent, #C0472E);
| |
| text-decoration-thickness: 3px;
| |
| text-underline-offset: 6px;
| |
| }
| |
| .mw-parser-output .references li:target {
| |
| box-shadow: -4px 0 0 var(--nv-accent, #C0472E);
| |
| }
| |
| | |
| .mien-theme-toggle {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| gap: 0.45em;
| |
| padding: 0.3em 0.2em; | |
| border: 0; | |
| background: none;
| |
| color: inherit;
| |
| font: inherit;
| |
| cursor: pointer;
| |
| }
| |
| .mien-theme-toggle:focus-visible { outline: 2px solid var(--nv-link, #2357A6); outline-offset: 2px; } | |
| .mien-theme-toggle__icon {
| |
| flex: 0 0 auto;
| |
| width: 16px;
| |
| height: 16px;
| |
| border: 2px solid currentColor;
| |
| border-radius: 50%;
| |
| background: linear-gradient(90deg, currentColor 50%, transparent 50%);
| |
| transition: transform 160ms ease-out;
| |
| }
| |
| .mien-theme-toggle[aria-pressed="true"] .mien-theme-toggle__icon { transform: rotate(180deg); }
| |
| .mien-theme-toggle--compact .mien-theme-toggle__label {
| |
| position: absolute;
| |
| width: 1px;
| |
| height: 1px;
| |
| overflow: hidden;
| |
| clip: rect(0 0 0 0);
| |
| white-space: nowrap;
| |
| }
| |
| @media (prefers-reduced-motion: reduce) {
| |
| .mien-theme-toggle__icon { transition: none; }
| |
| }
| |
| | |
| .mien-search-input[data-mien-busy] {
| |
| box-shadow: inset 0 -2px 0 var(--nv-accent, #C0472E);
| |
| }
| |
| .mw-search-results .searchmatch {
| |
| background: none;
| |
| color: inherit;
| |
| font-weight: 700;
| |
| }
| |
| | |
| /* Search command palette: the real Citizen component, styled as paper/ink.
| |
| The server-side fallback #searchform is removed by Citizen when the
| |
| command-palette bundle mounts, so these are the actual selectors. */
| |
| #citizen-command-palette-overlay {
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-backdrop {
| |
| background: rgba(20, 16, 12, .34);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette {
| |
| background: var(--nv-paper-raised);
| |
| border: 2px solid var(--nv-line);
| |
| border-radius: 0;
| |
| box-shadow: none;
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-header {
| |
| border-bottom: 1px solid var(--nv-line);
| |
| background: transparent;
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-header__input-area {
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette .cdx-text-input__input,
| |
| #citizen-command-palette-overlay .citizen-command-palette input[type="search"] {
| |
| border: 1px solid var(--nv-line);
| |
| border-radius: 0;
| |
| background: var(--nv-paper);
| |
| color: var(--nv-ink);
| |
| box-shadow: none;
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette .cdx-text-input__input:focus {
| |
| outline: 2px solid var(--nv-link);
| |
| outline-offset: 1px;
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette__body,
| |
| #citizen-command-palette-overlay .citizen-command-palette__results {
| |
| background: transparent;
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item {
| |
| border-radius: 0;
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item--highlighted {
| |
| background: var(--nv-paper-deep);
| |
| box-shadow: inset 3px 0 0 var(--nv-accent);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text {
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text__label,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text__label .cdx-search-result-title,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text__label .cdx-search-result-title bdi {
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text__description,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__metadata,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__action {
| |
| color: var(--nv-ink-muted);
| |
| font-size: 12px;
| |
| }
| |
| | |
| #citizen-command-palette-overlay .cdx-search-result-title__match {
| |
| color: var(--nv-accent);
| |
| font-weight: 700;
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__action:hover {
| |
| background: transparent;
| |
| color: var(--nv-accent);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette__footer {
| |
| border-top: 1px solid var(--nv-hair);
| |
| background: transparent;
| |
| color: var(--nv-ink-muted);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-command-palette__footer-hints,
| |
| #citizen-command-palette-overlay .citizen-keyboard-hint-label,
| |
| #citizen-command-palette-overlay .citizen-keyboard-hint-keys {
| |
| color: var(--nv-ink-muted);
| |
| }
| |
| | |
| #citizen-command-palette-overlay .citizen-keyboard-hint-key {
| |
| border: 1px solid var(--nv-hair); | | border: 1px solid var(--nv-hair); |
| border-radius: 0;
| |
| background: var(--nv-paper);
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| } | | } |
|
| |
|
| #citizen-command-palette-overlay .citizen-command-palette-empty-state, | | body #pfForm legend { |
| #citizen-command-palette-overlay .citizen-command-palette-empty-state__content {
| | padding: 0 .35rem; color: var(--nv-ink-muted); |
| color: var(--nv-ink-muted);
| |
| background: transparent;
| |
| } | | } |
|
| |
|
| #citizen-command-palette-overlay .citizen-command-palette-empty-state__title { | | body #pfForm .formtable { |
| color: var(--nv-ink);
| | width: 100%; max-width: 100%; table-layout: fixed; |
| font-family: var(--nv-display-font);
| |
| } | | } |
|
| |
|
| #citizen-command-palette-overlay .citizen-command-palette-empty-state__description { | | body #pfForm .formtable th { |
| color: var(--nv-ink-muted);
| | width: 10rem; |
| font-family: var(--nv-ui-font); | | padding: .65rem 1rem .65rem 0; |
| }
| | vertical-align: top; |
| | | text-align: left; |
| | | font-weight: 600; |
| /* The highlighted menu row paints its background on the inner content link,
| |
| not only on the li; override both so Codex's progressive-subtle fill never
| |
| appears. */
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__content,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__content:hover,
| |
| #citizen-command-palette-overlay .citizen-command-palette-list-item__text {
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important; | |
| text-decoration: none; | |
| } | | } |
|
| |
|
| #citizen-command-palette-overlay .citizen-command-palette-list-item--highlighted, | | body #pfForm .formtable td { |
| #citizen-command-palette-overlay .citizen-command-palette-list-item--highlighted .citizen-command-palette-list-item__content,
| | padding: .45rem 0; min-width: 0; |
| #citizen-command-palette-overlay .citizen-command-palette-list-item--highlighted .citizen-command-palette-list-item__text {
| |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important;
| |
| box-shadow: inset 3px 0 0 var(--nv-accent);
| |
| } | | } |
|
| |
|
| #citizen-command-palette-overlay .citizen-command-palette-list-item:hover .citizen-command-palette-list-item__content { | | body #pfForm textarea, |
| background: var(--nv-paper-deep) !important;
| | body #pfForm input:not([type]), |
| color: var(--nv-ink) !important;
| | body #pfForm input[type="text"], |
| }
| | body #pfForm input[type="search"], |
| | | body #pfForm select { |
| #citizen-command-palette-overlay .cdx-text-input__clear-icon, | | box-sizing: border-box; |
| #citizen-command-palette-overlay .cdx-text-input__icon-vue { | | width: 100%; |
| color: var(--nv-ink-muted);
| | max-width: 100%; |
| }
| |
| | |
| /* ==========================================================================
| |
| mien-preview-lite.css · 轻量术语短卡
| |
| ========================================================================== */
| |
| | |
| .mien-preview.mien-preview--term {
| |
| position: fixed;
| |
| z-index: 1100;
| |
| display: flex;
| |
| flex-direction: column;
| |
| width: 440px; | |
| max-width: calc(100vw - 16px);
| |
| max-height: min(64vh, 520px); | |
| overflow: hidden;
| |
| border: 2px solid var(--nv-line);
| |
| background: var(--nv-paper);
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 13px;
| |
| line-height: 1.65;
| |
| box-shadow: none;
| |
| }
| |
| | |
| .mien-preview__header {
| |
| display: flex;
| |
| flex: 0 0 auto;
| |
| align-items: center;
| |
| gap: 10px;
| |
| padding: 8px 10px 8px 12px;
| |
| border-bottom: 2px solid var(--nv-line);
| |
| background: var(--nv-paper-raised);
| |
| }
| |
| | |
| .mien-preview__back {
| |
| display: inline-flex;
| |
| flex: 0 0 auto;
| |
| align-items: center;
| |
| justify-content: center;
| |
| width: 28px;
| |
| height: 28px;
| |
| padding: 0;
| |
| border: 0;
| |
| background: transparent;
| |
| color: var(--nv-ink-muted);
| |
| font: inherit;
| |
| font-size: 18px;
| |
| line-height: 1;
| |
| cursor: pointer;
| |
| }
| |
| | |
| .mien-preview__title {
| |
| min-width: 0; | | min-width: 0; |
| overflow: hidden;
| |
| white-space: nowrap;
| |
| text-overflow: ellipsis;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font);
| |
| font-size: 20px;
| |
| font-weight: 700;
| |
| line-height: 1.25;
| |
| text-decoration: none !important;
| |
| }
| |
|
| |
| .mien-preview__actions {
| |
| display: flex;
| |
| flex: 0 0 auto;
| |
| align-items: center;
| |
| gap: 4px;
| |
| margin-left: auto;
| |
| }
| |
|
| |
| .mien-preview__pin,
| |
| .mien-preview__close {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| width: 28px;
| |
| height: 28px;
| |
| padding: 0;
| |
| border: 0;
| |
| background: transparent;
| |
| color: var(--nv-ink-muted);
| |
| font: inherit; | | font: inherit; |
| cursor: pointer;
| |
| }
| |
|
| |
| .mien-preview__close {
| |
| font-size: 21px;
| |
| line-height: 1;
| |
| }
| |
|
| |
| .mien-preview__pin {
| |
| position: relative;
| |
| }
| |
|
| |
| .mien-preview__pin svg {
| |
| width: 20px;
| |
| height: 20px;
| |
| transform: rotate(-90deg);
| |
| }
| |
|
| |
| .mien-preview__pin-track,
| |
| .mien-preview__pin-progress {
| |
| fill: none;
| |
| stroke-width: 2;
| |
| }
| |
|
| |
| .mien-preview__pin-track {
| |
| stroke: var(--nv-hair);
| |
| }
| |
|
| |
| .mien-preview__pin-progress {
| |
| stroke: var(--nv-accent);
| |
| stroke-dasharray: 100;
| |
| stroke-dashoffset: 100;
| |
| animation: mien-preview-progress 800ms linear forwards;
| |
| }
| |
|
| |
| .mien-preview__pin-head {
| |
| fill: currentColor;
| |
| stroke: none;
| |
| }
| |
|
| |
| .mien-preview__pin-stem {
| |
| fill: none;
| |
| stroke: currentColor;
| |
| stroke-width: 2;
| |
| }
| |
|
| |
| .mien-preview.is-ready .mien-preview__pin-progress {
| |
| stroke-dashoffset: 0;
| |
| animation: none;
| |
| }
| |
|
| |
| .mien-preview.is-pinned .mien-preview__pin {
| |
| color: var(--nv-accent);
| |
| }
| |
|
| |
| .mien-preview.is-pinned .mien-preview__pin-progress {
| |
| stroke: var(--nv-accent);
| |
| stroke-dashoffset: 0;
| |
| animation: none;
| |
| }
| |
|
| |
| @keyframes mien-preview-progress {
| |
| to { stroke-dashoffset: 0; }
| |
| }
| |
|
| |
| .mien-preview__body {
| |
| flex: 1 1 auto;
| |
| min-height: 0;
| |
| overflow: auto;
| |
| padding: 10px 14px 12px;
| |
| scrollbar-width: thin;
| |
| scrollbar-color: var(--nv-hair) transparent;
| |
| }
| |
|
| |
| .mien-preview__cats {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: 4px;
| |
| margin: 0 0 7px;
| |
| }
| |
|
| |
| .mien-preview__cats span {
| |
| padding: 0 5px;
| |
| border: 1px solid var(--nv-hair);
| |
| color: var(--nv-ink-muted);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 10.5px;
| |
| line-height: 1.55;
| |
| }
| |
|
| |
| .mien-preview__definition {
| |
| margin: 0 0 8px;
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-body-font);
| |
| font-size: 14px;
| |
| line-height: 1.8;
| |
| }
| |
|
| |
| .mien-preview__detail {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| gap: 4px;
| |
| padding: 1px 7px;
| |
| border: 1px solid var(--nv-line);
| |
| background: transparent;
| |
| color: var(--nv-link);
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 11.5px;
| |
| cursor: pointer;
| |
| }
| |
|
| |
| .mien-preview__detail::after {
| |
| content: ' →';
| |
| } | | } |
|
| |
|
| .mien-preview.is-article {
| | body #pfForm textarea { |
| width: 560px !important;
| | resize: vertical; |
| max-height: min(72vh, 620px);
| |
| } | | } |
|
| |
|
| .mien-preview__detail::after { | | body #pfForm .oo-ui-textInputWidget, |
| content: ' →';
| | body #pfForm .oo-ui-comboBoxInputWidget, |
| | body #pfForm .select2-container { |
| | width: 100%; max-width: 100%; min-width: 0; |
| } | | } |
|
| |
|
| /* Article detail: real parse content, compact single panel. */
| | body #pfForm .oo-ui-comboBoxInputWidget { |
| .mien-preview__article .mw-parser-output { | | min-width: 0 !important; |
| max-width: none;
| |
| font-family: var(--nv-body-font);
| |
| font-size: 14px;
| |
| line-height: 1.8;
| |
| } | | } |
|
| |
|
| .mien-preview__article .mw-parser-output p { | | @media (max-width: 640px) {body #pfForm fieldset { |
| margin: 0 0 .8em;
| | padding: .6rem .75rem .8rem; |
| text-align: left;
| | }body #pfForm .formtable, |
| } | | body #pfForm .formtable tbody, |
| | body #pfForm .formtable tr, |
| | body #pfForm .formtable th, |
| | body #pfForm .formtable td { |
| | display: block; width: auto; |
| | }body #pfForm .formtable th { |
| | padding: .65rem 0 .2rem; |
| | }body #pfForm .formtable td { |
| | padding: 0 0 .35rem; |
| | }} |
|
| |
|
| .mien-preview__article .mw-parser-output h2, | | .nv-term-ref { |
| .mien-preview__article .mw-parser-output h3 {
| | border-bottom: 1px dotted var(--nv-accent); |
| margin: 1.2em 0 .5em;
| |
| padding-bottom: .25em;
| |
| border-bottom: 2px solid var(--nv-line);
| |
| font-family: var(--nv-display-font);
| |
| font-size: 19px;
| |
| line-height: 1.35;
| |
| } | | } |
|
| |
|
| .mien-preview__article .mw-parser-output h3 { | | .nv-term-missing { |
| border-bottom-width: 1px;
| | color: var(--nv-danger); |
| font-size: 15px;
| |
| } | | } |
|
| |
|
| .mien-preview__article .mw-parser-output h2:first-child,
| |
| .mien-preview__article .mw-parser-output h3:first-child { margin-top: .2em; }
| |
|
| |
| .mien-preview__article .mw-parser-output .nv-infobox {
| |
| float: none !important;
| |
| width: 100% !important;
| |
| max-width: none !important;
| |
| margin: 0 0 1rem !important;
| |
| border: 2px solid var(--nv-line) !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| font-size: 12px;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output .nv-infobox--samename .nv-infobox__head,
| |
| .mien-preview__infobox--samename .nv-infobox__head { display: none !important; }
| |
|
| |
| .mien-preview__article .mw-parser-output .nv-table-scroll {
| |
| overflow-x: auto;
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output table.wikitable,
| |
| .mien-preview__article .mw-parser-output table.nv-lineage {
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| font-size: 12px;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output table.wikitable th,
| |
| .mien-preview__article .mw-parser-output table.wikitable td,
| |
| .mien-preview__article .mw-parser-output table.nv-lineage th,
| |
| .mien-preview__article .mw-parser-output table.nv-lineage td {
| |
| padding: 5px 7px;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output img { max-width: 100%; height: auto; }
| |
|
| |
| .mien-preview__article .mw-parser-output figure,
| |
| .mien-preview__article .mw-parser-output .thumb { max-width: 100%; margin: 0 0 1rem; }
| |
|
| |
| .mien-preview__article .mw-parser-output .thumbinner { width: 100% !important; max-width: 100% !important; }
| |
|
| |
| .mien-preview__article .mw-parser-output figcaption,
| |
| .mien-preview__article .mw-parser-output .thumbcaption {
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 11px;
| |
| text-align: left;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output .mw-editsection,
| |
| .mien-preview__article .mw-parser-output .novark-forum-links,
| |
| .mien-preview__article .mw-parser-output .catlinks,
| |
| .mien-preview__article .mw-parser-output .printfooter,
| |
| .mien-preview__article .mw-parser-output .mw-indicators,
| |
| .mien-preview__article .mw-parser-output .noprint,
| |
| .mien-preview__article .mw-parser-output .toc,
| |
| .mien-preview__article .mw-parser-output #toc,
| |
| .mien-preview__article .mw-parser-output .nv-term__authority,
| |
| .mien-preview__article .mw-parser-output .nv-term__meta,
| |
| .mien-preview__article .mw-parser-output .nv-term__detail,
| |
| .mien-preview__article .mw-parser-output .nv-term-definition__link,
| |
| .mien-preview__article .mw-parser-output .nv-term-definition__article {
| |
| display: none !important;
| |
| }
| |
|
| |
| .mien-preview__article .mw-parser-output .citizen-section-heading::before,
| |
| .mien-preview__article .mw-parser-output .citizen-section-toggle { display: none !important; }
| |
|
| |
| .mien-preview__article .mw-parser-output .citizen-section-body { display: block !important; }
| |
|
| |
| @media (max-width: 720px) {
| |
| .mien-preview.mien-preview--term,
| |
| .mien-preview.is-article {
| |
| left: 8px !important;
| |
| right: 8px !important;
| |
| top: auto !important;
| |
| bottom: 8px;
| |
| width: auto !important;
| |
| max-width: none;
| |
| max-height: min(72dvh, 620px);
| |
| }
| |
| }
| |
|
| |
| @media (prefers-reduced-motion: reduce) {
| |
| .mien-preview,
| |
| .mien-preview * {
| |
| animation: none !important;
| |
| transition: none !important;
| |
| }
| |
| }
| |
|
| |
| .mien-preview [hidden] {
| |
| display: none !important;
| |
| }
| |
|
| |
| .mien-preview.mien-preview--term,
| |
| .mien-preview.mien-preview--term * {
| |
| border-radius: 0;
| |
| }
| |
|
| |
| /* ==========================================================================
| |
| 2026-10-25 layout hierarchy / panels
| |
| Appended over current v2 Common.css; scoped to content, not skin chrome.
| |
| ========================================================================== */
| |
|
| |
| /* ---- focused tokens ------------------------------------------------ */
| |
| :root {
| |
| --nv-hair: #d8cdbb;
| |
| --nv-panel-quote-bg: #f1ede4;
| |
| --nv-panel-quote-line: #9a7a5d;
| |
| --nv-panel-rule-bg: #e9eef1;
| |
| --nv-panel-rule-line: #6e8795;
| |
| --nv-panel-example-bg: #eaf0e8;
| |
| --nv-panel-example-line: #748b76;
| |
| --nv-panel-note-bg: #f4eddc;
| |
| --nv-panel-note-line: #aa8a4b;
| |
| --nv-panel-warning-bg: #f4e7e1;
| |
| --nv-panel-warning-line: #b16e5e;
| |
| --nv-table-head: #ece4d5;
| |
| --nv-table-alt: #f4efe5;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-night,
| |
| html.skin-theme-clientpref-black {
| |
| --nv-hair: #4a443d;
| |
| --nv-panel-quote-bg: #252320;
| |
| --nv-panel-quote-line: #c49a78;
| |
| --nv-panel-rule-bg: #1e272c;
| |
| --nv-panel-rule-line: #8da9b5;
| |
| --nv-panel-example-bg: #202a22;
| |
| --nv-panel-example-line: #93aa92;
| |
| --nv-panel-note-bg: #2b261c;
| |
| --nv-panel-note-line: #d0b36d;
| |
| --nv-panel-warning-bg: #2b211e;
| |
| --nv-panel-warning-line: #d79887;
| |
| --nv-table-head: #2c2823;
| |
| --nv-table-alt: #26221e;
| |
| }
| |
|
| |
| @media (prefers-color-scheme: dark) {
| |
| html.skin-theme-clientpref-os {
| |
| --nv-hair: #4a443d;
| |
| --nv-panel-quote-bg: #252320;
| |
| --nv-panel-quote-line: #c49a78;
| |
| --nv-panel-rule-bg: #1e272c;
| |
| --nv-panel-rule-line: #8da9b5;
| |
| --nv-panel-example-bg: #202a22;
| |
| --nv-panel-example-line: #93aa92;
| |
| --nv-panel-note-bg: #2b261c;
| |
| --nv-panel-note-line: #d0b36d;
| |
| --nv-panel-warning-bg: #2b211e;
| |
| --nv-panel-warning-line: #d79887;
| |
| --nv-table-head: #2c2823;
| |
| --nv-table-alt: #26221e;
| |
| }
| |
| }
| |
|
| |
| /* ---- TOC chevron: replace Citizen's white-edged icon -- */
| |
| #citizen-toc .citizen-toc-toggle,
| |
| #citizen-toc .citizen-toc-toggle.cdx-button {
| |
| display: inline-flex !important;
| |
| align-items: center !important;
| |
| justify-content: center !important;
| |
| width: 22px !important;
| |
| min-width: 22px !important;
| |
| height: 22px !important;
| |
| min-height: 22px !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
|
| |
| #citizen-toc .citizen-toc-toggle .citizen-ui-icon {
| |
| display: none !important;
| |
| }
| |
|
| |
| #citizen-toc .citizen-toc-toggle::before {
| |
| content: "" !important;
| |
| display: block !important;
| |
| width: 7px !important;
| |
| height: 7px !important;
| |
| margin: 0 !important;
| |
| border: 0 !important;
| |
| border-right: 1.5px solid currentColor !important;
| |
| border-bottom: 1.5px solid currentColor !important;
| |
| background: transparent !important;
| |
| mask: none !important;
| |
| -webkit-mask: none !important;
| |
| transform: rotate(45deg);
| |
| transition: transform .16s ease;
| |
| }
| |
|
| |
| #citizen-toc .citizen-toc-toggle[aria-expanded="true"]::before {
| |
| transform: rotate(-135deg);
| |
| }
| |
|
| |
| #citizen-toc .citizen-toc-toggle:hover,
| |
| #citizen-toc .citizen-toc-toggle:focus-visible {
| |
| color: var(--nv-ink) !important;
| |
| }
| |
|
| |
| /* ---- section heading controls: less visual weight, usable ---- */
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle {
| |
| color: var(--nv-ink-muted) !important;
| |
| opacity: .55;
| |
| }
| |
|
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle:hover,
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle:focus-visible {
| |
| opacity: 1;
| |
| }
| |
|
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle .citizen-ui-icon {
| |
| display: none !important;
| |
| }
| |
|
| |
| .client-js .citizen-sections-enabled section > .citizen-section-heading > .citizen-section-toggle::before {
| |
| display: block !important;
| |
| width: 0 !important;
| |
| height: 0 !important;
| |
| border-left: 4.5px solid transparent !important;
| |
| border-right: 4.5px solid transparent !important;
| |
| border-top: 7px solid currentColor !important;
| |
| background: transparent !important;
| |
| mask: none !important;
| |
| -webkit-mask: none !important;
| |
| }
| |
|
| |
| .mw-editsection,
| |
| .mw-editsection a,
| |
| .mw-editsection-bracket {
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font);
| |
| font-size: 11px !important;
| |
| opacity: .62;
| |
| }
| |
|
| |
| .mw-editsection a:hover { opacity: 1; }
| |
|
| |
| /* ---- heading hierarchy: roles instead of repeated full rules ---- */
| |
| .mw-parser-output h2,
| |
| .mw-parser-output h2.citizen-section-heading {
| |
| margin: 2.6rem 0 1.1rem !important;
| |
| padding: 0 0 11px !important;
| |
| border: 0 !important;
| |
| background-image: linear-gradient(var(--nv-accent), var(--nv-accent)) !important;
| |
| background-repeat: no-repeat !important;
| |
| background-position: 0 100% !important;
| |
| background-size: 38px 2px !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font) !important;
| |
| font-size: 29px !important;
| |
| font-weight: 700 !important;
| |
| line-height: 1.3 !important;
| |
| }
| |
|
| |
| .mw-parser-output h2::after,
| |
| .mw-parser-output h2.citizen-section-heading::after {
| |
| content: none !important;
| |
| }
| |
|
| |
| .mw-parser-output h3,
| |
| .mw-parser-output h3.citizen-section-heading {
| |
| margin: 1.9rem 0 .55rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: none !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font) !important;
| |
| font-size: 19px !important;
| |
| font-weight: 600 !important;
| |
| line-height: 1.45 !important;
| |
| }
| |
|
| |
| .mw-parser-output h3::after,
| |
| .mw-parser-output h3.citizen-section-heading::after {
| |
| content: none !important;
| |
| }
| |
|
| |
| .mw-parser-output h4,
| |
| .mw-parser-output h5,
| |
| .mw-parser-output h6,
| |
| .mw-parser-output h4.citizen-section-heading,
| |
| .mw-parser-output h5.citizen-section-heading,
| |
| .mw-parser-output h6.citizen-section-heading {
| |
| margin: 1.4rem 0 .4rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: none !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 12.5px !important;
| |
| font-weight: 700 !important;
| |
| letter-spacing: .045em;
| |
| line-height: 1.5 !important;
| |
| }
| |
|
| |
| .mw-parser-output h4 { color: var(--nv-ink) !important; }
| |
|
| |
| /* H1/page header: keep the masthead, reduce an accidental second rule. */
| |
| .citizen-page-header {
| |
| border-bottom-width: 1px !important;
| |
| border-bottom-color: var(--nv-hair) !important;
| |
| }
| |
|
| |
| /* ---- tables: one boundary only, light rows; keep overflow ---- */
| |
| .mw-parser-output .nv-table-scroll {
| |
| margin: 1.1rem 0 1.6rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-table-scroll .citizen-overflow-wrapper,
| |
| .mw-parser-output .nv-table-scroll .citizen-overflow-content {
| |
| border: 0 !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-table-scroll .citizen-overflow-wrapper {
| |
| margin: 0 !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-table-scroll .citizen-overflow-nav {
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-table-scroll .citizen-overflow-navButton {
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| box-shadow: none !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| opacity: .45;
| |
| }
| |
|
| |
| .mw-parser-output table.wikitable,
| |
| .mw-parser-output table.nv-lineage {
| |
| width: auto !important;
| |
| max-width: 100% !important;
| |
| margin: .25rem 0 0 !important;
| |
| border: 0 !important;
| |
| border-top: 0 !important;
| |
| border-bottom: 0 !important;
| |
| border-collapse: collapse !important;
| |
| background: transparent !important;
| |
| }
| |
|
| |
| .mw-parser-output table.wikitable th,
| |
| .mw-parser-output table.nv-lineage th {
| |
| padding: 7px 10px !important;
| |
| border: 0 !important;
| |
| border-bottom: 1.5px solid var(--nv-line) !important;
| |
| background: var(--nv-table-head) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 12px !important;
| |
| font-weight: 700 !important;
| |
| letter-spacing: .015em;
| |
| line-height: 1.55;
| |
| text-align: left;
| |
| }
| |
|
| |
| .mw-parser-output table.wikitable td,
| |
| .mw-parser-output table.nv-lineage td {
| |
| padding: 7px 10px !important;
| |
| border: 0 !important;
| |
| border-bottom: 1px solid var(--nv-hair) !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 12.5px;
| |
| line-height: 1.65;
| |
| }
| |
|
| |
| .mw-parser-output table.wikitable tr:nth-child(even) td,
| |
| .mw-parser-output table.nv-lineage tr:nth-child(even) td {
| |
| background: var(--nv-table-alt) !important;
| |
| }
| |
|
| |
| .mw-parser-output table.wikitable tr:last-child td,
| |
| .mw-parser-output table.nv-lineage tr:last-child td {
| |
| border-bottom: 0 !important;
| |
| }
| |
|
| |
| /* ---- purpose panels: quote / rule / example / note / warning ---- */
| |
| .mw-parser-output .nv-quote {
| |
| position: relative;
| |
| margin: 1.25rem 0 !important;
| |
| padding: 1.1rem 1.15rem 1.1rem 1.45rem !important;
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-panel-quote-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-panel-quote-bg) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-quote::before {
| |
| content: "“";
| |
| position: absolute;
| |
| top: .25rem;
| |
| left: .48rem;
| |
| color: var(--nv-panel-quote-line);
| |
| font-family: var(--nv-display-font);
| |
| font-size: 24px;
| |
| line-height: 1;
| |
| opacity: .72;
| |
| pointer-events: none;
| |
| }
| |
|
| |
| .mw-parser-output .nv-quote__body {
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| font-family: var(--nv-body-font) !important;
| |
| font-size: 15px;
| |
| line-height: 1.85;
| |
| }
| |
|
| |
| .mw-parser-output .nv-quote__meta {
| |
| margin-top: .55rem !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 11.5px;
| |
| text-align: left !important;
| |
| }
| |
|
| |
| .mw-parser-output .nv-notice {
| |
| margin: 1.15rem 0 !important;
| |
| padding: .85rem 1rem .85rem 1.05rem !important;
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-panel-rule-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| line-height: 1.75;
| |
| }
| |
|
| |
| .mw-parser-output .nv-notice__title {
| |
| display: flex;
| |
| align-items: baseline;
| |
| gap: 6px;
| |
| margin-bottom: .4rem !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 12px !important;
| |
| font-weight: 700 !important;
| |
| letter-spacing: .06em;
| |
| line-height: 1.55;
| |
| }
| |
|
| |
| .mw-parser-output .nv-notice__title::before {
| |
| display: inline-block;
| |
| width: 1.1em;
| |
| color: var(--nv-panel-rule-line);
| |
| font-weight: 700;
| |
| text-align: center;
| |
| }
| |
|
| |
| .mw-parser-output .nv-notice--info {
| |
| border-left-color: var(--nv-panel-rule-line) !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| }
| |
| .mw-parser-output .nv-notice--info .nv-notice__title::before { content: "i"; font-family: var(--nv-display-font); }
| |
|
| |
| .mw-parser-output .nv-notice--rule {
| |
| border-left-color: var(--nv-panel-rule-line) !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| }
| |
| .mw-parser-output .nv-notice--rule .nv-notice__title::before { content: "§"; font-family: var(--nv-display-font); }
| |
|
| |
| .mw-parser-output .nv-notice--example {
| |
| border-left-color: var(--nv-panel-example-line) !important;
| |
| background: var(--nv-panel-example-bg) !important;
| |
| }
| |
| .mw-parser-output .nv-notice--example .nv-notice__title::before { content: "▸"; }
| |
|
| |
| .mw-parser-output .nv-notice--note,
| |
| .mw-parser-output .nv-notice--warning {
| |
| border-left-color: var(--nv-panel-note-line) !important;
| |
| background: var(--nv-panel-note-bg) !important;
| |
| }
| |
| .mw-parser-output .nv-notice--note .nv-notice__title::before,
| |
| .mw-parser-output .nv-notice--warning .nv-notice__title::before { content: "!"; font-family: var(--nv-ui-font); }
| |
|
| |
| .mw-parser-output .nv-notice--danger {
| |
| border-left-color: var(--nv-panel-warning-line) !important;
| |
| background: var(--nv-panel-warning-bg) !important;
| |
| }
| |
| .mw-parser-output .nv-notice--danger .nv-notice__title::before { content: "!"; font-family: var(--nv-ui-font); }
| |
|
| |
| .mw-parser-output .nv-notice__body > :last-child { margin-bottom: 0 !important; }
| |
|
| |
| /* ---- help demo panels keep prose, not admin copy ---- */
| |
| .mw-parser-output .nv-demo-label { | | .mw-parser-output .nv-demo-label { |
| margin: .9rem 0 .35rem;
| | margin: .9rem 0 .35rem; |
| color: var(--nv-ink-muted); | | color: var(--nv-ink-muted); |
| font-family: var(--nv-ui-font); | | font-family: var(--nv-ui-font); |
| 第3,062行: |
第639行: |
| } | | } |
|
| |
|
| /* ---- specificity overrides for pre-existing v1/v2 !important rules ---- */
| | @media (prefers-reduced-motion: reduce) {.nv-lock, |
| html body .mw-parser-output table.wikitable,
| | .nv-lock * { |
| html body .mw-parser-output table.nv-lineage {
| | scroll-behavior: auto !important; |
| width: auto !important;
| | transition: none !important; |
| max-width: 100% !important;
| | animation: none !important; |
| border: 0 !important;
| | }} |
| border-top: 0 !important;
| |
| border-bottom: 0 !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output table.wikitable th,
| | .nv-lock { |
| html body .mw-parser-output table.nv-lineage th {
| | position: fixed; |
| border: 0 !important;
| | z-index: 1200; |
| border-top: 0 !important;
| |
| border-bottom: 1.5px solid var(--nv-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-table-head) !important;
| |
| color: var(--nv-ink) !important;
| |
| padding: 7px 10px !important;
| |
| }
| |
| | |
| html body .mw-parser-output table.wikitable td,
| |
| html body .mw-parser-output table.nv-lineage td {
| |
| border: 0 !important;
| |
| border-top: 0 !important;
| |
| border-bottom: 1px solid var(--nv-hair) !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| padding: 7px 10px !important;
| |
| }
| |
| | |
| html body .mw-parser-output table.wikitable tr:nth-child(even) td,
| |
| html body .mw-parser-output table.nv-lineage tr:nth-child(even) td {
| |
| background: var(--nv-table-alt) !important;
| |
| }
| |
| | |
| html body .mw-parser-output table.wikitable tr:last-child td,
| |
| html body .mw-parser-output table.nv-lineage tr:last-child td {
| |
| border-bottom: 0 !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-table-scroll,
| |
| html body .mw-parser-output .nv-table-scroll .citizen-overflow-wrapper,
| |
| html body .mw-parser-output .nv-table-scroll .citizen-overflow-content {
| |
| border: 0 !important;
| |
| border-radius: 0 !important;
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-notice {
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-panel-rule-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-notice--info {
| |
| border-left-color: var(--nv-panel-rule-line) !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| }
| |
| html body .mw-parser-output .nv-notice--rule {
| |
| border-left-color: var(--nv-panel-rule-line) !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| }
| |
| html body .mw-parser-output .nv-notice--example {
| |
| border-left-color: var(--nv-panel-example-line) !important;
| |
| background: var(--nv-panel-example-bg) !important;
| |
| }
| |
| html body .mw-parser-output .nv-notice--note,
| |
| html body .mw-parser-output .nv-notice--warning {
| |
| border-left-color: var(--nv-panel-note-line) !important;
| |
| background: var(--nv-panel-note-bg) !important;
| |
| }
| |
| html body .mw-parser-output .nv-notice--danger {
| |
| border-left-color: var(--nv-panel-warning-line) !important;
| |
| background: var(--nv-panel-warning-bg) !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-quote {
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-panel-quote-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-panel-quote-bg) !important;
| |
| }
| |
| | |
| /* TOC active/collapsed marker: Citizen paints a 2×18 near-white pseudo
| |
| on top of the vertical rail. Let the paper/rail show through instead. */
| |
| #citizen-toc .citizen-toc-list-item::before,
| |
| #citizen-toc .citizen-toc-list-item--active::before {
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| /* ==========================================================================
| |
| nv-peek.css · light term reading chain
| |
| ========================================================================== */
| |
| | |
| .nv-peek {
| |
| position: fixed;
| |
| z-index: 1100; | |
| display: flex; | | display: flex; |
| flex-direction: column; | | flex-direction: column; |
| width: 340px; | | width: 480px; |
| max-width: calc(100vw - 16px); | | max-width: calc(100vw - 24px); |
| max-height: min(58vh, 380px); | | max-height: min(72vh, 680px); |
| overflow: hidden; | | overflow: hidden; |
| border: 1px solid var(--nv-line); | | border: 1px solid var(--nv-line); |
| border-radius: 0; | | border-radius: 0; |
| background: var(--nv-paper); | | background: var(--nv-paper-raised); |
| color: var(--nv-ink); | | color: var(--nv-ink); |
| box-shadow: none; | | box-shadow: none; |
| 第3,183行: |
第665行: |
| } | | } |
|
| |
|
| .nv-peek__header { | | .nv-lock__header { |
| display: flex;
| | display: flex; |
| flex: 0 0 auto; | | flex: 0 0 auto; |
| align-items: center; | | align-items: center; |
| gap: 6px; | | gap: 6px; |
| padding: 7px 9px 7px 11px; | | min-height: 34px; |
| | padding: 6px 9px 6px 11px; |
| border-bottom: 1px solid var(--nv-hair); | | border-bottom: 1px solid var(--nv-hair); |
| background: var(--nv-paper-raised); | | background: var(--nv-paper-raised); |
| } | | } |
|
| |
|
| .nv-peek__back { | | .nv-lock__back { |
| display: inline-flex;
| | display: none; |
| flex: 0 0 auto; | | flex: 0 0 auto; |
| align-items: center; | | align-items: center; |
| 第3,210行: |
第693行: |
| } | | } |
|
| |
|
| .nv-peek__title { | | .nv-lock__back:focus-visible { |
| min-width: 0; | | outline: 2px solid var(--nv-accent); |
| | outline-offset: 2px; |
| | } |
| | |
| | .nv-lock__title { |
| | min-width: 0; |
| overflow: hidden; | | overflow: hidden; |
| flex: 1 1 auto; | | flex: 1 1 auto; |
| 第3,224行: |
第712行: |
| } | | } |
|
| |
|
| .nv-peek__ring { | | .nv-lock__ring { |
| display: block;
| | display: block; |
| flex: 0 0 auto; | | flex: 0 0 auto; |
| width: 12px; | | width: 16px; |
| height: 12px; | | height: 16px; |
| border: 1.5px solid var(--nv-hair); | | overflow: visible; |
| border-top-color: var(--nv-ink-muted);
| |
| border-radius: 50%;
| |
| animation: nv-peek-ring 800ms linear forwards;
| |
| } | | } |
|
| |
|
| .nv-peek__ring::after { | | .nv-lock__ring circle { |
| content: "";
| | fill: none; |
| display: block;
| | stroke-width: 1.7; |
| width: 100%; | |
| height: 100%;
| |
| } | | } |
|
| |
|
| @keyframes nv-peek-ring {
| | .nv-lock__ring .nv-lock__ring-track { |
| to { transform: rotate(360deg); border-top-color: var(--nv-ink-muted); }
| | stroke: var(--nv-lock-ring-track, #D8CDBB); |
| } | | } |
|
| |
|
| @keyframes nv-peek-ring-ready {
| | .nv-lock__ring .nv-lock__ring-arc { |
| to { transform: rotate(360deg); border-top-color: var(--nv-hair); }
| | stroke: var(--nv-lock-ring, #8A6A4E); |
| | opacity: .92; |
| | stroke-linecap: butt; |
| | stroke-dasharray: 40.21; |
| | stroke-dashoffset: 40.21; |
| | transform: rotate(-90deg); |
| | transform-origin: 50% 50%; |
| } | | } |
|
| |
|
| .nv-peek__body { | | .nv-term-preview-trigger { |
| flex: 1 1 auto; | | display: none; |
| min-height: 0; | | margin-inline-start: .25em; |
| overflow-y: auto; | | padding: 0 .15em; |
| padding: 10px 12px 12px; | | border: 0; |
| scrollbar-width: thin; | | background: transparent; |
| scrollbar-color: var(--nv-hair) transparent; | | color: inherit; |
| | font: inherit; |
| | font-size: .9em; |
| | opacity: .65; |
| | cursor: pointer; |
| } | | } |
|
| |
|
| .nv-peek__definition { | | @media (hover: none), (pointer: coarse) {.nv-term-preview-trigger { |
| margin: 0 !important;
| | display: inline-block; min-height: 28px; |
| color: var(--nv-ink) !important;
| | }} |
| font-family: var(--nv-body-font) !important;
| |
| font-size: 14px !important;
| |
| line-height: 1.8 !important;
| |
| text-align: left !important;
| |
| } | |
|
| |
|
| .nv-peek__term-link { | | .nv-lock__term-link { |
| color: var(--nv-link) !important;
| | color: var(--nv-link) !important; |
| | font-weight: 400; |
| text-decoration: none !important; | | text-decoration: none !important; |
| border-bottom: 1px dotted color-mix(in srgb, var(--nv-link) 45%, transparent); | | border-bottom: 1px dotted color-mix(in srgb, var(--nv-link) 45%, transparent); |
| 第3,275行: |
第764行: |
| } | | } |
|
| |
|
| .nv-peek__term-link:hover { | | .nv-lock__term-link:hover { |
| text-decoration: underline !important;
| | text-decoration: underline !important; |
| text-underline-offset: 2px; | | text-underline-offset: 2px; |
| } | | } |
|
| |
|
| .nv-peek--single .nv-peek__back { display: inline-flex !important; } | | .nv-lock__term-link:focus-visible { |
| | | outline: 2px solid var(--nv-link); |
| @media (prefers-reduced-motion: reduce) {
| | outline-offset: 1px; |
| .nv-peek,
| |
| .nv-peek * {
| |
| animation: none !important;
| |
| transition: none !important;
| |
| }
| |
| .nv-peek__ring {
| |
| border-top-color: var(--nv-ink-muted);
| |
| transform: none;
| |
| }
| |
| }
| |
| | |
| @media (max-width: 720px) {
| |
| .nv-peek { | |
| width: min(340px, calc(100vw - 16px)) !important;
| |
| }
| |
| } | | } |
|
| |
|
| .nv-peek [hidden] { display: none !important; } | | @media (max-width: 720px) {.nv-lock { |
| .nv-peek, .nv-peek * { border-radius: 0; }
| | width: min(480px, calc(100vw - 24px)) !important; |
| .nv-peek .nv-peek__ring { border-radius: 50% !important; }
| | max-height: min(72vh, 560px); |
| | }} |
|
| |
|
| /* ==========================================================================
| | .nv-lock--single { |
| 2026-10-25 阅读节奏与渐进锁定 · 有效覆盖段
| | position: fixed !important; |
| 旧印构成:宋体展示、暖纸、章节目录线、编辑动作纸墨化。
| | left: 12px !important; |
| 本段是最后一层;冲突规则由本段收敛,不再逐页打补丁。
| | right: 12px !important; |
| ========================================================================== */
| | top: auto !important; |
| | | bottom: 12px !important; |
| :root {
| | width: auto !important; |
| --nv-paper: #EEE7D6;
| | max-width: none !important; |
| --nv-paper-raised: #F6F1E5;
| | max-height: 72vh !important; |
| --nv-paper-deep: #E6DDCA;
| | z-index: 1400 !important; |
| --nv-ink: #2A231C; | |
| --nv-ink-muted: #6D6253; | |
| --nv-line: #2A231C; | |
| --nv-hair: #CDC0A8; | |
| --nv-accent: #C0472E; | |
| --nv-reading-width: 760px; | |
| | |
| --nv-panel-quote-bg: #F3EEE2; | |
| --nv-panel-quote-line: #8B6B4F; | |
| --nv-panel-rule-bg: #EEE9DE;
| |
| --nv-panel-rule-line: #7B7162;
| |
| --nv-panel-example-bg: #EAEDDF;
| |
| --nv-panel-example-line: #788268;
| |
| --nv-panel-note-bg: #F1E8D6;
| |
| --nv-panel-note-line: #A9854C;
| |
| --nv-panel-warning-bg: #F2E3DB;
| |
| --nv-panel-warning-line: #AE6B5D;
| |
| --nv-table-head: #E8E0D0;
| |
| --nv-table-alt: #F3EEE3;
| |
| } | | } |
|
| |
|
| html.skin-theme-clientpref-night,
| | .nv-lock--single .nv-lock__back { |
| html.skin-theme-clientpref-black {
| | display: inline-flex !important; |
| --nv-panel-quote-bg: #26211B;
| | min-width: 28px; |
| --nv-panel-quote-line: #C49A78;
| | min-height: 28px; |
| --nv-panel-rule-bg: #29251F; | |
| --nv-panel-rule-line: #A99B88; | |
| --nv-panel-example-bg: #252A21;
| |
| --nv-panel-example-line: #99A88A;
| |
| --nv-panel-note-bg: #2C261C;
| |
| --nv-panel-note-line: #D0B36D;
| |
| --nv-panel-warning-bg: #2C211D;
| |
| --nv-panel-warning-line: #D79887;
| |
| --nv-table-head: #2C2823;
| |
| --nv-table-alt: #26221E;
| |
| } | | } |
|
| |
|
| @media (prefers-color-scheme: dark) {
| | .nv-lock--single .nv-lock__ring { |
| html.skin-theme-clientpref-os {
| | display: none !important; |
| --nv-panel-quote-bg: #26211B;
| |
| --nv-panel-quote-line: #C49A78;
| |
| --nv-panel-rule-bg: #29251F;
| |
| --nv-panel-rule-line: #A99B88;
| |
| --nv-panel-example-bg: #252A21;
| |
| --nv-panel-example-line: #99A88A;
| |
| --nv-panel-note-bg: #2C261C;
| |
| --nv-panel-note-line: #D0B36D;
| |
| --nv-panel-warning-bg: #2C211D;
| |
| --nv-panel-warning-line: #D79887;
| |
| --nv-table-head: #2C2823;
| |
| --nv-table-alt: #26221E;
| |
| }
| |
| } | | } |
|
| |
|
| /* ---- reading surface and rhythm ---------------------------------- */
| | .nv-lock__back[hidden] { |
| html body .mw-parser-output {
| | display: none !important; |
| max-width: var(--nv-reading-width);
| |
| color: var(--nv-ink);
| |
| font-family: var(--nv-body-font);
| |
| font-size: 16.8px;
| |
| line-height: 1.9;
| |
| text-align: justify;
| |
| text-justify: inter-ideograph;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output p {
| | .nv-lock__title:focus-visible { |
| margin: 0 0 .9em !important;
| | outline: 2px solid var(--nv-accent); outline-offset: 2px; |
| line-height: 1.9;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output ul, | | html body .mw-parser-output .nv-shortlist { |
| html body .mw-parser-output ol {
| | display: grid; |
| margin: .75em 0 .95em !important; | | grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); |
| padding-left: 1.45em; | | column-gap: 2.4rem; |
| | row-gap: 0; |
| | margin: 1rem 0 1.3rem; |
| | padding: 0; |
| | list-style: none; |
| } | | } |
|
| |
|
| html body .mw-parser-output li { | | html body .mw-parser-output .nv-shortlist > li { |
| margin: .24em 0 !important; | | margin: 0; |
| line-height: 1.82; | | padding: .42rem 0; |
| | border-bottom: 1px solid color-mix(in srgb, var(--nv-hair) 72%, transparent); |
| | break-inside: avoid; |
| } | | } |
|
| |
|
| html body .mw-parser-output li > p { | | html body .mw-parser-output .nv-shortlist > li:last-child { |
| margin: .25em 0 !important;
| | border-bottom-color: transparent; |
| } | | } |
|
| |
|
| html body .mw-parser-output blockquote { | | html body .mw-parser-output .nv-deflist { |
| margin: 1.35em 0; | | display: grid; |
| | grid-template-columns: minmax(7em, 10em) minmax(0, 1fr); |
| | column-gap: 1.2rem; |
| | margin: 1rem 0 1.4rem; |
| } | | } |
|
| |
|
| html body .mw-parser-output hr { | | html body .mw-parser-output .nv-deflist dt { |
| border: 0; | | margin: 0; |
| border-top: 1px solid var(--nv-hair); | | padding: .48rem 0; |
| margin: 1.6em 0; | | border-top: 1px solid color-mix(in srgb, var(--nv-hair) 72%, transparent); |
| | color: var(--nv-ink-muted) !important; |
| | font-family: var(--nv-ui-font) !important; |
| | font-size: 13px !important; |
| | font-weight: 600; |
| | line-height: 1.7; |
| } | | } |
|
| |
|
| /* ---- heading hierarchy: one clear H2 rule, no repeated heavy bars ---- */
| | html body .mw-parser-output .nv-deflist dd { |
| html body .mw-parser-output h2, | | margin: 0; |
| html body .mw-parser-output h2.citizen-section-heading {
| | padding: .48rem 0; |
| position: relative;
| | border-top: 1px solid color-mix(in srgb, var(--nv-hair) 72%, transparent); |
| margin: 2.7rem 0 1rem !important;
| |
| padding: 0 0 12px !important; | |
| border: 0 !important;
| |
| border-bottom: 1px solid var(--nv-hair) !important; | |
| background-color: transparent !important;
| |
| background-image:
| |
| linear-gradient(var(--nv-accent), var(--nv-accent)),
| |
| linear-gradient(var(--nv-ink), var(--nv-ink)) !important;
| |
| background-size: 20px 3px, 64px 3px !important;
| |
| background-position: 0 100%, 0 100% !important;
| |
| background-repeat: no-repeat !important;
| |
| color: var(--nv-ink) !important; | | color: var(--nv-ink) !important; |
| font-family: var(--nv-display-font) !important;
| | font-size: 16px !important; |
| font-size: 29px !important; | | line-height: 1.8; |
| font-weight: 700 !important;
| |
| line-height: 1.3 !important; | |
| letter-spacing: .01em;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output h2::before, | | html body .mw-parser-output .nv-deflist dt:first-of-type, |
| html body .mw-parser-output h2.citizen-section-heading::before | | html body .mw-parser-output .nv-deflist dd:first-of-type { |
| content: none !important;
| | border-top: 0; |
| display: none !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output h2::after, | | @media (max-width: 720px) {html body .mw-parser-output .nv-shortlist { |
| html body .mw-parser-output h2.citizen-section-heading::after | | grid-template-columns: 1fr; |
| content: none !important;
| | column-gap: 0; |
| display: none !important;
| | }html body .mw-parser-output .nv-deflist { |
| } | | display: block; |
| | }html body .mw-parser-output .nv-deflist dt { |
| | border-top: 0; |
| | padding-bottom: .1rem; |
| | }html body .mw-parser-output .nv-deflist dd { |
| | border-top: 0; |
| | padding-top: 0; |
| | padding-bottom: .8rem; |
| | }} |
|
| |
|
| html body .mw-parser-output h3,
| | .page-术语库 #nv-term-index { |
| html body .mw-parser-output h3.citizen-section-heading {
| | max-width: 760px; |
| margin: 1.85rem 0 .7rem !important; | | margin: 1.4rem 0 2.2rem; |
| padding: 0 !important;
| | color: var(--nv-ink); |
| border: 0 !important;
| | font-family: var(--nv-ui-font); |
| background: none !important;
| |
| color: var(--nv-ink) !important; | |
| font-family: var(--nv-display-font) !important; | |
| font-size: 21.5px !important;
| |
| font-weight: 600 !important;
| |
| line-height: 1.45 !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output h4,
| | .nv-lock__article > :first-child { |
| html body .mw-parser-output h4.citizen-section-heading {
| | margin-top: 0; |
| margin: 1.25rem 0 .45rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: none !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font) !important;
| |
| font-size: 17.5px !important;
| |
| font-weight: 600 !important;
| |
| line-height: 1.5 !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output h5,
| | .nv-lock__article > :last-child { |
| html body .mw-parser-output h6,
| | margin-bottom: 0; |
| html body .mw-parser-output h5.citizen-section-heading,
| |
| html body .mw-parser-output h6.citizen-section-heading {
| |
| margin: 1.05rem 0 .35rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: none !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 14px !important;
| |
| font-weight: 700 !important;
| |
| line-height: 1.55 !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output h2 + h3 {
| | .nv-lock__article ul, |
| margin-top: .6rem !important;
| | .nv-lock__article ol { |
| | margin: 0 0 0.62rem; padding-left: 1.25rem; |
| } | | } |
|
| |
|
| html body .mw-parser-output h3 + h4 {
| | .nv-lock__article li { |
| margin-top: .55rem !important;
| | margin: 0 0 0.18rem; |
| } | | } |
|
| |
|
| html body .mw-parser-output h2 + p,
| | .nv-lock__article blockquote { |
| html body .mw-parser-output h2 + .citizen-section-body > p:first-child,
| | margin: 0.5rem 0; |
| html body .mw-parser-output h3 + p {
| | padding: 0.2rem 0 0.2rem 0.7rem; |
| margin-top: .55em !important;
| | border-left: 2px solid var(--nv-hair); |
| | color: var(--nv-ink-muted); |
| } | | } |
|
| |
|
| /* ---- page header: restore the old double rail, keep masthead ---- */
| | .nv-lock__article img, |
| html body .citizen-page-header {
| | .nv-lock__article video { |
| border-bottom: 3px solid var(--nv-line) !important;
| | max-width: 100% !important; |
| padding-bottom: 14px !important; | | height: auto !important; |
| } | | } |
|
| |
|
| html body .citizen-page-header::after {
| | .nv-lock__article table th, |
| content: "";
| | .nv-lock__article table td { |
| position: absolute;
| | border: 1px solid var(--nv-hair); |
| left: 0;
| | padding: 0.22rem 0.38rem; |
| right: 0;
| | vertical-align: top; |
| bottom: -8px;
| |
| height: 1px;
| |
| background: var(--nv-line);
| |
| pointer-events: none; | |
| } | | } |
|
| |
|
| @media (max-width: 720px) {
| | .nv-lock__article table th { |
| html body .citizen-page-header {
| | background: var(--nv-paper-deep); font-weight: 700; |
| border-bottom: 2px solid var(--nv-line) !important;
| |
| padding-bottom: 10px !important;
| |
| }
| |
| html body .citizen-page-header::after {
| |
| bottom: -6px;
| |
| }
| |
| } | | } |
|
| |
|
| /* ---- page actions / edit: paper and warm ink, no Citizen blue ---- */
| | .nv-lock__loading, |
| html body .citizen-page-actions .cdx-button,
| | .nv-lock__error { |
| html body .citizen-page-actions .cdx-button--action-progressive,
| | margin: 0; |
| html body .citizen-page-actions a,
| | color: var(--nv-ink-muted); |
| html body .citizen-page-actions button {
| | font-size: 12.5px; |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important; | |
| border-color: transparent !important; | |
| box-shadow: none !important;
| |
| } | | } |
|
| |
|
| html body .citizen-page-actions .cdx-button:hover,
| | .nv-lock__error { |
| html body .citizen-page-actions .cdx-button--action-progressive:hover,
| | color: var(--nv-danger); |
| html body .citizen-page-actions a:hover,
| |
| html body .citizen-page-actions button:hover {
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| } | | } |
|
| |
|
| html body .citizen-page-actions .cdx-button:active,
| | .nv-lock__article a { |
| html body .citizen-page-actions .cdx-button--action-progressive:active,
| | color: var(--nv-link) !important; |
| html body .citizen-page-actions a:active,
| | text-decoration: none !important; |
| html body .citizen-page-actions button:active {
| | border-bottom: 1px dotted color-mix(in srgb, var(--nv-link) 40%, transparent); |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important; | |
| border-color: var(--nv-hair) !important; | |
| box-shadow: none !important;
| |
| } | | } |
|
| |
|
| html body .citizen-page-actions .cdx-button:focus-visible,
| | .nv-lock__article a:hover { |
| html body .citizen-page-actions .cdx-button--action-progressive:focus-visible,
| | text-decoration: underline !important; text-underline-offset: 2px; |
| html body .citizen-page-actions a:focus-visible,
| |
| html body .citizen-page-actions button:focus-visible {
| |
| outline: 2px solid var(--nv-accent) !important;
| |
| outline-offset: 2px !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| } | | } |
|
| |
|
| html body .citizen-page-actions .citizen-ui-icon::before {
| | .nv-lock__article a.nv-lock__term-link { |
| background: currentColor !important; | | border-bottom-style: solid; |
| | border-bottom-color: color-mix(in srgb, var(--nv-link) 60%, transparent); |
| } | | } |
|
| |
|
| /* ---- warm purpose panels ----------------------------------------- */
| | .nv-lock__article sup.reference { |
| html body .mw-parser-output .nv-quote {
| | font-size: 0.7em; |
| margin: 1.35rem 0 !important;
| |
| padding: 1.05rem 1.2rem 1.05rem 1.45rem !important;
| |
| border: 0 !important;
| |
| border-left: 3px solid var(--nv-panel-quote-line) !important;
| |
| border-radius: 0 !important;
| |
| background: var(--nv-panel-quote-bg) !important;
| |
| color: var(--nv-ink) !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-quote__body,
| | .nv-lock__article figure, |
| html body .mw-parser-output .nv-quote__body p,
| | .nv-lock__article .thumb, |
| html body .mw-parser-output .nv-quote blockquote {
| | .nv-lock__article .thumbinner, |
| color: var(--nv-ink) !important;
| | .nv-lock__article .nv-infobox__media { |
| font-family: var(--nv-display-font) !important;
| | max-width: 100% !important; |
| font-size: 16px !important;
| |
| font-style: normal !important;
| |
| line-height: 1.85 !important;
| |
| text-align: left !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-quote__body p {
| | .nv-lock__article figure { |
| margin: 0 0 .55em !important;
| | margin: .45rem 0 .75rem !important; |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-quote__meta {
| | .nv-lock__article figure img, |
| margin-top: .55rem !important;
| | .nv-lock__article .thumb img, |
| color: var(--nv-ink-muted) !important;
| | .nv-lock__article .nv-infobox__media img { |
| font-family: var(--nv-ui-font) !important;
| | max-width: 100% !important; |
| font-size: 12px !important;
| | height: auto !important; |
| font-style: normal !important; | | object-fit: contain; |
| text-align: left !important; | |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice {
| | .nv-lock__article figcaption, |
| margin: 1.35rem 0 !important;
| | .nv-lock__article .thumbcaption { |
| padding: .9rem 1.05rem .9rem 1.1rem !important;
| | margin-top: .25rem; |
| border: 0 !important;
| | color: var(--nv-ink-muted); |
| border-left: 3px solid var(--nv-panel-rule-line) !important;
| | font-family: var(--nv-ui-font); |
| border-radius: 0 !important;
| | font-size: .78rem; |
| background: var(--nv-panel-rule-bg) !important;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-ui-font) !important;
| |
| font-size: 16px !important;
| |
| font-weight: 400 !important;
| |
| line-height: 1.75;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-notice__title {
| |
| margin-bottom: .35rem !important;
| |
| color: var(--nv-ink) !important; | |
| font-family: var(--nv-ui-font) !important; | |
| font-size: 17px !important; | |
| font-weight: 600 !important;
| |
| line-height: 1.5; | | line-height: 1.5; |
| letter-spacing: 0;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice__body {
| | .nv-lock__article .mw-parser-output > p:first-child { |
| font-family: var(--nv-ui-font) !important;
| | margin-top: 0; |
| font-size: 16px !important;
| |
| line-height: 1.75;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice--info,
| | .nv-lock__body {flex: 1 1 auto;min-height: 0;overflow-y: auto;padding: 10px 14px 14px;scrollbar-width: thin;scrollbar-color: var(--nv-hair) transparent;overscroll-behavior: contain;-webkit-overflow-scrolling: touch;} |
| html body .mw-parser-output .nv-notice--rule {
| |
| border-left-color: var(--nv-panel-rule-line) !important;
| |
| background: var(--nv-panel-rule-bg) !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-notice--example {
| | .nv-lock__article {color: var(--nv-ink);font-family: var(--nv-body-font);font-size: 15px;line-height: 1.72;overflow-wrap: break-word;min-width: 0;} |
| border-left-color: var(--nv-panel-example-line) !important;
| |
| background: var(--nv-panel-example-bg) !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-notice--note,
| | .nv-lock__article .mw-parser-output { |
| html body .mw-parser-output .nv-notice--warning {
| | max-width: none; font-size: inherit; line-height: inherit; text-align: left; |
| border-left-color: var(--nv-panel-note-line) !important; | |
| background: var(--nv-panel-note-bg) !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice--danger {
| | .nv-lock .nv-lock__article p { |
| border-left-color: var(--nv-panel-warning-line) !important; | | margin: 0 0 .52rem; line-height: inherit; |
| background: var(--nv-panel-warning-bg) !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice__title::before {
| | .nv-lock__table {max-width: 100%;margin: 0.5rem 0 0.7rem;overflow-x: auto;overflow-y: hidden;scrollbar-width: thin;scrollbar-color: var(--nv-hair) transparent;min-width: 0;overscroll-behavior: contain;-webkit-overflow-scrolling: touch;touch-action: pan-x;} |
| color: var(--nv-panel-rule-line);
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-notice--example .nv-notice__title::before {
| | .nv-lock__article table {border-collapse: collapse;max-width: none;font-size: 0.8rem;line-height: 1.5;width: max-content;min-width: 100%;} |
| color: var(--nv-panel-example-line);
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-notice--note .nv-notice__title::before,
| | .nv-lock__article img { |
| html body .mw-parser-output .nv-notice--warning .nv-notice__title::before {
| | max-height: 34vh; |
| color: var(--nv-panel-note-line); | | width: auto; |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-notice--danger .nv-notice__title::before {
| | .nv-page-tools { |
| color: var(--nv-panel-warning-line);
| | display: flex; |
| }
| | flex-wrap: wrap; |
| | | align-items: baseline; |
| /* ---- table density, keep the accepted single frame and light rules ---- */
| | gap: .2rem .85rem; |
| html body .mw-parser-output table.wikitable th {
| | margin: .65rem 0 .35rem; |
| padding: 7px 11px !important; | | color: var(--nv-ink-muted); |
| font-size: 12.5px !important; | | font-family: var(--nv-ui-font); |
| background: var(--nv-table-head) !important; | | font-size: 12.5px; |
| }
| |
| | |
| html body .mw-parser-output table.wikitable td {
| |
| padding: 7px 11px !important;
| |
| font-size: 13px !important; | |
| line-height: 1.7; | | line-height: 1.7; |
| } | | } |
|
| |
|
| html body .mw-parser-output table.wikitable tr:nth-child(even) td {
| | .nv-page-tools__label { |
| background: var(--nv-table-alt) !important;
| | opacity: .72; |
| } | | } |
|
| |
|
| /* ---- mobile reading rhythm --------------------------------------- */
| | .nv-page-tool { |
| @media (max-width: 720px) {
| | padding: 0; |
| html body .mw-parser-output {
| | border: 0; |
| font-size: 16px;
| | background: transparent; |
| line-height: 1.85;
| | color: var(--nv-link) !important; |
| text-align: left;
| | font: inherit; |
| text-justify: auto;
| | text-decoration: none; |
| }
| | cursor: pointer; |
| | |
| html body .mw-parser-output p {
| |
| margin-bottom: .82em !important;
| |
| line-height: 1.85;
| |
| }
| |
| | |
| html body #firstHeading,
| |
| html body .citizen-page-heading h1 {
| |
| font-size: 40px !important;
| |
| line-height: 1.08;
| |
| }
| |
| | |
| html body .mw-parser-output h2, | |
| html body .mw-parser-output h2.citizen-section-heading {
| |
| margin: 2.05rem 0 .8rem !important;
| |
| padding-bottom: 9px !important;
| |
| font-size: 24.5px !important;
| |
| } | |
| | |
| html body .mw-parser-output h2,
| |
| html body .mw-parser-output h2.citizen-section-heading {
| |
| background-image:
| |
| linear-gradient(var(--nv-accent), var(--nv-accent)),
| |
| linear-gradient(var(--nv-ink), var(--nv-ink)) !important;
| |
| background-size: 16px 2.5px, 48px 2.5px !important;
| |
| } | |
| | |
| html body .mw-parser-output h3,
| |
| html body .mw-parser-output h3.citizen-section-heading {
| |
| margin: 1.5rem 0 .55rem !important;
| |
| font-size: 19px !important;
| |
| } | |
| | |
| html body .mw-parser-output h4,
| |
| html body .mw-parser-output h4.citizen-section-heading {
| |
| margin: 1.05rem 0 .4rem !important;
| |
| font-size: 16.5px !important;
| |
| } | |
| | |
| html body .mw-parser-output .nv-notice,
| |
| html body .mw-parser-output .nv-quote {
| |
| margin: 1.15rem 0 !important;
| |
| }
| |
| } | | } |
|
| |
|
| @media (prefers-reduced-motion: reduce) {
| | .nv-page-tool:hover, |
| html body .mw-parser-output *,
| | .nv-page-tool:focus-visible { |
| .nv-lock,
| | text-decoration: underline; |
| .nv-lock * {
| | text-underline-offset: 2px; |
| scroll-behavior: auto !important;
| |
| transition: none !important;
| |
| animation: none !important;
| |
| }
| |
| } | | } |
|
| |
|
| /* ---- residual finish: low-saturation lock ring and mobile reading tools ---- */
| | .nv-copy-fallback { |
| :root { | | max-width: 16rem; |
| --nv-lock-ring: #8A6A4E;
| | margin-left: .35rem; |
| --nv-lock-ring-track: #D8CDBB; | | padding: .1rem .3rem; |
| | border: 1px solid var(--nv-line); |
| | background: var(--nv-paper); |
| | color: var(--nv-ink); |
| | font-family: var(--nv-ui-font); |
| | font-size: 11px; |
| } | | } |
|
| |
|
| html.skin-theme-clientpref-night,
| | .nv-footer-tool-wrap { |
| html.skin-theme-clientpref-black {
| | position: relative; display: inline-block; |
| --nv-lock-ring: #C49A78;
| |
| --nv-lock-ring-track: #4A4034;
| |
| } | | } |
|
| |
|
| @media (prefers-color-scheme: dark) {
| | .nv-footer-menu { |
| html.skin-theme-clientpref-os { | | position: fixed; |
| --nv-lock-ring: #C49A78;
| | left: 12px; |
| --nv-lock-ring-track: #4A4034;
| | top: 12px; |
| } | | z-index: 1400; |
| | width: min(20rem, calc(100vw - 2rem)); |
| | max-height: 19rem; |
| | overflow: auto; |
| | padding: .35rem; |
| | border: 1px solid var(--nv-line); |
| | background: var(--nv-paper); |
| | box-shadow: 0 6px 18px rgba(0, 0, 0, .12); |
| | font-family: var(--nv-ui-font); |
| | font-size: 12.5px; |
| | line-height: 1.55; |
| } | | } |
|
| |
|
| @media (max-width: 720px) {
| | .nv-footer-menu[hidden] { |
| /* Mobile reading tools shell: paper, not Citizen's cold blue-white surface. */
| | display: none !important; |
| html body .citizen-page-actions {
| |
| background: var(--nv-paper-raised) !important;
| |
| border: 1px solid var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
| | |
| html body .citizen-page-actions .cdx-button,
| |
| html body .citizen-page-actions a,
| |
| html body .citizen-page-actions button {
| |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| border-color: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| html body .citizen-page-actions .cdx-button:hover,
| |
| html body .citizen-page-actions a:hover,
| |
| html body .citizen-page-actions button:hover {
| |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| html body .citizen-page-actions .cdx-button:active,
| |
| html body .citizen-page-actions a:active,
| |
| html body .citizen-page-actions button:active {
| |
| background: var(--nv-paper) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| }
| |
| | |
| html body .citizen-page-actions .cdx-button:focus-visible,
| |
| html body .citizen-page-actions a:focus-visible,
| |
| html body .citizen-page-actions button:focus-visible {
| |
| outline: 2px solid var(--nv-accent) !important;
| |
| outline-offset: 2px !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body .citizen-page-actions .citizen-ui-icon::before {
| |
| background: currentColor !important;
| |
| }
| |
| | |
| /* closed/open “more” card behind the mobile action bubble */
| |
| html body #citizen-page-actions-more__card,
| |
| html body .citizen-page-actions .citizen-menu__card {
| |
| background: var(--nv-paper-raised) !important;
| |
| border: 1px solid var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| backdrop-filter: none !important;
| |
| -webkit-backdrop-filter: none !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body #citizen-page-actions-more__card .citizen-menu__card-content,
| |
| html body #citizen-page-actions-more__card .citizen-menu__heading,
| |
| html body #citizen-page-actions-more__card .citizen-menu__content {
| |
| background: transparent !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body #citizen-page-actions-more__card .citizen-menu__card-content a {
| |
| color: var(--nv-ink-muted) !important;
| |
| }
| |
| | |
| html body #citizen-page-actions-more__card .citizen-menu__card-content a:hover,
| |
| html body #citizen-page-actions-more__card .citizen-menu__card-content a:focus-visible {
| |
| color: var(--nv-ink) !important;
| |
| background: var(--nv-paper-deep) !important;
| |
| }
| |
| | |
| /* TOC / directory button at the bottom-left */
| |
| html body #citizen-toc .citizen-dropdown-summary {
| |
| background: var(--nv-paper-raised) !important;
| |
| border: 1px solid var(--nv-hair) !important;
| |
| color: var(--nv-ink) !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| html body #citizen-toc .citizen-dropdown-summary:hover,
| |
| html body #citizen-toc .citizen-dropdown-summary:active {
| |
| background: var(--nv-paper-deep) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body #citizen-toc .citizen-dropdown-summary:focus-visible {
| |
| outline: 2px solid var(--nv-accent) !important;
| |
| outline-offset: 2px !important;
| |
| }
| |
| } | | } |
|
| |
|
| /* Mobile header decorative surface is Citizen's cold translucent rail.
| | .nv-footer-menu__search { |
| Keep the reading tools shell in warm paper; do not touch dropdown/account content. */
| | width: 100%; |
| @media (max-width: 720px) {
| | box-sizing: border-box; |
| html body.action-view .citizen-header::after {
| | margin: 0 0 .3rem; |
| background: var(--nv-paper) !important;
| | padding: .2rem .35rem; |
| -webkit-backdrop-filter: none !important;
| |
| backdrop-filter: none !important;
| |
| } | |
| | |
| html body.action-view .citizen-header .cdx-button,
| |
| html body.action-view .citizen-header a.cdx-button,
| |
| html body.action-view .citizen-header button.cdx-button {
| |
| background: transparent !important;
| |
| color: var(--nv-ink-muted) !important;
| |
| border-color: transparent !important;
| |
| box-shadow: none !important;
| |
| }
| |
| | |
| html body.action-view .citizen-header .cdx-button:hover,
| |
| html body.action-view .citizen-header a.cdx-button:hover,
| |
| html body.action-view .citizen-header button.cdx-button:hover {
| |
| background: var(--nv-paper-deep) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| box-shadow: none !important;
| |
| } | |
| | |
| html body.action-view .citizen-header .cdx-button:active,
| |
| html body.action-view .citizen-header a.cdx-button:active,
| |
| html body.action-view .citizen-header button.cdx-button:active {
| |
| background: var(--nv-paper) !important;
| |
| color: var(--nv-ink) !important;
| |
| border-color: var(--nv-hair) !important;
| |
| }
| |
| | |
| html body.action-view .citizen-header .cdx-button:focus-visible,
| |
| html body.action-view .citizen-header a.cdx-button:focus-visible,
| |
| html body.action-view .citizen-header button.cdx-button:focus-visible {
| |
| outline: 2px solid var(--nv-accent) !important;
| |
| outline-offset: 2px !important;
| |
| background: var(--nv-paper-raised) !important;
| |
| color: var(--nv-ink) !important;
| |
| }
| |
| | |
| html body.action-view .citizen-header .citizen-ui-icon::before {
| |
| background: currentColor !important;
| |
| }
| |
| }
| |
| | |
| /* Old Page Previews page-summary type is not a second preview surface.
| |
| This is intentionally limited to page/generic/disambiguation popups;
| |
| .mwe-popups-type-reference (Cite Reference Previews) is untouched. */
| |
| html body .mwe-popups:not(.mwe-popups-type-reference) {
| |
| display: none !important; | |
| visibility: hidden !important;
| |
| }
| |
| | |
| /* ==========================================================================
| |
| nv-lock.css · 渐进锁定阅读卡
| |
| 圆环只由 JS 的真实 800ms 进度填满;不旋转。
| |
| ========================================================================== */
| |
| | |
| .nv-lock { | |
| position: fixed;
| |
| z-index: 1200;
| |
| display: flex;
| |
| flex-direction: column;
| |
| width: 352px;
| |
| max-width: calc(100vw - 24px);
| |
| max-height: min(62vh, 410px);
| |
| overflow: hidden;
| |
| border: 1px solid var(--nv-line); | | border: 1px solid var(--nv-line); |
| border-radius: 0;
| | background: var(--nv-paper); |
| background: var(--nv-paper-raised); | |
| color: var(--nv-ink); | | color: var(--nv-ink); |
| box-shadow: none;
| | font: inherit; |
| font-family: var(--nv-ui-font); | |
| font-size: 13px;
| |
| line-height: 1.65;
| |
| } | | } |
|
| |
|
| .nv-lock__header { | | .nv-footer-menu__sections { |
| display: flex;
| | display: flex; flex-direction: column; |
| flex: 0 0 auto;
| |
| align-items: center;
| |
| gap: 6px;
| |
| min-height: 34px;
| |
| padding: 6px 9px 6px 11px;
| |
| border-bottom: 1px solid var(--nv-hair);
| |
| background: var(--nv-paper-raised);
| |
| } | | } |
|
| |
|
| .nv-lock__back { | | .nv-footer-menu__item { |
| display: none;
| | display: block; |
| flex: 0 0 auto;
| | width: 100%; |
| align-items: center;
| | padding: .22rem .5rem .22rem .5rem; |
| justify-content: center;
| |
| width: 22px; | |
| height: 22px;
| |
| padding: 0; | |
| border: 0; | | border: 0; |
| background: transparent; | | background: transparent; |
| color: var(--nv-ink-muted); | | color: var(--nv-ink); |
| font: inherit; | | font: inherit; |
| font-size: 15px; | | text-align: left; |
| line-height: 1;
| |
| cursor: pointer; | | cursor: pointer; |
| } | | } |
|
| |
|
| .nv-lock__back:focus-visible { | | .nv-footer-menu__item:hover, |
| outline: 2px solid var(--nv-accent);
| | .nv-footer-menu__item:focus-visible { |
| outline-offset: 2px;
| | background: var(--nv-wash); |
| } | | } |
|
| |
|
| .nv-lock__title { | | .nv-footer-menu__item--page { |
| min-width: 0;
| | border-bottom: 1px solid var(--nv-line); font-weight: 600; |
| overflow: hidden;
| |
| flex: 1 1 auto;
| |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-display-font);
| |
| font-size: 18px;
| |
| font-weight: 700;
| |
| line-height: 1.3;
| |
| text-decoration: none !important;
| |
| white-space: nowrap;
| |
| text-overflow: ellipsis;
| |
| } | | } |
|
| |
|
| .nv-lock__ring { | | .nv-lock .nv-lock__article .mw-parser-output h2 { |
| display: block; | | margin: .8rem 0 .38rem; |
| flex: 0 0 auto;
| | padding-bottom: 5px; |
| width: 16px;
| |
| height: 16px;
| |
| overflow: visible; | |
| } | | } |
|
| |
|
| .nv-lock__ring circle { | | .nv-lock .nv-lock__article .mw-parser-output h3 { |
| fill: none; | | margin: .72rem 0 .32rem; |
| stroke-width: 1.7; | | padding-bottom: 5px; |
| } | | } |
|
| |
|
| .nv-lock__ring .nv-lock__ring-track { | | .nv-lock .nv-lock__article .mw-parser-output h4, |
| stroke: var(--nv-lock-ring-track, #D8CDBB);
| | .nv-lock .nv-lock__article .mw-parser-output h5, |
| | .nv-lock .nv-lock__article .mw-parser-output h6 { |
| | margin: .6rem 0 .26rem; |
| | padding-bottom: 4px; |
| } | | } |
|
| |
|
| .nv-lock__ring .nv-lock__ring-arc { | | .nv-lock .nv-lock__article .mw-parser-output .nv-infobox { |
| stroke: var(--nv-lock-ring, #8A6A4E);
| | float: none; width: 100%; max-width: min(100%, 540px); margin: 0 auto .9rem; |
| opacity: .92; | |
| stroke-linecap: butt;
| |
| stroke-dasharray: 40.21;
| |
| stroke-dashoffset: 40.21;
| |
| transform: rotate(-90deg);
| |
| transform-origin: 50% 50%;
| |
| } | | } |
|
| |
|
| .nv-lock__body { | | html body .nv-lock__article .nv-infobox__rows, |
| flex: 1 1 auto;
| | html body .nv-lock__article .nv-infobox__rows > .nv-infobox__row { |
| min-height: 0;
| | width: 100% !important; |
| overflow-y: auto;
| | box-sizing: border-box !important; |
| padding: 10px 12px 12px;
| |
| scrollbar-width: thin;
| |
| scrollbar-color: var(--nv-hair) transparent; | |
| } | | } |
|
| |
|
| .nv-lock__definition { | | html body .nv-lock__article .nv-infobox__row { |
| margin: 0 !important;
| | justify-content: space-between !important; |
| color: var(--nv-ink) !important;
| |
| font-family: var(--nv-body-font) !important;
| |
| font-size: 14px !important;
| |
| line-height: 1.8 !important;
| |
| text-align: left !important;
| |
| } | | } |
|
| |
|
| .nv-lock__term-link { | | html body .nv-lock__article .nv-infobox__media { |
| color: var(--nv-link) !important;
| | justify-content: center !important; |
| text-decoration: none !important;
| |
| border-bottom: 1px dotted color-mix(in srgb, var(--nv-link) 45%, transparent);
| |
| cursor: pointer;
| |
| } | | } |
|
| |
|
| .nv-lock__term-link:hover { | | .nv-page-footer { |
| text-decoration: underline !important; | | display: flex; |
| text-underline-offset: 2px; | | flex-direction: column; |
| | gap: .28rem; |
| | margin: .7rem 0 .4rem; |
| | font-family: var(--nv-ui-font); |
| | font-size: 12.5px; |
| | line-height: 1.7; |
| | color: var(--nv-ink-muted); |
| } | | } |
|
| |
|
| .nv-lock__term-link:focus-visible { | | .nv-page-footer__row { |
| outline: 2px solid var(--nv-link); | | display: flex; |
| outline-offset: 1px; | | flex-wrap: wrap; |
| | align-items: baseline; |
| | gap: .2rem .6rem; |
| } | | } |
|
| |
|
| /* narrow screens: one readable panel, back arrow, still can go deeper */
| | .nv-page-footer__label { |
| @media (max-width: 720px) {
| | flex: 0 0 auto; opacity: .78; |
| .nv-lock {
| |
| width: min(352px, calc(100vw - 24px)) !important;
| |
| max-height: min(58vh, 390px);
| |
| }
| |
| | |
| .nv-lock--single .nv-lock__back {
| |
| display: inline-flex !important;
| |
| }
| |
| } | | } |
|
| |
|
| @media (prefers-reduced-motion: reduce) {
| | .nv-page-footer__items { |
| .nv-lock,
| | display: inline; white-space: normal; |
| .nv-lock * {
| |
| animation: none !important;
| |
| transition: none !important;
| |
| }
| |
| } | | } |
| .nv-lock__back[hidden] { display: none !important; }
| |
| .nv-lock__title:focus-visible { outline: 2px solid var(--nv-accent); outline-offset: 2px; }
| |
|
| |
|
| /* 2026-10-25 wide-table / rule-book hierarchy task.
| | .nv-page-footer__item { |
| Appended after the accepted reading-rhythm and nv-lock layers. */
| | display: inline; |
| | | margin: 0; |
| /* -------------------------------------------------------------------------
| | padding: 0; |
| 1. Use the real content column width; prose gets a comfortable cap while
| |
| tables and infoboxes use the available width.
| |
| ------------------------------------------------------------------------- */
| |
| html body .mw-parser-output {
| |
| width: 100% !important;
| |
| max-width: none !important;
| |
| }
| |
| | |
| html body .mw-parser-output > p,
| |
| html body .mw-parser-output > ul,
| |
| html body .mw-parser-output > ol,
| |
| html body .mw-parser-output > dl,
| |
| html body .mw-parser-output > blockquote,
| |
| html body .mw-parser-output > .nv-notice {
| |
| max-width: 56em;
| |
| }
| |
| | |
| /* -------------------------------------------------------------------------
| |
| 2. One local horizontal scroller only. Tabber must not scroll or clip.
| |
| ------------------------------------------------------------------------- */
| |
| html body .mw-parser-output .tabber,
| |
| html body .mw-parser-output .tabber__section,
| |
| html body .mw-parser-output .tabber__panel {
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| overflow: visible !important;
| |
| }
| |
| | |
| html body .mw-parser-output .tabber__section {
| |
| display: block !important;
| |
| }
| |
| | |
| html body .mw-parser-output .tabber__panel {
| |
| display: block !important;
| |
| }
| |
| | |
| html body .mw-parser-output .tabber__panel[hidden] {
| |
| display: none !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-table-scroll {
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| overflow-x: auto !important;
| |
| overflow-y: visible !important;
| |
| margin-right: 0 !important;
| |
| margin-left: 0 !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-table-scroll table.wikitable {
| |
| width: auto !important;
| |
| max-width: none !important;
| |
| min-width: max-content;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-table-scroll table.wikitable tr > :first-child {
| |
| position: sticky;
| |
| left: 0;
| |
| z-index: 2;
| |
| background: var(--nv-paper-raised) !important;
| |
| box-shadow: 1px 0 0 var(--nv-hair);
| |
| }
| |
| | |
| html body .mw-parser-output .nv-table-scroll table.wikitable tr > th:first-child {
| |
| background: var(--nv-table-head) !important;
| |
| }
| |
| | |
| /* -------------------------------------------------------------------------
| |
| 3. Rule-book heading language: one warm-ink line fading to transparent.
| |
| ------------------------------------------------------------------------- */
| |
| html body .citizen-page-header {
| |
| border-bottom: 0 !important;
| |
| padding-bottom: 14px !important;
| |
| }
| |
| | |
| html body .citizen-page-header::after {
| |
| content: none !important;
| |
| display: none !important;
| |
| }
| |
| | |
| html body .citizen-page-heading h1 {
| |
| position: relative;
| |
| padding-bottom: 17px !important;
| |
| border-bottom: 0 !important;
| |
| background-color: transparent !important;
| |
| background-image: linear-gradient(90deg,
| |
| var(--nv-ink) 0%,
| |
| var(--nv-ink) 58%,
| |
| transparent 100%) !important;
| |
| background-size: 100% 2px !important;
| |
| background-position: 0 100% !important;
| |
| background-repeat: no-repeat !important;
| |
| }
| |
| | |
| html body .mw-parser-output h2,
| |
| html body .mw-parser-output h2.citizen-section-heading {
| |
| margin: 2.15rem 0 .78rem !important; | |
| padding: 0 0 10px !important; | |
| border: 0 !important; | | border: 0 !important; |
| border-bottom: 0 !important;
| | background: transparent !important; |
| background-color: transparent !important;
| | box-shadow: none !important; |
| background-image: linear-gradient(90deg,
| | font: inherit; |
| var(--nv-ink) 0%,
| | line-height: 1.7; |
| var(--nv-ink) 54%,
| |
| transparent 100%) !important;
| |
| background-size: 72% 2px !important;
| |
| background-position: 0 100% !important;
| |
| background-repeat: no-repeat !important;
| |
| color: var(--nv-ink) !important;
| |
| font-size: 29px !important;
| |
| line-height: 1.3 !important;
| |
| }
| |
| | |
| html body .mw-parser-output h3,
| |
| html body .mw-parser-output h3.citizen-section-heading {
| |
| margin: 1.55rem 0 .58rem !important;
| |
| padding: 0 0 7px !important;
| |
| border: 0 !important;
| |
| background-color: transparent !important;
| |
| background-image: linear-gradient(90deg, | |
| var(--nv-ink) 0%,
| |
| var(--nv-ink) 46%,
| |
| transparent 100%) !important;
| |
| background-size: 45% 1px !important;
| |
| background-position: 0 100% !important;
| |
| background-repeat: no-repeat !important;
| |
| color: var(--nv-ink) !important; | |
| font-size: 21.5px !important;
| |
| line-height: 1.4 !important;
| |
| }
| |
| | |
| html body .mw-parser-output h4,
| |
| html body .mw-parser-output h4.citizen-section-heading {
| |
| margin: 1.15rem 0 .42rem !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: none !important;
| |
| color: var(--nv-ink) !important;
| |
| font-size: 17.5px !important; | |
| line-height: 1.45 !important; | |
| }
| |
| | |
| html body .mw-parser-output h2 + h3 {
| |
| margin-top: .58rem !important;
| |
| }
| |
| | |
| html body .mw-parser-output h3 + h4 {
| |
| margin-top: .48rem !important;
| |
| }
| |
| | |
| html body .mw-parser-output h2 + p,
| |
| html body .mw-parser-output h3 + p,
| |
| html body .mw-parser-output h4 + p {
| |
| margin-top: .2rem !important;
| |
| }
| |
| | |
| /* -------------------------------------------------------------------------
| |
| 4. Content links: regular weight, including nested legacy bold wrappers.
| |
| Heading/navigation links keep their own hierarchy.
| |
| ------------------------------------------------------------------------- */
| |
| html body .mw-parser-output :is(p, li, dt, dd, td, th, figcaption, .nv-notice,
| |
| .nv-infobox, .nv-term, .nv-table-scroll) a,
| |
| html body .mw-parser-output :is(p, li, dt, dd, td, th, figcaption, .nv-notice,
| |
| .nv-infobox, .nv-term, .nv-table-scroll) a:visited,
| |
| html body .mw-parser-output a strong,
| |
| html body .mw-parser-output a b,
| |
| html body .mw-parser-output strong a,
| |
| html body .mw-parser-output b a {
| |
| font-weight: 400 !important;
| |
| }
| |
| | |
| html body .mw-parser-output :is(p, li, dt, dd, td, th, figcaption, .nv-notice,
| |
| .nv-infobox, .nv-term, .nv-table-scroll) a:visited {
| |
| color: var(--nv-link) !important; | | color: var(--nv-link) !important; |
| | text-decoration: none; |
| | vertical-align: baseline; |
| | cursor: pointer; |
| } | | } |
|
| |
|
| /* -------------------------------------------------------------------------
| | a.nv-page-footer__item:visited { |
| 5. Infobox: wider value column, natural left alignment for long English.
| | color: var(--nv-link-visited) !important; |
| ------------------------------------------------------------------------- */
| |
| html body .mw-parser-output .nv-infobox {
| |
| width: 320px;
| |
| max-width: 100%;
| |
| margin: 4px 0 24px 26px;
| |
| text-align: left !important;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-infobox :is(p, dd, dt, li, td, th),
| | .nv-page-footer__item:hover { |
| html body .mw-parser-output .nv-infobox__value {
| | text-decoration: underline; |
| text-align: left !important;
| | text-underline-offset: 2px; |
| text-justify: auto !important; | |
| word-break: normal !important;
| |
| overflow-wrap: break-word;
| |
| hyphens: none;
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-infobox__rows {
| | .nv-page-footer__menu-wrap { |
| grid-template-columns: 82px minmax(0, 1fr);
| | position: relative; display: inline-block; |
| } | | } |
|
| |
|
| /* -------------------------------------------------------------------------
| | .nv-page-footer__sep { |
| 6. Parliament inside the shared infobox, same DOM/data, compact chart.
| | display: inline-block !important; |
| ------------------------------------------------------------------------- */
| | margin: 0 .38em !important; |
| html body .mw-parser-output .nv-infobox__parliament {
| |
| border-top: 1px solid var(--nv-hair) !important;
| |
| padding: 10px 12px 12px !important;
| |
| margin-top: 2px;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament {
| |
| clear: none !important;
| |
| width: 100% !important;
| |
| max-width: none !important;
| |
| margin: 0 !important; | |
| padding: 0 !important; | | padding: 0 !important; |
| border: 0 !important; | | border: 0 !important; |
| border-radius: 0 !important;
| |
| background: transparent !important; | | background: transparent !important; |
| text-align: left !important;
| |
| font-size: 12px;
| |
| line-height: 1.45;
| |
| }
| |
|
| |
| html body .mw-parser-output .nv-infobox .nv-parliament__title {
| |
| font-size: 15px !important;
| |
| font-weight: 700 !important;
| |
| line-height: 1.35 !important;
| |
| text-align: left !important;
| |
| }
| |
|
| |
| html body .mw-parser-output .nv-infobox .nv-parliament__session {
| |
| margin: .15rem 0 .45rem !important;
| |
| color: var(--nv-ink-muted) !important; | | color: var(--nv-ink-muted) !important; |
| font-size: 11px !important; | | font: inherit; |
| line-height: 1.4 !important; | | font-weight: 400 !important; |
| text-align: left !important; | | line-height: 1; |
| | text-decoration: none !important; |
| | pointer-events: none !important; |
| | user-select: none; |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__chamber {
| | @media (max-width: 640px) {.nv-page-footer { |
| width: 100% !important;
| | font-size: 12px; |
| height: 0 !important;
| | }.nv-page-footer__row { |
| padding-bottom: 47% !important;
| | gap: .2rem .35rem; |
| margin: 0 0 .35rem !important;
| | }} |
| } | |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__seat {
| | :root {--nv-icon-info: url("/images/wiki-icons/duotone/info.svg");--nv-icon-brief: url("/images/wiki-icons/duotone/brief.svg");--nv-icon-rule: url("/images/wiki-icons/duotone/rule.svg");--nv-icon-example: url("/images/wiki-icons/duotone/example.svg");--nv-icon-note: url("/images/wiki-icons/duotone/note.svg");--nv-icon-danger: url("/images/wiki-icons/duotone/danger.svg");--nv-icon-discussion: url("/images/wiki-icons/duotone/discussion.svg");--nv-icon-source: url("/images/wiki-icons/duotone/source.svg");--nv-icon-site-index: url("/images/wiki-icons/duotone/site-index.svg");--nv-icon-term: url("/images/wiki-icons/duotone/term.svg");--nv-icon-quote: url("/images/wiki-icons/duotone/quote.svg");--nv-icon-country: url("/images/wiki-icons/duotone/country.svg");--nv-icon-person: url("/images/wiki-icons/duotone/person.svg");--nv-icon-deity: url("/images/wiki-icons/duotone/deity.svg");--nv-icon-organization: url("/images/wiki-icons/duotone/organization.svg");} |
| width: 1.72% !important;
| |
| height: 3.45% !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__legend { | | html.skin-theme-clientpref-night, |
| width: 100% !important;
| | html.skin-theme-clientpref-black {--nv-icon-info: url("/images/wiki-icons/inverse/info.svg");--nv-icon-brief: url("/images/wiki-icons/inverse/brief.svg");--nv-icon-rule: url("/images/wiki-icons/inverse/rule.svg");--nv-icon-example: url("/images/wiki-icons/inverse/example.svg");--nv-icon-note: url("/images/wiki-icons/inverse/note.svg");--nv-icon-danger: url("/images/wiki-icons/inverse/danger.svg");--nv-icon-discussion: url("/images/wiki-icons/inverse/discussion.svg");--nv-icon-source: url("/images/wiki-icons/inverse/source.svg");--nv-icon-site-index: url("/images/wiki-icons/inverse/site-index.svg");--nv-icon-term: url("/images/wiki-icons/inverse/term.svg");--nv-icon-quote: url("/images/wiki-icons/inverse/quote.svg");--nv-icon-country: url("/images/wiki-icons/inverse/country.svg");--nv-icon-person: url("/images/wiki-icons/inverse/person.svg");--nv-icon-deity: url("/images/wiki-icons/inverse/deity.svg");--nv-icon-organization: url("/images/wiki-icons/inverse/organization.svg");} |
| max-width: 100% !important;
| |
| margin: 0 !important;
| |
| table-layout: fixed !important;
| |
| font-size: 10.5px !important;
| |
| line-height: 1.35 !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__legend th, | | @media (prefers-color-scheme: dark) {html.skin-theme-clientpref-os {--nv-icon-info: url("/images/wiki-icons/inverse/info.svg");--nv-icon-brief: url("/images/wiki-icons/inverse/brief.svg");--nv-icon-rule: url("/images/wiki-icons/inverse/rule.svg");--nv-icon-example: url("/images/wiki-icons/inverse/example.svg");--nv-icon-note: url("/images/wiki-icons/inverse/note.svg");--nv-icon-danger: url("/images/wiki-icons/inverse/danger.svg");--nv-icon-discussion: url("/images/wiki-icons/inverse/discussion.svg");--nv-icon-source: url("/images/wiki-icons/inverse/source.svg");--nv-icon-site-index: url("/images/wiki-icons/inverse/site-index.svg");--nv-icon-term: url("/images/wiki-icons/inverse/term.svg");--nv-icon-quote: url("/images/wiki-icons/inverse/quote.svg");--nv-icon-country: url("/images/wiki-icons/inverse/country.svg");--nv-icon-person: url("/images/wiki-icons/inverse/person.svg");--nv-icon-deity: url("/images/wiki-icons/inverse/deity.svg");--nv-icon-organization: url("/images/wiki-icons/inverse/organization.svg");}} |
| html body .mw-parser-output .nv-infobox .nv-parliament__legend td {
| |
| padding: 2px 3px !important;
| |
| text-align: left !important;
| |
| } | |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__legend th:first-child { | | html body .mw-parser-output .nv-entry-icon { |
| width: 58% !important; | | display: inline-flex; |
| | align-items: center; |
| | margin-right: 6px; |
| | vertical-align: -0.22em; |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__mini { | | html body .mw-parser-output .nv-entry-icon .nv-icon { |
| margin: .25rem 0 .35rem !important;
| | width: 16px; height: 16px; |
| border-top: 1px solid var(--nv-hair);
| |
| } | | } |
|
| |
|
| html body .mw-parser-output .nv-infobox .nv-parliament__mini th, | | html body .mw-parser-output .nv-icon:not([style]) { |
| html body .mw-parser-output .nv-infobox .nv-parliament__mini td {
| | min-width: 16px; min-height: 16px; |
| padding: 2px 3px !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament__legend-details {
| |
| margin-top: .2rem;
| |
| border-top: 1px solid var(--nv-hair);
| |
| padding-top: .25rem;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament__legend-details summary {
| |
| cursor: pointer;
| |
| color: var(--nv-ink-muted);
| |
| font-size: 11px;
| |
| line-height: 1.5;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament__legend-details[open] summary {
| |
| margin-bottom: .3rem;
| |
| color: var(--nv-ink);
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament__legend-details .nv-parliament__legend {
| |
| margin-top: .3rem !important;
| |
| }
| |
| | |
| /* -------------------------------------------------------------------------
| |
| 7. Mobile: same hierarchy, no page-level horizontal drift.
| |
| ------------------------------------------------------------------------- */
| |
| @media (max-width: 720px) {
| |
| html body .mw-parser-output > p,
| |
| html body .mw-parser-output > ul,
| |
| html body .mw-parser-output > ol,
| |
| html body .mw-parser-output > dl,
| |
| html body .mw-parser-output > blockquote,
| |
| html body .mw-parser-output > .nv-notice {
| |
| max-width: none;
| |
| }
| |
| | |
| html body .citizen-page-heading h1 {
| |
| padding-bottom: 12px !important;
| |
| background-size: 100% 1.5px !important;
| |
| }
| |
| | |
| html body .mw-parser-output h2,
| |
| html body .mw-parser-output h2.citizen-section-heading {
| |
| margin: 1.9rem 0 .65rem !important;
| |
| padding-bottom: 8px !important;
| |
| background-size: 82% 1.5px !important;
| |
| font-size: 24.5px !important;
| |
| }
| |
| | |
| html body .mw-parser-output h3,
| |
| html body .mw-parser-output h3.citizen-section-heading {
| |
| margin: 1.35rem 0 .5rem !important;
| |
| padding-bottom: 6px !important;
| |
| background-size: 56% 1px !important;
| |
| font-size: 19px !important;
| |
| }
| |
| | |
| html body .mw-parser-output h4,
| |
| html body .mw-parser-output h4.citizen-section-heading {
| |
| margin: 1rem 0 .36rem !important;
| |
| font-size: 16.5px !important;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox {
| |
| float: none;
| |
| width: 100%;
| |
| margin: 0 0 22px;
| |
| }
| |
| | |
| html body .mw-parser-output .nv-infobox .nv-parliament__chamber {
| |
| padding-bottom: 48% !important;
| |
| }
| |
| } | | } |