MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,326:
 
/* =================================================================
12. EDITORIAL DESIGN SYSTEM v4v5 ("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.
v4v5: lighterthe tableCONTENTS framerule (belowand the h2title rulesrule inform theONE horizontal hierarchy),line
(calibration knobs marked below), and the prose right edge lands
sticky-safe left rail, title breathing room + CONTENTS rule on the
on the infobox's left border.
title's line, caption icon, logo on the title axis.
================================================================= */
 
Line 1,377:
--ed-accent: #f07662; /* house coral — hover underline, sparing */
--ed-paper: #fbfaf7; /* page canvas (set #fff to disable the tint) */
--ed-measure: 42em; calc(100% - 19rem); /* prose lineends length;at tablesthe breakinfobox's fullleft widthborder */
--ed-body: 1rem; /* body size (16px — the "90% zoom" preference) */
--ed-small: 0.8125rem; /* THE small size: tables, infobox, TOC, footer */
--ed-title-gap: 02.9rem1rem; /* airCALIBRATION: betweenmoves the headertitle barrule and the page titleDOWN */
 
/* section 11's table palette, warmed onto the same ramp.
Line 1,518:
}
 
/* ── Title block: serif display, REGULAR weight, large; breathingthe roomtitle-gap
underknob thelands headerits (beatsrule sectionon 2the CONTENTS rule's zero-margin reset)line ── */
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 sizedcalibrated to land on the sameSAME line as the title's rule
rule (exact for single-line titles; a wrapping title pushes its
(nudge padding-top ±2px to fine-align; exact only when the title
isrule a singleone line lower) ── */
.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-top: 1.55rem;
padding-bottom: 10.3rem4rem;
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; }