MediaWiki:Minerva.css

Revision as of 09:04, 5 August 2025 by Formula (talk | contribs)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the MinervaNeue skin */

/* Completely hide the default site name */
.minerva-header .branding-box .site-brand {
  display: none;
}

/* Replace with custom logo */
.minerva-header .branding-box {
  background-image: url("/w/resources/assets/Formula-One-Wiki_H.svg"); /* ← change this path */
  background-repeat: no-repeat;
  background-size: auto 100%;  /* Maintain aspect ratio, full height */
  background-position: left center;
  height: 48px; /* adjust based on your logo's height */
  padding-left: 56px; /* push content to the right so logo has space */
}