MediaWiki:Minerva.css: Difference between revisions

From Formula One Wiki
Jump to navigation Jump to search
(Created page with "→‎All CSS here will be loaded for users of the MinervaNeue skin: →‎Hide text site name: .minerva-header .branding-box .site-brand { display: none; } →‎Inject logo image: .minerva-header .branding-box { background-size: contain; background-repeat: no-repeat; background-position: center; height: 48px; →‎Increase if logo is tall: }")
 
No edit summary
Tag: Manual revert
 
(17 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 */


/* Hide text 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;
 
/* Inject logo image */
.minerva-header .branding-box {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 48px; /* Increase if logo is tall */
}
}

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;
}