MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* --- COMUTER WIKI FULL STYLING --- */ | /* --- COMUTER WIKI FULL STYLING --- */ | ||
/* 1. Font | /* 1. Global Font */ | ||
body { | body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important; | ||
} | } | ||
/* 2. | /* 2. Logo Container */ | ||
.mw-logo { | .mw-logo { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: column !important; | flex-direction: column !important; | ||
align-items: center !important; | align-items: center !important; | ||
text-decoration: none !important; | |||
background: transparent !important; | |||
height: auto !important; | height: auto !important; | ||
padding: 10px !important; | padding: 10px !important; | ||
} | } | ||
/* 3. Icon | /* 3. The Icon (Computer Head) */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
width: 120px !important; | width: 120px !important; | ||
| Line 23: | Line 23: | ||
max-width: none !important; | max-width: none !important; | ||
max-height: none !important; | max-height: none !important; | ||
} | } | ||
/* 4. Wordmark (The | /* 4. The Wordmark ICON (The image that says "Comuter Wiki") */ | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
display: block !important; | display: block !important; /* Forces it to show up */ | ||
width: 150px !important; /* Adjust this to fit your image width */ | |||
height: auto !important; | height: auto !important; /* Let the height scale naturally */ | ||
max-height: none !important; | |||
margin-top: 10px !important; | |||
} | } | ||
/* 5. Header | /* 5. Header Background (Light Mode) */ | ||
.mw-header { | .mw-header { | ||
height: auto !important; | height: auto !important; | ||
min-height: | min-height: 190px !important; | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
} | } | ||
/* 6. DARK MODE | /* 6. DARK MODE COLORS */ | ||
html.skin-theme-clientpref-night .mw-header { | html.skin-theme-clientpref-night .mw-header { | ||
background-color: #101418 !important; | background-color: #101418 !important; | ||
} | } | ||
/* 7. Sticky Header (Scroll View) */ | /* 7. Sticky Header (Scroll View) */ | ||
/* This makes them side-by-side again when you scroll so it's not huge */ | |||
.vector-sticky-header .mw-logo { | .vector-sticky-header .mw-logo { | ||
flex-direction: row !important; | flex-direction: row !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
| Line 64: | Line 56: | ||
width: 35px !important; | width: 35px !important; | ||
height: 35px !important; | height: 35px !important; | ||
} | } | ||
.vector-sticky-header .mw-logo-wordmark { | .vector-sticky-header .mw-logo-wordmark { | ||
width: 100px !important; /* Shorter width for the sticky header */ | |||
margin-top: 0 !important; | |||
margin-left: 10px !important; | margin-left: 10px !important; | ||
} | } | ||