MediaWiki:Vector-2022.css: Difference between revisions
Created page with "→Force Vector-2022 to show the full logo: .vector-header-logo { max-height: 60px !important; max-width: none !important; width: auto !important; overflow: visible !important; }" |
mNo edit summary Tag: Manual revert |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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; | |||
} | |||
/* Force the actual logo image to render */ | |||
.mw-logo img, | |||
.mw-logo-icon img { | |||
display: block !important; | |||
width: auto !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; | |||
} | } | ||