MediaWiki:Common.css: Difference between revisions
Appearance
Sonja says (talk | contribs) m Reverted edits by Sonja says (talk) to last revision by YBthr Tag: Rollback |
Sonja says (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ========================================================= | ||
GLOBAL THEME – MediaWiki 1.45 / Vector 2022 | |||
========================================================= */ | |||
/* | /* ---------- Background ---------- */ | ||
html, | html, | ||
body, | body, | ||
| Line 10: | Line 12: | ||
} | } | ||
/* | /* Transparent content containers */ | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
| Line 18: | Line 20: | ||
} | } | ||
/* ---------- Base text ---------- */ | |||
/* | |||
body, | body, | ||
.mw-body, | .mw-body, | ||
| Line 28: | Line 29: | ||
} | } | ||
/* Headings | /* ---------- Headings ---------- */ | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
.mw-headline, | .mw-headline, | ||
| Line 37: | Line 38: | ||
} | } | ||
/* Logo | /* ---------- Logo ---------- */ | ||
.mw-logo-icon, | .mw-logo-icon, | ||
.mw-logo-icon img, | .mw-logo-icon img, | ||
| Line 47: | Line 48: | ||
} | } | ||
.mw-logo-icon { | .mw-logo-icon { | ||
background-size: auto | 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 { | .mw-logo-icon { | ||
background-size: auto 32px !important; | |||
} | } | ||
} | } | ||
/* | /* ---------- Header ---------- */ | ||
.vector-header-container, | .vector-header-container, | ||
.vector-header, | .vector-header, | ||
| Line 67: | Line 75: | ||
} | } | ||
/* Site name */ | |||
/* Site name | |||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-wordmark a { | .mw-logo-wordmark a { | ||
| Line 77: | Line 84: | ||
} | } | ||
.mw-logo-wordmark a:hover { | .mw-logo-wordmark a:hover { | ||
color: #FFD60A !important; | color: #FFD60A !important; | ||
} | } | ||
/* Sidebar headings */ | |||
/* Sidebar | |||
.vector-pinnable-header-label, | .vector-pinnable-header-label, | ||
.vector-main-menu-heading, | .vector-main-menu-heading, | ||
| Line 96: | Line 95: | ||
} | } | ||
. | /* ========================================================= | ||
PAGE CONTENT LINKS | |||
========================================================= */ | |||
.mw-parser-output a, | |||
.mw-parser-output a:link { | |||
color: #4DA3FF !important; | color: #4DA3FF !important; | ||
} | } | ||
.mw-parser-output a:visited { | |||
color: #9B7CFF !important; | |||
color: # | |||
} | } | ||
.mw-parser-output a:hover { | |||
color: #6BB6FF !important; | |||
color: # | text-decoration: underline; | ||
} | } | ||
.mw-parser-output a:active { | |||
color: #1F4FA3 !important; | |||
color: # | |||
} | } | ||
/* Missing pages */ | |||
/* | .mw-parser-output a.new, | ||
.mw-parser-output a.new:visited { | |||
color: #CC2200 !important; | |||
color: # | |||
} | } | ||
/* ========================================================= | |||
FORCE ARTICLE TEXT TO WHITE | |||
========================================================= */ | |||
.mw-parser-output, | |||
.mw-parser-output p, | |||
.mw-parser-output li, | |||
color: # | .mw-parser-output dt, | ||
.mw-parser-output dd, | |||
.mw-parser-output td, | |||
.mw-parser-output th, | |||
.mw-parser-output caption { | |||
color: #FFFFFF !important; | |||
} | } | ||
/* ========================================================= | |||
GLOBAL TABLE THEME (ALL PAGES) | |||
Black headers, dark-gray subheaders, gray striping | |||
========================================================= */ | |||
.mw-parser-output table.wikitable, | |||
.mw-parser-output .wikitable { | |||
width: 100%; | |||
border-collapse: collapse !important; | |||
margin: 0.75em 0; | |||
background: #1A1A1A !important; | |||
border: 1px solid #555555 !important; | |||
} | } | ||
/* Captions */ | |||
/* | .mw-parser-output table.wikitable caption, | ||
.mw-parser-output .wikitable caption { | |||
background: #000000 !important; | |||
color: # | color: #FFFFFF !important; | ||
font-weight: bold; | |||
padding: 0.5em 0.7em; | |||
border-bottom: 1px solid #555555 !important; | |||
} | } | ||
/* | /* Primary header row */ | ||
.mw-parser-output table.wikitable thead th, | |||
. | .mw-parser-output .wikitable thead th { | ||
background: #000000 !important; | |||
color: #FFFFFF !important; | |||
font-weight: 700; | |||
border: 1px solid #666666 !important; | |||
padding: 0. | |||
.mw- | |||
. | |||
color: # | |||
Revision as of 16:21, 26 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,
#content,
.vector-body {
background: transparent !important;
}
/* ---------- Base text ---------- */
body,
.mw-body,
.mw-body-content,
#mw-content-text,
.vector-body {
color: #FFFFFF !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: #001D3D !important;
}
/* =========================================================
PAGE CONTENT LINKS
========================================================= */
.mw-parser-output a,
.mw-parser-output a:link {
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;
}
/* Missing pages */
.mw-parser-output a.new,
.mw-parser-output a.new:visited {
color: #CC2200 !important;
}
/* =========================================================
FORCE ARTICLE TEXT TO WHITE
========================================================= */
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dt,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output caption {
color: #FFFFFF !important;
}
/* =========================================================
GLOBAL TABLE THEME (ALL PAGES)
Black headers, dark-gray subheaders, gray striping
========================================================= */
.mw-parser-output table.wikitable,
.mw-parser-output .wikitable {
width: 100%;
border-collapse: collapse !important;
margin: 0.75em 0;
background: #1A1A1A !important;
border: 1px solid #555555 !important;
}
/* Captions */
.mw-parser-output table.wikitable caption,
.mw-parser-output .wikitable caption {
background: #000000 !important;
color: #FFFFFF !important;
font-weight: bold;
padding: 0.5em 0.7em;
border-bottom: 1px solid #555555 !important;
}
/* Primary header row */
.mw-parser-output table.wikitable thead th,
.mw-parser-output .wikitable thead th {
background: #000000 !important;
color: #FFFFFF !important;
font-weight: 700;
border: 1px solid #666666 !important;
padding: 0.