MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
/* Adjust the logo size */ | /* Adjust the logo size */ | ||
.mw-logo | .mw-logo a { /* Or the correct selector for your skin */ | ||
width: | width: 175px; | ||
height: | height: 175px; | ||
background-size: contain; /* Ensures the whole image is visible */ | background-size: contain; /* Ensures the whole image is visible */ | ||
} | } | ||
.mw-logo | .mw-logo img.mw-logo-icon { | ||
width: | width: 175px; | ||
height: | height: 175px; | ||
} | } | ||
} | } | ||
Latest revision as of 20:06, 13 January 2026
/* CSS placed here will be applied to all skins */
/* Adjust the logo size */
.mw-logo a { /* Or the correct selector for your skin */
width: 175px;
height: 175px;
background-size: contain; /* Ensures the whole image is visible */
}
.mw-logo img.mw-logo-icon {
width: 175px;
height: 175px;
}
}