MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
/* ===== Final TestedFix: CSS to removeRemove top-bottom whiteempty space underin Vector 2022 logoheader ===== */
 
/* Remove headerunwanted extrapadding spacein Vector 2022 */
.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;
}
 
.vector-header-logocontainer, .mwvector-logosticky-iconheader {
/* Perfectly center the logo */
marginpadding-bottomtop: 0 !important;
.vector-header-logo, .mw-logo-icon {
displaypadding-bottom: flex0 !important;
align-items: center !important;
justify-content: center !important;
width: 100px !important; /* आवश्यकता अनुसार 100, 120, 150 */
height: auto !important;
marginmin-height: 0 !important;
padding: 0 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
}
 
/* Logo wrapper adjustments */
/* Adjust inner container for alignment */
.vector-header-start, >.vector-header-logo, a.mw-logo-icon {
margin-top: 0 !important;
align-itemspadding: center0 !important;
align-itemsheight: centerauto !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
height: 100% !important;
 
width: auto !important;
/* Adjust logo image size */
.vector-header-logo, .mw-logo-icon {
width: auto100px !important; /* Adjust as needed */
paddingbackground-size: 0contain !important;
background-sizerepeat: containno-repeat !important;
justifybackground-contentposition: center center !important;
}