MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,326:
 
/* =================================================================
12. EDITORIAL DESIGN SYSTEM v7v8 ("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.
v8: focus rings join the interactive teal (search box + chat input);
v7: visitors see no Appearance UI; Minerva (mobile) tables use one
Appearance UI hidden via the Group-user.css architecture; Minerva
tables one light line tone; the AI panel sharesfully on the site sans + teal citationstheme.
================================================================= */
 
Line 1,371 ⟶ 1,372:
--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, edges) */
--ed-link: #0d7680; /* interactive teal: (FT'slinks, linkfocus, color)send */
--ed-underline: #ccc1b7; /* resting link underline tint */
--ed-accent: #f07662; /* house coral — hover underline, sparing */
Line 1,410 ⟶ 1,411:
@media print { body, .mw-page-container { background-color: #fff !important; } }
 
/* ── Visitor chrome: anonymousAppearance usersUI gethidden nofor AppearanceEVERYONE UIhere, (samere-shown
.groupfor logged-userin conventionusers as section 6;in MediaWiki:Group-user.css re-shows) ──(the */wiki's
read-only-mode architecture — Group-user.css only loads when
body:not(.group-user) .vector-appearance-landmark,
logged in, so no body-class dependency) ── */
body:not(.group-user) #vector-appearance-dropdown,
body:not(.group-user) #vector-appearance-pinned-containerlandmark,
body:not(.group-user) #vector-appearance-dropdown,
#vector-appearance-pinned-container,
body:not(.group-user) .vector-column-end { display: none !important; }
#vector-appearance,
body:not(.group-user) .vector-column-end { display: none !important; }
 
/* ── Mobile (Minerva) keeps ONE light line tone in tables — every
Line 1,627 ⟶ 1,630:
text-decoration: none;
}
 
/* ── Focus/active states join the interactive teal — Codex paints them
in its own progressive blue (#36c) otherwise. The generic
.cdx-text-input rule covers BOTH the header search box and the AI
chat input (same component). ── */
.cdx-text-input__input:focus,
.cdx-text-input__input:enabled:focus {
border-color: var(--ed-link) !important;
box-shadow: inset 0 0 0 1px var(--ed-link) !important;
}
.cdx-button:enabled:focus,
.cdx-button--fake-button:focus {
box-shadow: inset 0 0 0 2px var(--ed-link) !important;
}
:focus-visible { outline-color: var(--ed-link); }
 
/* ── TOC sidebar: quiet sans at the ONE small size; "CONTENTS" label at
Line 1,737 ⟶ 1,755:
}
.ext-aiassistant-prompt-composer:focus-within .ext-aiassistant-prompt-composer__input,
.ext-aiassistant-prompt-composer__input:focus { border-color: var(--ed-ink) !important; }
border-color: var(--ed-link) !important;
box-shadow: inset 0 0 0 1px var(--ed-link) !important;
}
.ext-aiassistant-prompt-composer__send:not(:disabled) {
background-color: var(--ed-link) !important;