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