MediaWiki:Vector-2022.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Style site name | /* Wrap logo and site name side-by-side */ | ||
.mw-logo-container { | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; /* Space between logo and text */ | |||
} | |||
/* Adjust logo image size */ | |||
.mw-logo-icon { | |||
width: 40px !important; | |||
height: auto !important; | |||
} | |||
/* Style and align site name */ | |||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
color: #800020 !important; | display: inline-block; | ||
font-size: 20px !important; | color: #800020 !important; | ||
font-size: 20px !important; | |||
font-weight: bold; | font-weight: bold; | ||
line-height: 1.2; | |||
margin: 0; | |||
} | } | ||
/* Break out of logo container jail */ | /* Break out of logo container jail */ | ||
.vector-header-logo { | .vector-header-logo { | ||
Revision as of 12:11, 19 June 2025
/* Wrap logo and site name side-by-side */
.mw-logo-container {
display: flex;
align-items: center;
gap: 8px; /* Space between logo and text */
}
/* Adjust logo image size */
.mw-logo-icon {
width: 40px !important;
height: auto !important;
}
/* Style and align site name */
.mw-logo-wordmark {
display: inline-block;
color: #800020 !important;
font-size: 20px !important;
font-weight: bold;
line-height: 1.2;
margin: 0;
}
/* Break out of logo container jail */
.vector-header-logo {
flex: 0 0 auto !important;
max-width: none !important;
width: auto !important;
height: auto !important;
padding: 0 !important;
margin: 0 !important;
}
/* Resize actual logo image */
.vector-header-logo img {
max-height: 60px !important;
width: auto !important;
height: auto !important;
display: block !important;
}
/* Optional: Hide site title if you just want the image */
.vector-header-title {
display: none !important;
}