MediaWiki:Vector-2022.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Wrap logo and site name side-by-side */
.mw-logo-container {
display: flex;
align-items: center;
gap: 8px; /* Space between logo and text */
}
/* Hide the "MediaWiki" wordmark text */
.mw-logo-wordmark {
display: none !important;
}
/* Resize and align the logo */
.mw-logo-icon {
width: 100px !important; /* Adjust width */
height: 100px !important; /* Adjust height */
object-fit: contain;
}
/* Ensure the logo container is not restricted */
.mw-logo-container {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0;
margin: 0;
}
/* Optional: Tweak spacing in header if needed */
.vector-header-logo {
padding-left: 10px;
}
/* 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;
}