MediaWiki:Minerva.css: Difference between revisions

From Formula One Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the MinervaNeue skin */
/* All CSS here will be loaded for users of the MinervaNeue skin */


/* Completely hide the default site name */
/* Force the wordmark (text logo) to shift left */
.minerva-header .branding-box .site-brand {
.skin-minerva .mw-logo-wordmark {
  display: none;
    margin-left: 8px !important; /* ← increase this value to move it further left */
}
    text-align: left !important;
 
/* 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 */
}
}

Latest revision as of 09:39, 5 August 2025

/* All CSS here will be loaded for users of the MinervaNeue skin */

/* Force the wordmark (text logo) to shift left */
.skin-minerva .mw-logo-wordmark {
    margin-left: 8px !important; /* ← increase this value to move it further left */
    text-align: left !important;
}