MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,326:
/* =================================================================
12. EDITORIAL DESIGN SYSTEM v5.
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.
hand-written pages too); scrollbar in the header tint.
================================================================= */
Line 1,372 ⟶ 1,371:
--ed-faint: #807973; /* page refs, list markers, footer body */
--ed-hairline: #e7e2db; /* light warm line (infobox frame) */
--ed-hairline-strong: #d6d0c8; /* stronger warm line (edges
--ed-link: #0d7680; /* interactive teal (FT's link color) */
--ed-underline: #ccc1b7; /* resting link underline tint */
Line 1,443 ⟶ 1,442:
/* ── The table BLOCK ──
1. Printed ON the paper (not white cards): surfaces transparent
scrolling content)
2. Full frame in --wt-rule. Sides: the RIGHT rail is a plain
border on the last-column cells; the LEFT rail must be a
Line 1,455 ⟶ 1,453:
so the rail is the only line there.
3. The table's outer margins move to the scroll WRAPPER so the
horizontal scrollbar hugs the bottom rule
table.wikitable,
table.wikitable td,
table.wikitable caption { background-color: transparent; }
.wikitable td:first-child { background-color: var(--
table.wikitable > tbody > tr:hover > td { background-color: #f2ede5; }
Line 1,477 ⟶ 1,475:
margin: 0.3em 0 2em;
scrollbar-width: thin;
scrollbar-color: var(--
}
Line 1,634 ⟶ 1,632:
/* ── Infobox: the page's ONE white card, in the data voice; its width
is the SAME token the prose measure subtracts,
!important so inline widths on hand-written pages cannot break
the axis. table.infobox (0,2,1) also out-specifies the
.mw-parser-output table.infobox {
font-family: var(--ed-sans);
font-size: var(--ed-small);
width: var(--ed-infobox-w) !important;
beats inline widths on hand-written pages */
box-sizing: border-box;
background-color: #fff !important;
Line 1,696 ⟶ 1,694:
@media screen and (max-width: 768px) {
:root { --ed-measure: 100%; } /* infobox is full-width on mobile */
.mw-parser-output table.infobox { width: 100% !important; }
h1#firstHeading, .mw-first-heading { font-size: 1.7rem; }
.mw-body-content h2, .mw-body-content .mw-heading2 { font-size: 1.22rem; }
| |||