MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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; | |||
} | } | ||
/* Removes the Discussion tab from the UI for all users */ | |||
#ca-talk { display: none !important; } | |||
Latest revision as of 09:03, 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;
}
/* Removes the Discussion tab from the UI for all users */
#ca-talk { display: none !important; }