Jump to content

MediaWiki:Common.css: Difference between revisions

From LifeLinkSL Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* ==========================================================
/* ==========================================================
   LifeLinkSL Wiki — brand skin (blue on navy)
   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:
}
}


/* ---- Navy header (Vector 2022) ---- */
/* ---- 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: #0a0c12;
background: #0078d4;
border-bottom: 2px solid #0078d4;
border-bottom: 2px solid #2f66ad;
}
}


/* Header text and menu labels go light */
/* 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: #cfe4ff;
color: #eaf4ff;
}
}
.mw-header a:hover,
.mw-header a:hover,
Line 31: Line 31:
}
}


/* Header icons (hamburger, search, bell) are dark SVGs — lift them */
/* 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: invert(0.85) brightness(1.3);
filter: brightness(0) invert(1);
}
.mw-header .vector-user-links .cdx-button,
#vector-sticky-header .cdx-button {
color: #ffffff;
}
}


/* Search box matches the OS dark surfaces */
/* Search input stays clean white — default Codex look works on blue */
.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 ---- */
/* ---- Content area stays light for readability ---- */
Line 58: Line 53:
}
}


/* Selected tab gets the brand underline */
/* 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;
}
/* 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: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;
}