MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
.vector-feature-page-tools-disabled .mw-page-container, | .vector-feature-page-tools-disabled .mw-page-container, | ||
.vector-feature-page-tools-enabled .mw-page-container { | .vector-feature-page-tools-enabled .mw-page-container { | ||
background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important; | |||
background-attachment: fixed !important; | |||
} | } | ||
| Line 15: | Line 15: | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
.vector-body { | .vector-body { | ||
background: transparent !important; | |||
} | } | ||
| Line 26: | Line 25: | ||
#mw-content-text, | #mw-content-text, | ||
.vector-body { | .vector-body { | ||
color: #fff !important; | |||
} | } | ||
| Line 35: | Line 34: | ||
.mw-page-title-main, | .mw-page-title-main, | ||
.page-Main_Page h1 { | .page-Main_Page h1 { | ||
color: #FFC300 !important; | |||
} | } | ||
| Line 43: | Line 42: | ||
.mw-logo img, | .mw-logo img, | ||
.mw-logo a.mw-logo-container img { | .mw-logo a.mw-logo-container img { | ||
height: 100px !important; | |||
width: auto !important; | |||
max-height: 100px !important; | |||
} | } | ||
.mw-logo-icon { background-size: auto 100px !important; } | |||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.mw-logo-icon, | |||
.mw-logo-icon img, | |||
.mw-logo img, | |||
.mw-logo a.mw-logo-container img { | |||
height: 32px !important; | |||
max-height: 32px !important; | |||
} | |||
.mw-logo-icon { background-size: auto 32px !important; } | |||
} | } | ||
| Line 71: | Line 64: | ||
#mw-header-container, | #mw-header-container, | ||
.mw-header { | .mw-header { | ||
background: #000814 !important; | |||
border-bottom: 2px solid #FFC300 !important; | |||
} | } | ||
| Line 78: | Line 71: | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-wordmark a { | .mw-logo-wordmark a { | ||
color: #FFC300 !important; | |||
font-size: 1.8em !important; | |||
font-weight: bold !important; | |||
text-decoration: none !important; | |||
} | } | ||
.mw-logo-wordmark a:hover { color: #FFD60A !important; } | |||
/* Sidebar headings */ | /* Sidebar headings */ | ||
| Line 92: | Line 82: | ||
.vector-main-menu-heading, | .vector-main-menu-heading, | ||
.mw-portlet h3 { | .mw-portlet h3 { | ||
color: #FFC300 !important; | |||
} | } | ||
| Line 98: | Line 88: | ||
PAGE CONTENT LINKS | PAGE CONTENT LINKS | ||
========================================================= */ | ========================================================= */ | ||
.mw-parser-output a { color: #4DA3FF !important; } | |||
.mw-parser-output a:visited { color: #9B7CFF !important; } | |||
.mw-parser-output a | .mw-parser-output a:hover { color: #6BB6FF !important; text-decoration: underline; } | ||
.mw-parser-output a:active { color: #1F4FA3 !important; } | |||
} | |||
.mw-parser-output a:visited { | |||
} | |||
.mw-parser-output a:hover { | |||
} | |||
.mw-parser-output a:active { | |||
} | |||
.mw-parser-output a.new, | .mw-parser-output a.new, | ||
.mw-parser-output a.new:visited { | .mw-parser-output a.new:visited { color: #CC2200 !important; } | ||
} | |||
/* | /* Optional: keep only if something is overriding text colors inside articles */ | ||
/* .mw-parser-output { color: #fff !important; } */ | |||
.mw-parser-output | |||
} | |||
/* ========================================================= | /* ========================================================= | ||
GLOBAL TABLE THEME (ALL PAGES) | GLOBAL TABLE THEME (ALL PAGES) | ||
========================================================= */ | ========================================================= */ | ||
.mw-parser-output .wikitable { | .mw-parser-output .wikitable { | ||
width: 100%; | |||
border-collapse: collapse !important; | |||
margin: 0.75em 0; | |||
background: #303030 !important; | |||
border: 1px solid #555555 !important; | |||
} | } | ||
.mw-parser-output .wikitable caption { | .mw-parser-output .wikitable caption { | ||
background: #001D3D !important; | |||
color: #fff !important; | |||
font-weight: bold; | |||
padding: 0.5em 0.7em !important; | |||
border-bottom: 1px solid #555555 !important; | |||
} | } | ||
.mw-parser-output .wikitable thead th { | .mw-parser-output .wikitable thead th { | ||
background: #000 !important; | |||
color: #EAEAEA !important; | |||
font-weight: 700; | |||
border: 1px solid #666666 !important; | |||
padding: 0.5em 0.7em !important; | |||
} | } | ||
.mw-parser-output | .mw-parser-output .wikitable tbody tr:nth-child(odd) { background-color: #303030 !important; } | ||
.mw-parser-output .wikitable tbody tr:nth-child(even) { | .mw-parser-output .wikitable tbody tr:nth-child(even) { background-color: #505050 !important; } | ||
} | |||
.mw-parser-output .wikitable tbody td { | .mw-parser-output .wikitable tbody td { | ||
border: 1px solid #555555 !important; | |||
color: #EAEAEA !important; | |||
padding: 0.5em 0.7em !important; | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
TABLE OF CONTENTS – Vector 2022 | TABLE OF CONTENTS – Vector 2022 | ||
========================================================= */ | ========================================================= */ | ||
#vector-toc, | #vector-toc, | ||
#toc { | #toc { | ||
background: #001D3D !important; | |||
border: 1px solid #FFC300 !important; | |||
border-radius: 6px; | |||
padding: 0.75em; | |||
} | } | ||
#vector-toc .vector-pinnable-header-label, | #vector-toc .vector-pinnable-header-label, | ||
#toc .toctitle { | #toc .toctitle { | ||
color: #FFC300 !important; | |||
font-weight: bold; | |||
} | } | ||
#vector-toc .vector-toc-text, | #vector-toc .vector-toc-text, | ||
#toc a { | #toc a { | ||
color: #EAEAEA !important; | |||
opacity: 1 !important; | |||
text-decoration: none; | |||
} | } | ||
/* | /* Active item */ | ||
#vector-toc .vector-toc-list-item-active { background: transparent !important; } | |||
#vector-toc .vector-toc-list-item-active > a.vector-toc-link { background-color: #FFD60A !important; } | |||
#vector-toc .vector-toc-list-item-active > a.vector-toc-link .vector-toc-text { | |||
color: #000814 !important; | |||
#vector-toc .vector-toc-list-item-active { | font-weight: 700 !important; | ||
} | } | ||
/* | /* Expanded parent rules */ | ||
#vector-toc .vector-toc-list-item- | #vector-toc .vector-toc-level-1.vector-toc-list-item-expanded > a.vector-toc-link .vector-toc-text { | ||
color: #FFC300 !important; | |||
font-weight: 600 !important; | |||
} | } | ||
#vector-toc .vector-toc-level-1.vector-toc-list-item-expanded.vector-toc-list-item-active > a.vector-toc-link .vector-toc-text { | |||
color: #000814 !important; | |||
#vector-toc .vector-toc-list-item-active | font-weight: 700 !important; | ||
> a.vector-toc-link | |||
.vector-toc-text { | |||
} | } | ||
#vector-toc .vector-toc-level-1.vector-toc-list-item-expanded ul .vector-toc-text { | |||
color: #EAEAEA !important; | |||
font-weight: normal !important; | |||
#vector-toc | |||
.vector-toc-level-1.vector-toc-list-item-expanded | |||
.vector-toc-text { | |||
} | } | ||
/* | /* Hover */ | ||
#vector-toc | #vector-toc .vector-toc-list-item:not(.vector-toc-list-item-active) > a.vector-toc-link:hover .vector-toc-text { | ||
color: #FFD60A !important; | |||
> a.vector-toc-link | |||
.vector-toc-text { | |||
} | } | ||
#vector-toc .vector-toc-list-item-active > a.vector-toc-link:hover .vector-toc-text { | |||
color: #000814 !important; | |||
#vector-toc | |||
.vector-toc- | |||
} | } | ||
/* | /* Remove wrappers */ | ||
.vector-toc-container, | .vector-toc-container, | ||
#vector-toc-pinned-container, | #vector-toc-pinned-container, | ||
.vector-pinned-container { | .vector-pinned-container { | ||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* Inline (article) TOC only */ | /* Inline (article) TOC only */ | ||
.mw-parser-output > .toc { | .mw-parser-output > .toc { | ||
background: #001D3D !important; | |||
border: 1px solid #FFC300 !important; | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
Draft Cost Formula | Draft Cost Formula | ||
========================================================= */ | ========================================================= */ | ||
.formula-box { | |||
.formula-box{ | |||
background: #001D3D; | background: #001D3D; | ||
border: 1px solid #FFC300; | border: 1px solid #FFC300; | ||
| Line 340: | Line 217: | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | } | ||
.formula-box a { color: #4DA3FF !important; } | |||
.formula-box a{ color:#4DA3FF !important; } | .formula-box a:visited { color: #9B7CFF !important; } | ||
.formula-box a:visited{ color:#9B7CFF !important; } | |||
/* ========================= | /* ========================= | ||
Vector 2022 – RIGHT PAGE TOOLS: remove the fade/gradient | Vector 2022 – RIGHT PAGE TOOLS: remove the fade/gradient | ||
========================= */ | ========================= */ | ||
.vector-page-tools::before, | .vector-page-tools::before, | ||
.vector-page-tools::after, | .vector-page-tools::after, | ||
Revision as of 23:28, 27 January 2026
/* =========================================================
GLOBAL THEME – MediaWiki 1.45 / Vector 2022
========================================================= */
/* ---------- Background ---------- */
html,
body,
.vector-feature-page-tools-disabled .mw-page-container,
.vector-feature-page-tools-enabled .mw-page-container {
background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
background-attachment: fixed !important;
}
/* Transparent content containers */
.mw-page-container,
.mw-body,
.vector-body {
background: transparent !important;
}
/* ---------- Base text ---------- */
body,
.mw-body,
.mw-body-content,
#mw-content-text,
.vector-body {
color: #fff !important;
}
/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading,
.mw-page-title-main,
.page-Main_Page h1 {
color: #FFC300 !important;
}
/* ---------- Logo ---------- */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img,
.mw-logo a.mw-logo-container img {
height: 100px !important;
width: auto !important;
max-height: 100px !important;
}
.mw-logo-icon { background-size: auto 100px !important; }
@media (max-width: 720px) {
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img,
.mw-logo a.mw-logo-container img {
height: 32px !important;
max-height: 32px !important;
}
.mw-logo-icon { background-size: auto 32px !important; }
}
/* ---------- Header ---------- */
.vector-header-container,
.vector-header,
#mw-header-container,
.mw-header {
background: #000814 !important;
border-bottom: 2px solid #FFC300 !important;
}
/* Site name */
.mw-logo-wordmark,
.mw-logo-wordmark a {
color: #FFC300 !important;
font-size: 1.8em !important;
font-weight: bold !important;
text-decoration: none !important;
}
.mw-logo-wordmark a:hover { color: #FFD60A !important; }
/* Sidebar headings */
.vector-pinnable-header-label,
.vector-main-menu-heading,
.mw-portlet h3 {
color: #FFC300 !important;
}
/* =========================================================
PAGE CONTENT LINKS
========================================================= */
.mw-parser-output a { color: #4DA3FF !important; }
.mw-parser-output a:visited { color: #9B7CFF !important; }
.mw-parser-output a:hover { color: #6BB6FF !important; text-decoration: underline; }
.mw-parser-output a:active { color: #1F4FA3 !important; }
.mw-parser-output a.new,
.mw-parser-output a.new:visited { color: #CC2200 !important; }
/* Optional: keep only if something is overriding text colors inside articles */
/* .mw-parser-output { color: #fff !important; } */
/* =========================================================
GLOBAL TABLE THEME (ALL PAGES)
========================================================= */
.mw-parser-output .wikitable {
width: 100%;
border-collapse: collapse !important;
margin: 0.75em 0;
background: #303030 !important;
border: 1px solid #555555 !important;
}
.mw-parser-output .wikitable caption {
background: #001D3D !important;
color: #fff !important;
font-weight: bold;
padding: 0.5em 0.7em !important;
border-bottom: 1px solid #555555 !important;
}
.mw-parser-output .wikitable thead th {
background: #000 !important;
color: #EAEAEA !important;
font-weight: 700;
border: 1px solid #666666 !important;
padding: 0.5em 0.7em !important;
}
.mw-parser-output .wikitable tbody tr:nth-child(odd) { background-color: #303030 !important; }
.mw-parser-output .wikitable tbody tr:nth-child(even) { background-color: #505050 !important; }
.mw-parser-output .wikitable tbody td {
border: 1px solid #555555 !important;
color: #EAEAEA !important;
padding: 0.5em 0.7em !important;
}
/* =========================================================
TABLE OF CONTENTS – Vector 2022
========================================================= */
#vector-toc,
#toc {
background: #001D3D !important;
border: 1px solid #FFC300 !important;
border-radius: 6px;
padding: 0.75em;
}
#vector-toc .vector-pinnable-header-label,
#toc .toctitle {
color: #FFC300 !important;
font-weight: bold;
}
#vector-toc .vector-toc-text,
#toc a {
color: #EAEAEA !important;
opacity: 1 !important;
text-decoration: none;
}
/* Active item */
#vector-toc .vector-toc-list-item-active { background: transparent !important; }
#vector-toc .vector-toc-list-item-active > a.vector-toc-link { background-color: #FFD60A !important; }
#vector-toc .vector-toc-list-item-active > a.vector-toc-link .vector-toc-text {
color: #000814 !important;
font-weight: 700 !important;
}
/* Expanded parent rules */
#vector-toc .vector-toc-level-1.vector-toc-list-item-expanded > a.vector-toc-link .vector-toc-text {
color: #FFC300 !important;
font-weight: 600 !important;
}
#vector-toc .vector-toc-level-1.vector-toc-list-item-expanded.vector-toc-list-item-active > a.vector-toc-link .vector-toc-text {
color: #000814 !important;
font-weight: 700 !important;
}
#vector-toc .vector-toc-level-1.vector-toc-list-item-expanded ul .vector-toc-text {
color: #EAEAEA !important;
font-weight: normal !important;
}
/* Hover */
#vector-toc .vector-toc-list-item:not(.vector-toc-list-item-active) > a.vector-toc-link:hover .vector-toc-text {
color: #FFD60A !important;
}
#vector-toc .vector-toc-list-item-active > a.vector-toc-link:hover .vector-toc-text {
color: #000814 !important;
}
/* Remove wrappers */
.vector-toc-container,
#vector-toc-pinned-container,
.vector-pinned-container {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Inline (article) TOC only */
.mw-parser-output > .toc {
background: #001D3D !important;
border: 1px solid #FFC300 !important;
}
/* =========================================================
Draft Cost Formula
========================================================= */
.formula-box {
background: #001D3D;
border: 1px solid #FFC300;
border-radius: 10px;
padding: 0.8em 1em;
margin: 0.75em 0;
color: #EAEAEA;
line-height: 1.6;
white-space: normal;
overflow-wrap: anywhere;
}
.formula-box a { color: #4DA3FF !important; }
.formula-box a:visited { color: #9B7CFF !important; }
/* =========================
Vector 2022 – RIGHT PAGE TOOLS: remove the fade/gradient
========================= */
.vector-page-tools::before,
.vector-page-tools::after,
.vector-page-tools-container::before,
.vector-page-tools-container::after,
.vector-page-tools-landmark::before,
.vector-page-tools-landmark::after,
.vector-sticky-pinned-container::before,
.vector-sticky-pinned-container::after,
.vector-page-tools .vector-sticky-pinned-container::before,
.vector-page-tools .vector-sticky-pinned-container::after {
background: none !important;
background-image: none !important;
box-shadow: none !important;
filter: none !important;
backdrop-filter: none !important;
mask-image: none !important;
-webkit-mask-image: none !important;
}