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:

/* Center the logo vertically in Vector skins */
.vector-header-container {
min-height: auto !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}

/* Logo size and alignment adjust */
.vector-header-logo, .mw-logo-icon {
.vector-header-logo, .mw-logo-icon {
width: 100px !important;
height: auto !important;
display: flex !important;
display: flex !important;
align-items: center !important;
align-items: center !important;
justify-content: center !important;
justify-content: center !important;
height: 100px !important;
width: 100px !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
padding: 0 !important;
margin: 0 !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
box-sizing: border-box !important;
}

/* Adjust logo background */
.vector-header-logo a, .mw-logo-icon a {
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
}
}

Revision as of 11:54, 13 July 2025

.vector-header-container {
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

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

/* Adjust logo background */
.vector-header-logo a, .mw-logo-icon a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}