|
|
| (3 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 */ |
|
| |
| /* Center and stack the logo above the Minerva mobile header icons */
| |
| .minerva-header {
| |
| display: flex !important;
| |
| flex-direction: column !important;
| |
| align-items: center !important;
| |
| }
| |
|
| |
| .minerva-header .mw-logo {
| |
| order: -1; /* move logo to the top */
| |
| width: 100%;
| |
| text-align: center;
| |
| margin-bottom: 0.3em;
| |
| }
| |
|
| |
| .minerva-header .mw-logo img {
| |
| max-width: 180px;
| |
| height: auto;
| |
| display: inline-block;
| |
| }
| |
|
| |
| /* Ensure icons (hamburger/search/profile) appear below logo and stay centered */
| |
| .minerva-header .header {
| |
| width: 100%;
| |
| display: flex;
| |
| justify-content: center !important;
| |
| align-items: center !important;
| |
| flex-wrap: wrap;
| |
| }
| |
|
| |
| .minerva-header .minerva-icon,
| |
| .minerva-header .toggle-list {
| |
| margin: 0 6px;
| |
| }
| |
|
| |
| /* Add a bit of top padding so the logo isn’t squished under the URL bar */
| |
| body.skin-minerva {
| |
| padding-top: 0.5em;
| |
| }
| |
Latest revision as of 19:14, 19 October 2025
/* All CSS here will be loaded for users of the MinervaNeue skin */