MediaWiki:Vector-2022.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* Force Vector-2022 to show the | /* ============================================================ | ||
. | 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-width: none !important; | ||
max-height: none !important; | |||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
. | |||
/* Force the actual logo image to render */ | |||
.mw-logo img, | |||
.mw-logo-icon img { | |||
display: block !important; | display: block !important; | ||
width: auto !important; | |||
height: 60px !important; /* Adjust this to taste */ | |||
object-fit: contain !important; | |||
} | } | ||
.vector-header-wordmark { | |||
/* Hide the Vector-2022 wordmark so the logo takes priority */ | |||
.vector-header-wordmark, | |||
.vector-wordmark, | |||
.vector-logo-wordmark { | |||
display: none !important; | display: none !important; | ||
} | |||
/* Optional: give the logo a little breathing room */ | |||
.mw-logo { | |||
margin-right: 12px !important; | |||
} | } | ||