MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
.vector-body { | .vector-body { | ||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
| Line 43: | Line 38: | ||
.mw-headline, | .mw-headline, | ||
#firstHeading, | #firstHeading, | ||
.mw-page-title-main, | .mw-page-title-main, | ||
.page-Main_Page h1 { | .page-Main_Page h1 { | ||
| Line 70: | Line 64: | ||
} | } | ||
/* Full navigation bar background */ | |||
/* | .vector-header-container { | ||
.vector | background: rgba(0, 29, 61, 0.9) !important; | ||
border-bottom: 2px solid #FFC300 !important; | |||
} | } | ||
/* Site name styling in top navigation bar (Vector 2022) */ | /* Site name styling in top navigation bar (Vector 2022) */ | ||
| Line 84: | Line 77: | ||
font-weight: bold !important; | font-weight: bold !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
| Line 93: | Line 82: | ||
.mw-logo-wordmark a:hover { | .mw-logo-wordmark a:hover { | ||
color: #FFD60A !important; | color: #FFD60A !important; | ||
} | } | ||
Revision as of 00:30, 25 January 2026
/* CSS placed here will be applied to all skins */
/* Vector 2022 background gradient */
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;
}
/* Make content areas transparent to show gradient */
.mw-page-container,
.mw-body,
#content,
.vector-body {
background: transparent !important;
}
/* Sidebar transparent */
#mw-panel,
.vector-main-menu,
.vector-sidebar {
background: transparent !important;
}
/* Default text color white */
body,
.mw-body,
.mw-body-content,
#mw-content-text,
.vector-body {
color: #FFFFFF !important;
}
/* Headings and page titles gold color */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading,
.mw-page-title-main,
.page-Main_Page h1 {
color: #FFC300 !important;
}
/* Logo sizing (Vector 2022) */
.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;
}
/* If the logo is applied as a background image */
.mw-logo-icon {
background-size: auto 56px !important;
}
@media (max-width: 720px) {
.mw-logo-icon {
height: 32px;
}
}
/* Full navigation bar background */
.vector-header-container {
background: rgba(0, 29, 61, 0.9) !important;
border-bottom: 2px solid #FFC300 !important;
}
/* Site name styling in top navigation bar (Vector 2022) */
.mw-logo-wordmark,
.mw-logo-wordmark a {
color: #FFC300 !important;
font-size: 1.8em !important;
font-weight: bold !important;
text-decoration: none !important;
}
/* Site name hover effect */
.mw-logo-wordmark a:hover {
color: #FFD60A !important;
}
/* Alternative: If the site name is in a different element */
.vector-pinnable-header-label {
color: #FFC300 !important;
font-size: 1.5em !important;
}