MediaWiki:Minerva.css

Revision as of 09:31, 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 */

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

/* Fix header layout in MinervaNeue */
.skin-minerva .branding-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 12px;
}

/* Ensure the logo doesn't get squashed */
.skin-minerva .mw-logo-wordmark {
    flex-shrink: 0;
    margin-left: 0 !important;
}

/* Align search bar to far right */
.skin-minerva .minerva-search-form {
    margin-left: auto !important;
    flex-shrink: 0;
}