MediaWiki:Minerva.css

From Formula One Wiki
Revision as of 09:35, 5 August 2025 by Formula (talk | contribs)
Jump to navigation Jump to search

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

/* Force desktop Minerva to use the mobile-style search icon */
@media (min-width: 720px) {
  .skin-minerva .minerva-search-form {
    width: auto !important;
    padding: 0 !important;
    background: none !important;
  }

  .skin-minerva .minerva-search-form input {
    display: none !important;
  }

  .skin-minerva .minerva-search-form .mw-ui-icon-search {
    font-size: 1.5em;
    padding: 0 12px;
    display: inline-block !important;
  }
}