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