MediaWiki:Vector-2022.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
/* Adjust logo image size */ | /* Adjust logo image size */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
width: | width: 40px !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
| Line 18: | Line 18: | ||
font-size: 50px !important; | font-size: 50px !important; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: | line-height: 1.5; | ||
margin: 0; | margin: 0; | ||
} | } | ||
Revision as of 12:14, 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: 50px !important;
font-weight: bold;
line-height: 1.5;
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;
}