MediaWiki:Common.css
Appearance
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ===== Final Tested CSS to remove top-bottom white space under logo ===== */
/* Remove header extra space */
.vector-header, .vector-header-start, .vector-header-container {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
min-height: 0 !important;
height: auto !important;
align-items: center !important;
}
/* Perfectly center the logo */
.vector-header-logo, .mw-logo-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100px !important; /* आवश्यकता अनुसार 100, 120, 150 */
height: auto !important;
margin: 0 !important;
padding: 0 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
}
/* Adjust inner container for alignment */
.vector-header-start > a {
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
width: auto !important;
}