MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1,338:
the infobox — tighter readable line + a gutter before the card */
--ed-body: 1.125rem; /* body size (18px) */
--ed-flow: 0.6rem; /* THE intra-section gap: between paragraphs, list
items, and ABOVE/BELOW tables — ONE uniform rhythm
WITHIN a section. Section BREAKS (the space before a
heading) are the larger em margin-tops on h2/h3, so
separation reads as contrast: tight inside, airy before. */
--ed-small: 0.8125rem; /* THE small size: tables, infobox, TOC, footer */
--ed-title-gap: 2.1rem; /* CALIBRATION: moves the title rule DOWN */
Line 1,415 ⟶ 1,420:
.mw-parser-output > dl { max-width: var(--ed-measure); }
/* nested paragraphs too (hand-written page structures); table cells released */
.mw-parser-output p { max-width: var(--ed-measure); margin: var(--ed-flow) 0; }
/* cells + infobox sit OUTSIDE the prose flow — kill the inherited gap so it
.mw-parser-output table p { max-width: none; }
doesn't pad table cells / the infobox open from inside */
.mw-parser-output table p,
.mw-parser-output table.infobox p { max-width: none; margin: 0; }
/* 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 1,481 ⟶ 1,489:
 
/* the table's outer margins live on the scroll WRAPPER (the emitter wraps
every table in <div style="overflow-x:auto">): topthe margintable givesJOINS airthe
intra-section flow — same gap above and below as paragraphs and list items,
before the eyebrow caption + separates consecutive tables; the scrollbar
so it no longer punches a hole in the rhythm; the scrollbar goes thin and
goes thin and quiet in the header-row tint */
.mw-parser-output div[style*="overflow-x"],
.copy-table-scroll {
margin: 1.8emvar(--ed-flow) 0 2em;
scrollbar-width: thin;
scrollbar-color: var(--wt-th-bg) transparent;
Line 1,531 ⟶ 1,540:
 
/* list rhythm: air between points, predictable nesting */
.mw-parser-output ul { margin-top: 0.4em; },
.mw-parser-output liol { margin-top: var(--ed-flow); margin-bottom: 0.45emvar(--ed-flow); }
.mw-parser-output li { margin-bottom: var(--ed-flow); }
.mw-parser-output li li { margin-top: 0.3em; margin-bottom: 0.3em; }
.mw-parser-output li > ul { margin-top: 0.3em; }
Line 1,606 ⟶ 1,616:
color: var(--ed-ink) !important;
border-bottom: 1px solid var(--ed-ink) !important;
margin-top: 2.6em; /* SECTION break BEFORE h2 — the air that says "new section" */
margin-top: 2.2em;
margin-bottom: 0.7emvar(--ed-flow); /* AFTER the heading = the intra-section flow gap */
padding-bottom: 0.3em;
}
Line 1,619 ⟶ 1,629:
full-width rule (added when h3 was 20px and blended in) is now just
clutter — h2 keeps its rule, h3 stands on size + sans weight. */
margin-top: 2.3em; /* SECTION break BEFORE h3 — bigger, so subsections separate */
margin-top: 1.8em;
margin-bottom: 0.6emvar(--ed-flow); /* AFTER the heading = the intra-section flow gap */
}
.mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {