MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* Prevent the logo icon from being squashed */ | ||
. | .mw-logo-icon { | ||
width: auto; /* Allow width to scale naturally */ | |||
height: 50px; /* Keep standard height */ | |||
object-fit: contain; /* Ensure the image fits without distortion */ | |||
} | } | ||
/* | /* If the wordmark text image is squashed */ | ||
. | .mw-logo-wordmark { | ||
width: auto; | |||
height: auto; | |||
max-height: 32px; /* Standard max height for wordmarks */ | |||
object-fit: contain; | |||
} | } | ||
Revision as of 08:56, 5 April 2026
/* CSS placed here will be applied to all skins */
/* Prevent the logo icon from being squashed */
.mw-logo-icon {
width: auto; /* Allow width to scale naturally */
height: 50px; /* Keep standard height */
object-fit: contain; /* Ensure the image fits without distortion */
}
/* If the wordmark text image is squashed */
.mw-logo-wordmark {
width: auto;
height: auto;
max-height: 32px; /* Standard max height for wordmarks */
object-fit: contain;
}