MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
/* Search input stays clean white — default Codex look works on blue */ | /* Search input stays clean white — default Codex look works on blue */ | ||
/* 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; | |||
} | |||
/* ---- Content area stays light for readability ---- */ | /* ---- Content area stays light for readability ---- */ | ||
| Line 75: | Line 82: | ||
border-top: 2px solid #0078d4; | border-top: 2px solid #0078d4; | ||
} | } | ||
/* | |||
/* ========================================================== | |||
. | Main Page | ||
# | ========================================================== */ | ||
color: # | |||
/* The Main Page speaks for itself — hide the default H1 */ | |||
.page-Main_Page.action-view #firstHeading, | |||
.page-Main_Page.action-view .mw-first-heading, | |||
.page-Main_Page.action-view #siteSub, | |||
.page-Main_Page.action-view #contentSub { | |||
display: none; | |||
} | |||
/* Hero */ | |||
.llsl-hero { | |||
background: linear-gradient(135deg, #0078d4, #2f66ad); | |||
color: #ffffff; | |||
border-radius: 12px; | |||
padding: 32px 36px; | |||
margin: 12px 0 28px; | |||
} | |||
.llsl-hero-title { | |||
font-family: 'Segoe UI', Arial, sans-serif; | |||
font-size: 2em; | |||
font-weight: 600; | |||
margin-bottom: 8px; | |||
} | |||
.llsl-hero-sub { | |||
color: #d6ecff; | |||
font-size: 1.05em; | |||
max-width: 58em; | |||
line-height: 1.5; | |||
} | |||
/* Section heading between blocks */ | |||
.llsl-section-title { | |||
font-family: 'Segoe UI', Arial, sans-serif; | |||
font-size: 1.35em; | |||
font-weight: 600; | |||
margin: 24px 0 4px; | |||
} | |||
/* Product family card grid */ | |||
.llsl-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | |||
gap: 16px; | |||
margin: 16px 0 28px; | |||
} | |||
.llsl-card { | |||
background: #ffffff; | |||
border: 1px solid #d3dbe6; | |||
border-top: 3px solid #0078d4; | |||
border-radius: 10px; | |||
padding: 18px 18px 16px; | |||
transition: box-shadow 0.15s; | |||
} | |||
.llsl-card:hover { | |||
box-shadow: 0 2px 12px rgba(0, 60, 120, 0.15); | |||
} | |||
.llsl-card-icon { | |||
width: 42px; | |||
height: 42px; | |||
margin-bottom: 10px; | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
} | |||
.llsl-icon-comms { background-image: url(/brand/icons/cat_communications.svg); } | |||
.llsl-icon-emergency { background-image: url(/brand/icons/cat_emergency_services.svg); } | |||
.llsl-icon-enforcement { background-image: url(/brand/icons/cat_enforcement.svg); } | |||
.llsl-icon-security { background-image: url(/brand/icons/cat_security.svg); } | |||
.llsl-icon-civic { background-image: url(/brand/icons/cat_civic.svg); } | |||
.llsl-icon-commerce { background-image: url(/brand/icons/cat_commerce.svg); } | |||
.llsl-icon-travel { background-image: url(/brand/icons/cat_travel.svg); } | |||
.llsl-icon-utilities { background-image: url(/brand/icons/cat_utilities.svg); } | |||
.llsl-card-title { | |||
font-family: 'Segoe UI', Arial, sans-serif; | |||
font-size: 1.1em; | |||
font-weight: 600; | |||
margin-bottom: 6px; | |||
} | |||
.llsl-card-desc { | |||
color: #54595d; | |||
font-size: 0.95em; | |||
line-height: 1.45; | |||
} | |||
/* Status notice */ | |||
.llsl-notice { | |||
background: #eaf2fb; | |||
border: 1px solid #b8d4f0; | |||
border-left: 4px solid #0078d4; | |||
border-radius: 8px; | |||
padding: 12px 16px; | |||
margin: 8px 0 24px; | |||
} | } | ||
Revision as of 12:00, 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 */
/* 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;
}
/* ---- 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;
}
/* ==========================================================
Main Page
========================================================== */
/* The Main Page speaks for itself — hide the default H1 */
.page-Main_Page.action-view #firstHeading,
.page-Main_Page.action-view .mw-first-heading,
.page-Main_Page.action-view #siteSub,
.page-Main_Page.action-view #contentSub {
display: none;
}
/* Hero */
.llsl-hero {
background: linear-gradient(135deg, #0078d4, #2f66ad);
color: #ffffff;
border-radius: 12px;
padding: 32px 36px;
margin: 12px 0 28px;
}
.llsl-hero-title {
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 2em;
font-weight: 600;
margin-bottom: 8px;
}
.llsl-hero-sub {
color: #d6ecff;
font-size: 1.05em;
max-width: 58em;
line-height: 1.5;
}
/* Section heading between blocks */
.llsl-section-title {
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 1.35em;
font-weight: 600;
margin: 24px 0 4px;
}
/* Product family card grid */
.llsl-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 16px;
margin: 16px 0 28px;
}
.llsl-card {
background: #ffffff;
border: 1px solid #d3dbe6;
border-top: 3px solid #0078d4;
border-radius: 10px;
padding: 18px 18px 16px;
transition: box-shadow 0.15s;
}
.llsl-card:hover {
box-shadow: 0 2px 12px rgba(0, 60, 120, 0.15);
}
.llsl-card-icon {
width: 42px;
height: 42px;
margin-bottom: 10px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.llsl-icon-comms { background-image: url(/brand/icons/cat_communications.svg); }
.llsl-icon-emergency { background-image: url(/brand/icons/cat_emergency_services.svg); }
.llsl-icon-enforcement { background-image: url(/brand/icons/cat_enforcement.svg); }
.llsl-icon-security { background-image: url(/brand/icons/cat_security.svg); }
.llsl-icon-civic { background-image: url(/brand/icons/cat_civic.svg); }
.llsl-icon-commerce { background-image: url(/brand/icons/cat_commerce.svg); }
.llsl-icon-travel { background-image: url(/brand/icons/cat_travel.svg); }
.llsl-icon-utilities { background-image: url(/brand/icons/cat_utilities.svg); }
.llsl-card-title {
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 1.1em;
font-weight: 600;
margin-bottom: 6px;
}
.llsl-card-desc {
color: #54595d;
font-size: 0.95em;
line-height: 1.45;
}
/* Status notice */
.llsl-notice {
background: #eaf2fb;
border: 1px solid #b8d4f0;
border-left: 4px solid #0078d4;
border-radius: 8px;
padding: 12px 16px;
margin: 8px 0 24px;
}