MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →Adjust the logo size: .mw-header-logo a, .mw-logo a { width: 200px; →Example: new width in pixels: height: 200px; →Example: new height in pixels: background-size: 100% 100%; →Ensures the entire image is displayed: }" |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
/* Adjust the logo size */ | /* 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; | |||
} | |||
} | } | ||
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;
}
}