MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,326:
 
/* =================================================================
12. EDITORIAL DESIGN SYSTEM v5.1 ("paper & ink")
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.
v5.1: the CONTENTS rule andback theto title1px, rulelabel formraised ONEto horizontalthe title's linetext
level, rule + text/infobox edges fine-calibrated (knobs marked).
(calibration knobs marked below), and the prose right edge lands
on the infobox's left border.
================================================================= */
 
Line 1,377 ⟶ 1,376:
--ed-accent: #f07662; /* house coral — hover underline, sparing */
--ed-paper: #fbfaf7; /* page canvas (set #fff to disable the tint) */
--ed-measure: calc(100% - 19rem19.25rem); /* prose ends at the infobox's left border */
--ed-body: 1rem; /* body size (16px — the "90% zoom" preference) */
--ed-small: 0.8125rem; /* THE small size: tables, infobox, TOC, footer */
Line 1,604 ⟶ 1,603:
}
 
/* ── TOC sidebar: quiet sans at the ONE small size; "CONTENTS" carrieslabel at
athe 2pxtitle's inktext rulelevel, calibratedits to1px landink rule on the SAME line as the title rule's line.
padding-top moves the LABEL and the rule together; padding-bottom
rule (exact for single-line titles; a wrapping title pushes its
rulemoves onethe lineRULE lower)only — fine-tune in 0.05rem steps. ── */
.vector-toc { font-family: var(--ed-sans); }
.vector-toc .vector-pinnable-header {
border-bottom: 2px1px solid var(--ed-ink) !important;
padding-top: 1rem0.35rem; /* CALIBRATION: moves the CONTENTSLABEL and the rule up/downtogether */
padding-bottom: 0.4rem95rem; /* CALIBRATION: moves the RULE only */
margin-bottom: 0.9rem;
}