MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary Tag: Reverted |
||
Line 1,259:
/* ── Design knobs.
TWO inks only: --ed-ink (dark — text + ALL structural rules) and
ONE gray ramp (3 grays + 2 hairlines), ONE small size, ONE sans.▼
--ed-secondary (the ONE un-emphasized gray). TWO line tones:
The --wt-* lines re-point section 11's table palette onto the▼
--ed-ink (heading underlines + table outer frame) and --ed-hairline
same warm ramp (this :root is later, so it wins the tie). ── */▼
▲
TUNING: lighten/darken the un-emphasized text via --ed-secondary
alone; the light line via --ed-hairline alone. ── */
:root {
--ed-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--ed-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Inter", Helvetica, Arial, sans-serif; /* = Vector/Codex chrome stack */
--ed-ink: #2b2926; /* MAIN dark: body text, headings,
structural rule — heading underlines, table
--ed-
text: labels, TOC, captions, footer, list
--ed-hairline-strong: #d6d0c8; /* stronger warm line (panel frame) */▼
markers, page-refs, table-header text */
--ed-faint: var(--ed-secondary); /* merged: one un-emphasized gray, not two */
--ed-hairline: #e7e2db; /* THE light line — every interior/secondary
line: table interior edges, infobox + AI-panel
frames, footnote-popover / button borders */
▲ --ed-hairline-strong:
--ed-link: #0d7680; /* interactive teal: links, focus, send */
--ed-underline: #ccc1b7; /* resting link underline tint */
Line 1,290 ⟶ 1,301:
resolve against each marker's own font-size. */
/* section 11's table palette,
the SAME weight as heading underlines; interior edges are THE light line */
--wt-border: var(--ed-hairline); /* interior table lines = the light line */
--wt-rule: var(--ed-ink); /* table outer frame + h3 rule = dark */
--wt-edge: var(--wt-border);
--wt-th-bg: #f3efe8;
--wt-th-text: var(--ed-secondary); /* table-header text = the un-emphasized gray */
}
Line 1,569 ⟶ 1,580:
font-weight: 600;
color: var(--ed-ink) !important;
/* a FULL-WIDTH rule like h2
border-bottom: 1px solid var(--wt-rule);
margin-top: var(--ed-heading-gap); /* doubled vs the old 1.8em; same as h2 */
| |||