MediaWiki:Minerva.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 7: | Line 7: | ||
} | } | ||
/* | /* Hide search input box but preserve icon + functionality on all screens */ | ||
.skin-minerva .minerva-search-form input { | |||
width: 0 !important; | |||
width: | opacity: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | |||
border: none !important; | |||
} | |||
/* Ensure the magnifying glass stays visible and clickable */ | |||
.skin-minerva .minerva-search-form .mw-ui-icon-search { | |||
font-size: 1.5em; | font-size: 1.5em; | ||
display: inline-block !important; | |||
padding: 0 12px; | padding: 0 12px; | ||
cursor: pointer; | |||
} | |||
/* Optional: align right with margin */ | |||
.skin-minerva .minerva-search-form { | |||
margin-left: auto; | |||
margin-right: 12px; | |||
} | } |
Revision as of 09:36, 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; } /* Hide search input box but preserve icon + functionality on all screens */ .skin-minerva .minerva-search-form input { width: 0 !important; opacity: 0 !important; padding: 0 !important; margin: 0 !important; border: none !important; } /* Ensure the magnifying glass stays visible and clickable */ .skin-minerva .minerva-search-form .mw-ui-icon-search { font-size: 1.5em; display: inline-block !important; padding: 0 12px; cursor: pointer; } /* Optional: align right with margin */ .skin-minerva .minerva-search-form { margin-left: auto; margin-right: 12px; }