MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →Vector 2022: hide the wordmark (site title) and tagline next to the logo: .mw-logo-wordmark, .mw-logo-tagline, .mw-wiki-title, .mw-logo-text { display: none !important; } →--- BIG LOGO: Vector 2022 ---: →1) Set how tall you want the header area: .vector-header { min-height: 160px !important; →adjust: } →2) Let the logo block use that height: .vector-header-start, .mw-logo { height: 160px !imp..." |
No edit summary |
||
| Line 27: | Line 27: | ||
.mw-logo img { | .mw-logo img { | ||
max-height: none !important; | max-height: none !important; | ||
height: | height: 190px !important; /* THIS is what makes it bigger */ | ||
width: auto !important; | width: auto !important; | ||
} | |||
/* Move logo left + down (Vector 2022) */ | |||
.mw-logo { | |||
margin-left: -18px !important; /* left */ | |||
margin-top: 50px !important; /* down */ | |||
} | } | ||
Revision as of 21:46, 22 December 2025
/* CSS placed here will be applied to all skins */
/* Vector 2022: hide the wordmark (site title) and tagline next to the logo */
.mw-logo-wordmark,
.mw-logo-tagline,
.mw-wiki-title,
.mw-logo-text {
display: none !important;
}
/* --- BIG LOGO: Vector 2022 --- */
/* 1) Set how tall you want the header area */
.vector-header {
min-height: 160px !important; /* adjust */
}
/* 2) Let the logo block use that height */
.vector-header-start,
.mw-logo {
height: 160px !important; /* match the header height */
display: flex !important;
align-items: center !important;
}
/* 3) Kill Vector's built-in logo caps */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img {
max-height: none !important;
height: 190px !important; /* THIS is what makes it bigger */
width: auto !important;
}
/* Move logo left + down (Vector 2022) */
.mw-logo {
margin-left: -18px !important; /* left */
margin-top: 50px !important; /* down */
}