MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,290:
--ed-accent: #f07662; /* house coral — interaction only */
--ed-paper: #fff; /* page canvas */
--ed-infobox-w: 18.5rem; /* infobox total width (border-box).
is FULL WIDTH (default MediaWiki flow around
the
was retired 2026-07 */
--ed-body: 1.0625rem; /* body size — 17px: STIX Two Text has a smaller
x-height than the old Source Serif 4, so +1px
Line 1,393 ⟶ 1,394:
font-variant-numeric: lining-nums;
}
/* prose runs FULL WIDTH (default MediaWiki flow, wrapping around the
floated infobox) — the old --ed-measure cap is retired */
/* guards: the data voice stays sans at the ONE small size — otherwise the
serif body size would silently scale section 11's 0.85em tables (and
Line 2,006 ⟶ 2,001:
}
/* ── Infobox: the page's ONE white card, in the data voice;
pinned class-generically so ANY infobox markup (table or div)
▲ !important so inline widths cannot break the axis — and pinned
.mw-parser-output .infobox { /* class-generic: any infobox markup */
width: var(--ed-infobox-w) !important;
Line 2,088 ⟶ 2,083:
margin-bottom: 0.15em;
}
}
Line 2,359 ⟶ 2,352:
/* ── Mobile ── */
@media screen and (max-width: 768px) {
h1#firstHeading, .mw-first-heading { font-size: 1.7rem; }
.mw-body-content h2, .mw-body-content .mw-heading2 { font-size: 1.22rem; }
| |||