MediaWiki:Common.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Center the logo vertically in Vector skins */ |
|||
.mw-logo-icon { |
.vector-header-logo, .mw-logo-icon { |
||
display: flex !important; |
|||
align-items: center !important; |
|||
justify-content: center !important; |
|||
} |
|||
height: 100px !important; |
|||
width: 100px !important; |
|||
background-size: contain !important; |
|||
.vector-header-logo { |
|||
background-repeat: no-repeat !important; |
|||
background-position: center center !important; |
|||
padding: 0 !important; |
|||
margin: 0 !important; |
|||
box-sizing: border-box !important; |
|||
} |
} |
Revision as of 11:52, 13 July 2025
/* Center the logo vertically in Vector skins */
.vector-header-logo, .mw-logo-icon {
display: flex !important;
align-items: 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;
box-sizing: border-box !important;
}