Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From RSN Wiki
No edit summary
No edit summary
Line 13: Line 13:
   height: auto !important;
   height: auto !important;
   width: auto !important;
   width: auto !important;
   max-height: 56px;         /* visual size (Wikipedia ~50–56px) */
   max-height: 56px;
  margin-top: 100px;/* visual size (Wikipedia ~50–56px) */
   transform: scale(2.2);    /* scale without distortion */
   transform: scale(2.2);    /* scale without distortion */
   transform-origin: left center;
   transform-origin: left 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;  
  margin-top: 100px;/* 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;
}