MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,326:
/* =================================================================
12. EDITORIAL DESIGN SYSTEM
Appended LAST deliberately: later rules of equal specificity win,
so this section restyles typography / color / spacing WITHOUT
Line 1,332:
color variables from here — a later :root wins). Delete the whole
section to revert.
(calibration knobs marked below), and the prose right edge lands
on the infobox's left border.
================================================================= */
Line 1,377:
--ed-accent: #f07662; /* house coral — hover underline, sparing */
--ed-paper: #fbfaf7; /* page canvas (set #fff to disable the tint) */
--ed-measure:
--ed-body: 1rem; /* body size (16px — the "90% zoom" preference) */
--ed-small: 0.8125rem; /* THE small size: tables, infobox, TOC, footer */
--ed-title-gap:
/* section 11's table palette, warmed onto the same ramp.
Line 1,518:
}
/* ── Title block: serif display, REGULAR weight, large;
h1#firstHeading, .mw-first-heading {
font-family: var(--ed-serif);
Line 1,605:
/* ── TOC sidebar: quiet sans at the ONE small size; "CONTENTS" carries
a 2px ink rule
rule (exact for single-line titles; a wrapping title pushes its
.vector-toc { font-family: var(--ed-sans); }
.vector-toc .vector-pinnable-header {
border-bottom: 2px solid var(--ed-ink) !important;
padding-top: 1rem; /* CALIBRATION: moves the CONTENTS rule up/down */
padding-bottom:
margin-bottom: 0.9rem;
}
Line 1,689:
/* ── Mobile ── */
@media screen and (max-width: 768px) {
:root { --ed-measure: 100%; } /* infobox is full-width on mobile */
h1#firstHeading, .mw-first-heading { font-size: 1.7rem; }
.mw-body-content h2, .mw-body-content .mw-heading2 { font-size: 1.22rem; }
| |||