MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,326:
 
/* =================================================================
12. EDITORIAL DESIGN SYSTEM v6v7 ("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.
v7: visitors see no Appearance UI; Minerva (mobile) tables use one
v6: Minerva (mobile) gets the paper canvas + serif voice, the
light line tone; the AI panel shares the site sans + teal citations.
text/infobox axis is hardened against any infobox markup, tables
drop to two line tones, AI assistant panel joins the theme.
================================================================= */
 
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 (panel frame, scrollbaredges) */
--ed-link: #0d7680; /* interactive teal (FT's link color) */
--ed-underline: #ccc1b7; /* resting link underline tint */
Line 1,410 ⟶ 1,409:
}
@media print { body, .mw-page-container { background-color: #fff !important; } }
 
/* ── Visitor chrome: anonymous users get no Appearance UI (same
.group-user convention as section 6; Group-user.css re-shows) ── */
body:not(.group-user) .vector-appearance-landmark,
body:not(.group-user) #vector-appearance-dropdown,
body:not(.group-user) #vector-appearance-pinned-container,
body:not(.group-user) #vector-appearance,
body:not(.group-user) .vector-column-end { display: none !important; }
 
/* ── Mobile (Minerva) keeps ONE light line tone in tables — every
structural table line consumes --wt-rule, so one override
simplifies frame, header rule, and side rails at once ── */
.skin-minerva { --wt-rule: var(--wt-border); }
 
/* ── ONE sans: the whole interface (header, search, tagline, buttons,
Line 1,706 ⟶ 1,718:
teal send button (later !important wins the ties vs section 8) ── */
.ext-aiassistant-panel { border: 1px solid var(--ed-hairline-strong) !important; }
/* ONE sans for the whole panel UI (the extension ships its own stack);
the assistant-message serif rule below this still wins for answers */
.ext-aiassistant-panel,
.ext-aiassistant-panel input,
.ext-aiassistant-panel textarea,
.ext-aiassistant-panel button { font-family: var(--ed-sans) !important; }
.ext-aiassistant-header { border-bottom: 1px solid var(--ed-hairline) !important; }
.ext-aiassistant-message-user .ext-aiassistant-message__content {
Line 1,731 ⟶ 1,749:
color: var(--ed-link) !important;
}
/* citation chips in the theme's interactive teal, like article links */
.ext-aiassistant-cite,
.ext-aiassistant-cite a { color: var(--ed-link) !important; }
 
/* ── Mobile ── */