MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* =============================== | /* =============================== | ||
VECTOR-2022 LOGO — | VECTOR-2022 LOGO — FINAL FIX | ||
=============================== */ | =============================== */ | ||
/* 1. | /* 1. Hide wordmark text */ | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-tagline { | .mw-logo-tagline { | ||
| Line 9: | Line 9: | ||
} | } | ||
/* 2. | /* 2. Reset forced HTML sizing */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
transform: scale(2.2) | height: auto !important; | ||
width: auto !important; | |||
max-height: 56px; /* visual size (Wikipedia ~50–56px) */ | |||
transform: scale(2.2); /* scale without distortion */ | |||
transform-origin: left center; | transform-origin: left center; | ||
} | } | ||
/* 3. | /* 3. Keep header alignment intact */ | ||
.vector-header-start | .vector-header-start { | ||
align-items: center; | |||
} | } | ||
/* 4. | /* 4. Correct spacing after scaling */ | ||
.vector-header-start { | .vector-header-start .mw-logo { | ||
margin-left: 8px; | |||
display: flex; | |||
align-items: center; | align-items: center; | ||
} | } | ||
Revision as of 17:08, 20 December 2025
/* ===============================
VECTOR-2022 LOGO — FINAL FIX
=============================== */
/* 1. Hide wordmark text */
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
/* 2. Reset forced HTML sizing */
.mw-logo-icon {
height: auto !important;
width: auto !important;
max-height: 56px; /* visual size (Wikipedia ~50–56px) */
transform: scale(2.2); /* scale without distortion */
transform-origin: left center;
}
/* 3. Keep header alignment intact */
.vector-header-start {
align-items: center;
}
/* 4. Correct spacing after scaling */
.vector-header-start .mw-logo {
margin-left: 8px;
display: flex;
align-items: center;
}