MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* --- COMPREHENSIVE WIKI STYLING --- */ | ||
/* 1. Global Font Update */ | |||
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. Header Layout Fix */ | |||
/* Ensures the menu button and logo stay side-by-side */ | |||
.vector-header-start { | |||
display: flex !important; | |||
flex-direction: row !important; | |||
align-items: center !important; | |||
height: auto !important; | |||
} | |||
/* 3. Logo Stacking */ | |||
/* Forces Icon on top and Wordmark (text) below */ | |||
.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; | ||
height: auto !important; | height: auto !important; | ||
padding: 10px | padding: 10px !important; | ||
margin-left: 15px !important; | |||
text-decoration: none !important; | |||
} | } | ||
/* 4. Icon Sizing */ | |||
.mw-logo-icon { | .mw-logo-icon { | ||
width: 120px !important; /* | width: 120px !important; /* Change this to make logo bigger/smaller */ | ||
height: 120px !important; | height: 120px !important; | ||
max-width: none !important; | max-width: none !important; | ||
max-height: none !important; | max-height: none !important; | ||
margin-bottom: | margin-bottom: 5px !important; | ||
} | } | ||
/* 5. Title/Wordmark Styling */ | |||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
display: block !important; | display: block !important; | ||
text-align: center !important; | text-align: center !important; | ||
height: auto !important; | height: auto !important; | ||
width: auto !important; | width: auto !important; | ||
font-weight: bold; | |||
} | |||
/* 6. Main Menu (Hamburger) Fix */ | |||
/* Makes sure the button doesn't disappear or get squished */ | |||
#vector-main-menu-dropdown-label { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
min-width: 44px !important; | |||
min-height: 44px !important; | |||
} | } | ||
/* 7. Header Height Adjustment */ | |||
.mw-header { | .mw-header { | ||
height: auto !important; | height: auto !important; | ||
min-height: 160px !important; | min-height: 160px !important; | ||
background-color: #ffffff !important; | |||
} | } | ||
/* | /* 8. Sticky Header Fix */ | ||
/* | /* When you scroll down, the logo goes back to normal so it doesn't block the screen */ | ||
.vector-sticky-header .mw-logo { | .vector-sticky-header .mw-logo { | ||
flex-direction: row !important; | flex-direction: row !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin-left: 5px !important; | |||
} | } | ||
| Line 39: | Line 74: | ||
height: 35px !important; | height: 35px !important; | ||
margin-bottom: 0 !important; | margin-bottom: 0 !important; | ||
} | |||
.vector-sticky-header .mw-logo-wordmark { | |||
margin-left: 10px !important; | |||
} | } | ||
Revision as of 22:16, 16 April 2026
/* --- COMPREHENSIVE WIKI STYLING --- */
/* 1. Global Font Update */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
/* 2. Header Layout Fix */
/* Ensures the menu button and logo stay side-by-side */
.vector-header-start {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
height: auto !important;
}
/* 3. Logo Stacking */
/* Forces Icon on top and Wordmark (text) below */
.mw-logo {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
height: auto !important;
padding: 10px !important;
margin-left: 15px !important;
text-decoration: none !important;
}
/* 4. Icon Sizing */
.mw-logo-icon {
width: 120px !important; /* Change this to make logo bigger/smaller */
height: 120px !important;
max-width: none !important;
max-height: none !important;
margin-bottom: 5px !important;
}
/* 5. Title/Wordmark Styling */
.mw-logo-wordmark {
display: block !important;
text-align: center !important;
height: auto !important;
width: auto !important;
font-weight: bold;
}
/* 6. Main Menu (Hamburger) Fix */
/* Makes sure the button doesn't disappear or get squished */
#vector-main-menu-dropdown-label {
display: flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 44px !important;
min-height: 44px !important;
}
/* 7. Header Height Adjustment */
.mw-header {
height: auto !important;
min-height: 160px !important;
background-color: #ffffff !important;
}
/* 8. Sticky Header Fix */
/* When you scroll down, the logo goes back to normal so it doesn't block the screen */
.vector-sticky-header .mw-logo {
flex-direction: row !important;
padding: 0 !important;
margin-left: 5px !important;
}
.vector-sticky-header .mw-logo-icon {
width: 35px !important;
height: 35px !important;
margin-bottom: 0 !important;
}
.vector-sticky-header .mw-logo-wordmark {
margin-left: 10px !important;
}