MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→========================================================== LifeLinkSL Wiki — brand skin (blue on navy) Source of truth: brand/MediaWiki-Common.css in the repo. ==========================================================: →Brand blues drive links, buttons and progressive UI: :root { --color-progressive: #0078d4; --color-progressive--hover: #3777c8; --color-progressive--active: #2f66ad; } →---- Navy header (Vector 2022) ----: .vector-header-cont..." |
No edit summary |
||
| Line 79: | Line 79: | ||
.mw-footer-container { | .mw-footer-container { | ||
border-top: 2px solid #0078d4; | border-top: 2px solid #0078d4; | ||
} | |||
/* Codex-drawn icons (user links, notifications, search magnifier) | |||
use currentColor — recolour rather than filter */ | |||
.mw-header .cdx-icon, | |||
.mw-header .cdx-button, | |||
#p-search .cdx-icon, | |||
#vector-sticky-header .cdx-icon { | |||
color: #cfe4ff; | |||
} | |||
.mw-header .mw-ui-icon, | |||
.mw-header .vector-user-links .mw-ui-icon { | |||
filter: invert(0.85) brightness(1.3); | |||
} | } | ||
Revision as of 11:46, 31 July 2026
/* ==========================================================
LifeLinkSL Wiki — brand skin (blue on navy)
Source of truth: brand/MediaWiki-Common.css in the repo.
========================================================== */
/* Brand blues drive links, buttons and progressive UI */
:root {
--color-progressive: #0078d4;
--color-progressive--hover: #3777c8;
--color-progressive--active: #2f66ad;
}
/* ---- Navy header (Vector 2022) ---- */
.vector-header-container .mw-header,
.vector-header-container.vector-sticky-header-container,
#vector-sticky-header {
background: #0a0c12;
border-bottom: 2px solid #0078d4;
}
/* Header text and menu labels go light */
.mw-header a,
.mw-header .vector-dropdown-label,
#vector-sticky-header a,
#vector-sticky-header .vector-dropdown-label {
color: #cfe4ff;
}
.mw-header a:hover,
#vector-sticky-header a:hover {
color: #ffffff;
}
/* Header icons (hamburger, search, bell) are dark SVGs — lift them */
.mw-header .vector-icon,
#vector-sticky-header .vector-icon {
filter: invert(0.85) brightness(1.3);
}
/* Search box matches the OS dark surfaces */
.mw-header .cdx-text-input__input,
#vector-sticky-header .cdx-text-input__input {
background: #13161f;
border-color: #1e2230;
color: #eaf2fb;
}
.mw-header .cdx-text-input__input::placeholder {
color: #6b7891;
}
/* ---- Content area stays light for readability ---- */
/* Next-gen headings: sans-serif, not Wikipedia's serif */
.mw-body h1,
.mw-body h2,
.vector-body h1 {
font-family: 'Segoe UI', Arial, sans-serif;
font-weight: 600;
}
/* Selected tab gets the brand underline */
.vector-tab-noicon.selected > a,
.vector-tab-noicon.selected {
color: #0078d4;
}
/* Table of contents active item */
.vector-toc .vector-toc-list-item-active > a {
color: #0078d4;
}
/* Standard wiki tables pick up a light brand touch */
.wikitable > tr > th,
.wikitable > * > tr > th {
background: #eaf2fb;
color: #0a0c12;
}
/* Footer */
.mw-footer-container {
border-top: 2px solid #0078d4;
}
/* Codex-drawn icons (user links, notifications, search magnifier)
use currentColor — recolour rather than filter */
.mw-header .cdx-icon,
.mw-header .cdx-button,
#p-search .cdx-icon,
#vector-sticky-header .cdx-icon {
color: #cfe4ff;
}
.mw-header .mw-ui-icon,
.mw-header .vector-user-links .mw-ui-icon {
filter: invert(0.85) brightness(1.3);
}