MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1:
/* ===== Final Fix: Remove top
}▼
▲/* Remove unwanted padding and min-height in Vector 2022 header */
.vector-header,
.vector-header-container,
Line 23 ⟶ 7:
padding: 0 !important;
margin: 0 !important;
height: auto !important;▼
min-height: 0 !important;
▲ height: auto !important;
}
/* Hide site title text */
.vector-header .vector-header-start .mw-logo-wordmark,
.vector-header .vector-header-start .vector-header-wiki-name {
▲}
/* Ensure logo container aligns logo to very top */
.vector-header-start {
display: flex !important;
align-items: flex-start !important; /* Align logo to top
justify-content: center !important;
padding
▲ padding-bottom: 0 !important;
margin: 0 !important;
height: auto !important;
}
/* Adjust logo to touch the top and scale correctly */
.vector-header-logo,
.mw-logo-icon {
width: 120px !important; /* Adjust
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: top center !important; /* Align to top */
display: flex !important;
align-items: flex-start !important; /* Align image to top */
justify-content: center !important;
padding: 0 !important;
Line 52 ⟶ 41:
height: auto !important;
}
/* Hide site title in Vector 2022 */
|