MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================== | /* ========================================================== | ||
LifeLinkSL Wiki — brand skin (blue | LifeLinkSL Wiki — brand skin v2 (brand blue header) | ||
Source of truth: brand/MediaWiki-Common.css in the repo. | Source of truth: brand/MediaWiki-Common.css in the repo. | ||
========================================================== */ | ========================================================== */ | ||
| Line 11: | Line 11: | ||
} | } | ||
/* ---- | /* ---- Brand-blue header (Vector 2022) ---- */ | ||
.vector-header-container .mw-header, | .vector-header-container .mw-header, | ||
.vector-header-container.vector-sticky-header-container, | .vector-header-container.vector-sticky-header-container, | ||
#vector-sticky-header { | #vector-sticky-header { | ||
background: # | background: #0078d4; | ||
border-bottom: 2px solid # | border-bottom: 2px solid #2f66ad; | ||
} | } | ||
/* Header text and menu labels go | /* Header text and menu labels go white */ | ||
.mw-header a, | .mw-header a, | ||
.mw-header .vector-dropdown-label, | .mw-header .vector-dropdown-label, | ||
#vector-sticky-header a, | #vector-sticky-header a, | ||
#vector-sticky-header .vector-dropdown-label { | #vector-sticky-header .vector-dropdown-label { | ||
color: # | color: #eaf4ff; | ||
} | } | ||
.mw-header a:hover, | .mw-header a:hover, | ||
| Line 31: | Line 31: | ||
} | } | ||
/* Header icons (hamburger, | /* Header icons (hamburger, bell, tray, person) go white */ | ||
.mw-header .vector-icon, | .mw-header .vector-icon, | ||
#vector-sticky-header .vector-icon { | #vector-sticky-header .vector-icon { | ||
filter: | filter: brightness(0) invert(1); | ||
} | |||
.mw-header .vector-user-links .cdx-button, | |||
#vector-sticky-header .cdx-button { | |||
color: #ffffff; | |||
} | } | ||
/* Search | /* Search input stays clean white — default Codex look works on blue */ | ||
/* ---- Content area stays light for readability ---- */ | /* ---- Content area stays light for readability ---- */ | ||
| Line 58: | Line 53: | ||
} | } | ||
/* Selected tab gets the brand | /* Selected tab gets the brand colour */ | ||
.vector-tab-noicon.selected > a, | .vector-tab-noicon.selected > a, | ||
.vector-tab-noicon.selected { | .vector-tab-noicon.selected { | ||
| Line 79: | Line 74: | ||
.mw-footer-container { | .mw-footer-container { | ||
border-top: 2px solid #0078d4; | border-top: 2px solid #0078d4; | ||
} | } | ||
Revision as of 11:49, 31 July 2026
/* ==========================================================
LifeLinkSL Wiki — brand skin v2 (brand blue header)
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;
}
/* ---- Brand-blue header (Vector 2022) ---- */
.vector-header-container .mw-header,
.vector-header-container.vector-sticky-header-container,
#vector-sticky-header {
background: #0078d4;
border-bottom: 2px solid #2f66ad;
}
/* Header text and menu labels go white */
.mw-header a,
.mw-header .vector-dropdown-label,
#vector-sticky-header a,
#vector-sticky-header .vector-dropdown-label {
color: #eaf4ff;
}
.mw-header a:hover,
#vector-sticky-header a:hover {
color: #ffffff;
}
/* Header icons (hamburger, bell, tray, person) go white */
.mw-header .vector-icon,
#vector-sticky-header .vector-icon {
filter: brightness(0) invert(1);
}
.mw-header .vector-user-links .cdx-button,
#vector-sticky-header .cdx-button {
color: #ffffff;
}
/* Search input stays clean white — default Codex look works on blue */
/* ---- 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 colour */
.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;
}