MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* --- COMUTER WIKI | /* --- COMUTER WIKI UNIVERSAL STYLING --- */ | ||
/* 1. Global Font */ | /* 1. Global Font */ | ||
| Line 25: | Line 25: | ||
} | } | ||
/* 4. The Wordmark | /* 4. The Wordmark/Text */ | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
display: block !important; | display: block !important; | ||
text-align: center !important; | |||
height: auto !important; | height: auto !important; | ||
width: auto !important; | |||
font-weight: bold !important; | |||
font-size: 1.2em !important; | |||
color: #202122 !important; /* Default Black for Light Mode */ | |||
} | } | ||
/* 5. Header Background (Light Mode) */ | /* 5. Header Background (Default/Light Mode) */ | ||
.mw-header { | .mw-header { | ||
height: auto !important; | height: auto !important; | ||
min-height: | min-height: 160px !important; | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
} | } | ||
/* 6. DARK MODE | /* 6. THE DARK MODE FIX (Covers Manual Toggle AND Automatic/System Setting) */ | ||
@media (prefers-color-scheme: dark) { | |||
.mw-header { background-color: #101418 !important; } | |||
.mw-logo-wordmark { color: #eaecf0 !important; } | |||
} | |||
html.skin-theme-clientpref-night .mw-header { | html.skin-theme-clientpref-night .mw-header { | ||
background-color: #101418 !important; | background-color: #101418 !important; | ||
} | |||
html.skin-theme-clientpref-night .mw-logo-wordmark { | |||
color: #eaecf0 !important; | |||
} | } | ||
/* 7. Sticky Header (Scroll View) */ | /* 7. Sticky Header (Scroll View) */ | ||
.vector-sticky-header .mw-logo { | .vector-sticky-header .mw-logo { | ||
flex-direction: row !important; | flex-direction: row !important; | ||
| Line 59: | Line 69: | ||
.vector-sticky-header .mw-logo-wordmark { | .vector-sticky-header .mw-logo-wordmark { | ||
margin-left: 10px !important; | margin-left: 10px !important; | ||
font-size: 1em !important; | |||
} | } | ||
Revision as of 23:38, 16 April 2026
/* --- COMUTER WIKI UNIVERSAL STYLING --- */
/* 1. Global Font */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
/* 2. Logo Container */
.mw-logo {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
text-decoration: none !important;
background: transparent !important;
height: auto !important;
padding: 10px !important;
}
/* 3. The Icon (Computer Head) */
.mw-logo-icon {
width: 120px !important;
height: 120px !important;
max-width: none !important;
max-height: none !important;
}
/* 4. The Wordmark/Text */
.mw-logo-wordmark {
display: block !important;
text-align: center !important;
height: auto !important;
width: auto !important;
font-weight: bold !important;
font-size: 1.2em !important;
color: #202122 !important; /* Default Black for Light Mode */
}
/* 5. Header Background (Default/Light Mode) */
.mw-header {
height: auto !important;
min-height: 160px !important;
background-color: #ffffff !important;
}
/* 6. THE DARK MODE FIX (Covers Manual Toggle AND Automatic/System Setting) */
@media (prefers-color-scheme: dark) {
.mw-header { background-color: #101418 !important; }
.mw-logo-wordmark { color: #eaecf0 !important; }
}
html.skin-theme-clientpref-night .mw-header {
background-color: #101418 !important;
}
html.skin-theme-clientpref-night .mw-logo-wordmark {
color: #eaecf0 !important;
}
/* 7. Sticky Header (Scroll View) */
.vector-sticky-header .mw-logo {
flex-direction: row !important;
padding: 0 !important;
}
.vector-sticky-header .mw-logo-icon {
width: 35px !important;
height: 35px !important;
}
.vector-sticky-header .mw-logo-wordmark {
margin-left: 10px !important;
font-size: 1em !important;
}