MediaWiki:Vector-2022.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary Tag: Reverted |
||
| Line 31: | Line 31: | ||
.mw-logo { | .mw-logo { | ||
margin-right: 12px !important; | margin-right: 12px !important; | ||
} | |||
.mw-logo, | |||
.mw-logo-icon { | |||
outline: 2px solid red !important; | |||
} | } | ||
Revision as of 22:17, 1 April 2026
/* ============================================================
Force Vector-2022 to show the image logo instead of wordmark
============================================================ */
/* Ensure the logo container is visible and not clipped */
.mw-logo,
.mw-logo-icon {
display: block !important;
max-width: none !important;
max-height: none !important;
overflow: visible !important;
}
/* Force the actual logo image to render */
.mw-logo img,
.mw-logo-icon img {
display: block !important;
width: auto !important;
height: 60px !important; /* Adjust this to taste */
object-fit: contain !important;
}
/* Hide the Vector-2022 wordmark so the logo takes priority */
.vector-header-wordmark,
.vector-wordmark,
.vector-logo-wordmark {
display: none !important;
}
/* Optional: give the logo a little breathing room */
.mw-logo {
margin-right: 12px !important;
}
.mw-logo,
.mw-logo-icon {
outline: 2px solid red !important;
}