Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From RSN Wiki
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===============================
/* ===============================
   VECTOR-2022 SAFE LOGO TUNING
   VECTOR-2022 LOGO — FINAL FIX
   =============================== */
   =============================== */


/* 1. Hide the site name text */
/* 1. Hide wordmark text */
.mw-logo-wordmark,
.mw-logo-wordmark,
.mw-logo-tagline {
.mw-logo-tagline {
Line 9: Line 9:
}
}


/* 2. Increase logo size safely */
/* 2. Reset forced HTML sizing */
.mw-logo-icon {
.mw-logo-icon {
   height: 56px !important; /* try 50px if you want tighter */
   height: auto !important;
   width: auto !important;
   width: auto !important;
  max-height: 56px; 
  transform: scale(2.1) translateY(15px);
  transform-origin: left center;
}
}


/* 3. Vertically center logo WITHOUT breaking header */
/* 3. Keep header alignment intact */
.vector-header-start .mw-logo {
.vector-header-start {
  display: flex;
   align-items: center;
   align-items: center;
}
}


/* 4. Slight spacing from hamburger menu (Wikipedia-like) */
/* 4. Correct spacing after scaling */
.vector-header-start .mw-logo {
.vector-header-start .mw-logo {
   margin-left: 6px;
   margin-left: 8px;
  display: flex;
  align-items: center;
}
}

Latest revision as of 17:12, 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;  
  transform: scale(2.1) translateY(15px);
  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;
}