MediaWiki:Minerva.css: Difference between revisions

From Formula One Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 7: Line 7:
}
}


/* Fix header layout in MinervaNeue */
/* Push the search bar all the way to the right without affecting logo */
.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 {
.skin-minerva .minerva-search-form {
     margin-left: auto !important;
     position: absolute !important;
     flex-shrink: 0;
    right: 12px !important;
     top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
}

Revision as of 09:32, 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;
}

/* Push the search bar all the way to the right without affecting logo */
.skin-minerva .minerva-search-form {
    position: absolute !important;
    right: 12px !important;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}