MediaWiki:Common.css: Difference between revisions
Appearance
Sonja says (talk | contribs) No edit summary Tag: Reverted |
Sonja says (talk | contribs) m Reverted edits by Sonja says (talk) to last revision by YBthr Tag: Rollback |
||
| Line 1: | Line 1: | ||
/* | /* CSS placed here will be applied to all skins */ | ||
/* | /* Vector 2022 background gradient */ | ||
html, | html, | ||
body, | body, | ||
| Line 13: | Line 10: | ||
} | } | ||
/* Make | /* Make content areas transparent to show gradient */ | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
| Line 21: | Line 18: | ||
} | } | ||
/* | |||
/* Default text color white */ | |||
body, | body, | ||
.mw-body, | .mw-body, | ||
| Line 30: | Line 28: | ||
} | } | ||
/* | /* Headings and page titles gold color */ | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
.mw-headline, | .mw-headline, | ||
| Line 39: | Line 37: | ||
} | } | ||
/* | /* Logo sizing (Vector 2022) */ | ||
.mw-logo-icon, | .mw-logo-icon, | ||
.mw-logo-icon img, | .mw-logo-icon img, | ||
| Line 51: | Line 49: | ||
/* If the logo is applied as a background image */ | /* If the logo is applied as a background image */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
background-size: auto | background-size: auto 56px !important; | ||
} | } | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.mw-logo-icon { | .mw-logo-icon { | ||
height: 32px; | |||
} | } | ||
} | } | ||
/* - | /* Full navigation bar background - Multiple selectors for Vector 2022 */ | ||
.vector-header-container, | .vector-header-container, | ||
.vector-header, | .vector-header, | ||
| Line 77: | Line 67: | ||
} | } | ||
/* Site name */ | |||
/* Site name styling in top navigation bar (Vector 2022) */ | |||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-wordmark a { | .mw-logo-wordmark a { | ||
| Line 86: | Line 77: | ||
} | } | ||
/* Site name hover effect */ | |||
.mw-logo-wordmark a:hover { | .mw-logo-wordmark a:hover { | ||
color: #FFD60A !important; | color: #FFD60A !important; | ||
} | } | ||
/* Sidebar | /* Alternative: If the site name is in a different element */ | ||
.vector-pinnable-header-label { | |||
color: #FFC300 !important; | |||
font-size: 1.5em !important; | |||
} | |||
/* Sidebar "Main Menu" title - make it black */ | |||
.vector-pinnable-header-label, | .vector-pinnable-header-label, | ||
.vector-main-menu-heading, | .vector-main-menu-heading, | ||
| Line 97: | Line 96: | ||
} | } | ||
.ns-0 a { | |||
. | |||
color: #4DA3FF !important; | color: #4DA3FF !important; | ||
} | } | ||
/* Change color of all working internal links */ | |||
color: # | #content a:link { | ||
color: #FFD60A !important; | |||
} | } | ||
/* Change color of visited working internal links */ | |||
#content a:visited { | |||
color: #FFC300 !important; | |||
/* | |||
color: # | |||
} | } | ||
/* | /* Ensure missing pages (redlinks) stay red or default */ | ||
#content a.new, | |||
#content a.new:visited { | |||
color: #CC2200 !important; /* Or remove this line to use default red */ | |||
. | |||
. | |||
color: # | |||
} | } | ||
/* | /* Change Navigation Icon/Link Colors */ | ||
.mw- | #mw-panel .portal a, | ||
color: | #mw-panel .portal a:visited { | ||
color: #FFC300 !important; /* Change to your desired color */ | |||
} | } | ||
/* | /* Change Footer Link Colors */ | ||
div#footer ul li a, | |||
color: # | div#footer ul li a:visited { | ||
color: #FFC300 !important; /* Change to your desired color */ | |||
} | } | ||
/* | /* Change Footer Text and Icons */ | ||
div#footer ul li { | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
/* | /* Change Navigation Icon/Link Colors */ | ||
#mw-panel .portal a, | |||
#mw-panel .portal a:visited { | |||
color: #FFC300 !important; /* Change to your desired color */ | |||
color: # | |||
} | } | ||
/* | /* ===== NAVIGATION ICONS - VECTOR 2022 ===== */ | ||
. | /* User menu icon (person icon) */ | ||
. | .vector-user-links .vector-icon, | ||
.vector-user-menu-login .vector-icon, | |||
.vector-user-menu-create-account .vector-icon { | |||
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important; | |||
} | } | ||
/* | /* Settings/hamburger menu icon */ | ||
.vector-main-menu-action-toggle .vector-icon, | |||
.vector-page-tools-landmark .vector-icon { | |||
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important; | |||
. | |||
} | } | ||
/* All navigation icons */ | |||
. | .vector-icon, | ||
.mw- | .mw-ui-icon { | ||
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important; | |||
} | } | ||
/* User menu links (username) */ | |||
.vector-user-links a, | |||
.vector-user-menu-logged-in .vector-user-links-main a { | |||
/* | |||
.vector- | |||
.vector- | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
/* ===== FOOTER LINKS - VECTOR 2022 ===== */ | |||
/* All footer links */ | |||
/* ===== | |||
#footer a, | #footer a, | ||
.mw-footer a { | #footer a:link, | ||
#footer a:visited, | |||
.mw-footer a, | |||
.mw-footer a:link, | |||
.mw-footer a:visited, | |||
footer a, | |||
footer a:link, | |||
footer a:visited { | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
| Line 339: | Line 188: | ||
#footer li, | #footer li, | ||
.mw-footer, | .mw-footer, | ||
.mw-footer li { | .mw-footer li, | ||
footer, | |||
footer li { | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
/* | /* Older footer selectors (keeping for compatibility) */ | ||
div#footer ul li a, | |||
div#footer ul li a:visited { | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
div#footer ul li { | |||
color: #FFC300 !important; | color: #FFC300 !important; | ||
} | } | ||
Revision as of 16:19, 26 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;
}
/* 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 - Multiple selectors for Vector 2022 */
.vector-header-container,
.vector-header,
#mw-header-container,
.mw-header {
background: #000814 !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;
}
/* Sidebar "Main Menu" title - make it black */
.vector-pinnable-header-label,
.vector-main-menu-heading,
.mw-portlet h3 {
color: #001D3D !important;
}
.ns-0 a {
color: #4DA3FF !important;
}
/* Change color of all working internal links */
#content a:link {
color: #FFD60A !important;
}
/* Change color of visited working internal links */
#content a:visited {
color: #FFC300 !important;
}
/* Ensure missing pages (redlinks) stay red or default */
#content a.new,
#content a.new:visited {
color: #CC2200 !important; /* Or remove this line to use default red */
}
/* Change Navigation Icon/Link Colors */
#mw-panel .portal a,
#mw-panel .portal a:visited {
color: #FFC300 !important; /* Change to your desired color */
}
/* Change Footer Link Colors */
div#footer ul li a,
div#footer ul li a:visited {
color: #FFC300 !important; /* Change to your desired color */
}
/* Change Footer Text and Icons */
div#footer ul li {
color: #FFC300 !important;
}
/* Change Navigation Icon/Link Colors */
#mw-panel .portal a,
#mw-panel .portal a:visited {
color: #FFC300 !important; /* Change to your desired color */
}
/* ===== NAVIGATION ICONS - VECTOR 2022 ===== */
/* User menu icon (person icon) */
.vector-user-links .vector-icon,
.vector-user-menu-login .vector-icon,
.vector-user-menu-create-account .vector-icon {
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
/* Settings/hamburger menu icon */
.vector-main-menu-action-toggle .vector-icon,
.vector-page-tools-landmark .vector-icon {
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
/* All navigation icons */
.vector-icon,
.mw-ui-icon {
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%) hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}
/* User menu links (username) */
.vector-user-links a,
.vector-user-menu-logged-in .vector-user-links-main a {
color: #FFC300 !important;
}
/* ===== FOOTER LINKS - VECTOR 2022 ===== */
/* All footer links */
#footer a,
#footer a:link,
#footer a:visited,
.mw-footer a,
.mw-footer a:link,
.mw-footer a:visited,
footer a,
footer a:link,
footer a:visited {
color: #FFC300 !important;
}
/* Footer text color */
#footer,
#footer li,
.mw-footer,
.mw-footer li,
footer,
footer li {
color: #FFC300 !important;
}
/* Older footer selectors (keeping for compatibility) */
div#footer ul li a,
div#footer ul li a:visited {
color: #FFC300 !important;
}
div#footer ul li {
color: #FFC300 !important;
}