Jump to content

MediaWiki:Common.css

From LifeLinkSL Wiki
Revision as of 11:53, 31 July 2026 by Courtneyjames (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==========================================================
   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;
}
/* Username + icon links on the header bar itself go white —
   scoped so the user dropdown's white panel keeps dark text */
.mw-header .vector-user-links-main a,
#vector-sticky-header .vector-user-links-main a {
	color: #ffffff !important;
}