MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* For Vector 2022 Skin */ | ||
. | .vector-header-logo { | ||
width: | max-width: 200px !important; /* Change width as needed */ | ||
height: | max-height: 60px !important; /* Adjust height */ | ||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
/* | /* For classic Vector logo container */ | ||
.mw-logo- | .mw-logo-icon { | ||
width: 200px !important; /* Or your preferred width */ | |||
height: auto !important; /* Maintain aspect ratio */ | |||
} | } | ||
/* Optional: | /* Optional: Adjust logo position */ | ||
.vector-logo { | .vector-header .mw-logo-container { | ||
padding-top: 5px; | |||
} | } | ||
Revision as of 11:18, 19 June 2025
/* For Vector 2022 Skin */
.vector-header-logo {
max-width: 200px !important; /* Change width as needed */
max-height: 60px !important; /* Adjust height */
padding: 0 !important;
margin: 0 !important;
}
/* For classic Vector logo container */
.mw-logo-icon {
width: 200px !important; /* Or your preferred width */
height: auto !important; /* Maintain aspect ratio */
}
/* Optional: Adjust logo position */
.vector-header .mw-logo-container {
padding-top: 5px;
}