Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiGor
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
/* ===== Remove excessive header space in Vector 2022 and center logo ===== */


/* Header container space हटाएँ */
.vector-header-container {
.vector-header-container {
min-height: auto !important;
padding-top: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-bottom: 0 !important;
min-height: 0 !important;
height: auto !important;
}
}


/* Logo size and alignment adjust */
/* Logo container adjustments */
.vector-header-logo, .mw-logo-icon {
.vector-header-start {
width: 100px !important;
padding-top: 0 !important;
height: auto !important;
padding-bottom: 0 !important;
display: flex !important;
display: flex !important;
align-items: center !important;
align-items: center !important;
justify-content: center !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
}


/* Adjust logo background */
/* Logo size and perfect centering */
.vector-header-logo a, .mw-logo-icon a {
.vector-header-logo, .mw-logo-icon {
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;
display: flex !important;
display: flex !important;
align-items: center !important;
align-items: center !important;
justify-content: center !important;
justify-content: center !important;
height: 100% !important;
}
}

Revision as of 11:56, 13 July 2025

/* ===== Remove excessive header space in Vector 2022 and center logo ===== */

/* Header container space हटाएँ */
.vector-header-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

/* Logo container adjustments */
.vector-header-start {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}

/* Logo size and perfect centering */
.vector-header-logo, .mw-logo-icon {
    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;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}