Jump to content

MediaWiki:Common.css

Revision as of 21:45, 22 December 2025 by Rbutcher (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Vector 2022: hide the wordmark (site title) and tagline next to the logo: .mw-logo-wordmark, .mw-logo-tagline, .mw-wiki-title, .mw-logo-text { display: none !important; } --- BIG LOGO: Vector 2022 ---: 1) Set how tall you want the header area: .vector-header { min-height: 160px !important; adjust: } 2) Let the logo block use that height: .vector-header-start, .mw-logo { height: 160px !imp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Vector 2022: hide the wordmark (site title) and tagline next to the logo */
.mw-logo-wordmark,
.mw-logo-tagline,
.mw-wiki-title,
.mw-logo-text {
  display: none !important;
}
/* --- BIG LOGO: Vector 2022 --- */

/* 1) Set how tall you want the header area */
.vector-header {
  min-height: 160px !important; /* adjust */
}

/* 2) Let the logo block use that height */
.vector-header-start,
.mw-logo {
  height: 160px !important;     /* match the header height */
  display: flex !important;
  align-items: center !important;
}

/* 3) Kill Vector's built-in logo caps */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img {
  max-height: none !important;
  height: 180px !important;     /* THIS is what makes it bigger */
  width: auto !important;
}