MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,267:
so the two gaps stay equal in px despite different heading
sizes); ~2x the old h3 space (was 1.8em ≈ 32px) */
--ed-list-indent: 1.2remvar(--ed-body); /* per-level indent = the marker-to-text step, tied to the
BODY size (rem,1em NOT= em16px)ana clean emtypographic offsetratio wouldthat resolvethe
against each markertable's own fontfirst-size)column */labels also align to (see section 12).
Still rem-based (via --ed-body), NOT em — an em offset would
resolve against each marker's own font-size. */
 
/* section 11's table palette, warmed onto the same ramp.
Line 1,402 ⟶ 1,404:
.wikitable th:last-child,
.wikitable td:last-child { border-right: 1px solid var(--wt-rule); }
 
/* row labels MEET the bullets: the first column's text starts at the SAME indent
as list text (both = --ed-list-indent), so table row-labels and bullet text read
on ONE axis. The table frame + the bullet dots already share x=0, so this lands
the second axis too. Tied to the same variable → they can never drift apart. */
.wikitable th:first-child,
.wikitable td:first-child { padding-left: var(--ed-list-indent); }
 
table.wikitable { margin: 0; border-left: 1px solid var(--wt-rule); }