MediaWiki:Vector-2022.css: Difference between revisions
Appearance
Created page with "→Hide site name and tagline: .mw-wiki-title, .vector-logo-tagline { display: none; } →Make the logo large and round: .mw-logo-icon { width: 80px !important; height: 80px !important; border-radius: 50%; overflow: hidden; } .mw-logo { display: flex; align-items: center; justify-content: center; }" |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Hide site name and | /* Hide site name, tagline, and any text */ | ||
.mw-wiki-title, | .mw-wiki-title, | ||
.vector-logo-tagline { | .vector-logo-tagline, | ||
display: none; | .mw-logo-wordmark, | ||
.mw-logo-tagline { | |||
display: none !important; | |||
} | } | ||
.mw-logo, | |||
.mw-logo- | .mw-logo a, | ||
.vector-header-start { | |||
overflow: visible !important; | |||
} | } | ||
| Line 17: | Line 17: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
width: 100%; | |||
height: 100%; | |||
} | |||
.mw-logo-icon { | |||
width: 75% !important; | |||
height: 75% !important; | |||
max-width: 75%; | |||
object-fit: contain; | |||
} | } | ||
Latest revision as of 21:11, 27 April 2026
/* Hide site name, tagline, and any text */
.mw-wiki-title,
.vector-logo-tagline,
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
.mw-logo,
.mw-logo a,
.vector-header-start {
overflow: visible !important;
}
.mw-logo {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.mw-logo-icon {
width: 75% !important;
height: 75% !important;
max-width: 75%;
object-fit: contain;
}