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 empty space in Vector 2022 header ===== */
/*
.mw-collapsible-
background: #f8f9fa;
/*Remove unwanted padding in Vector 2022*/▼
border: 1px solid #a2a9b1;
padding: 8px;
/*Logo wrapper adjustments*/▼
cursor: pointer;
font-weight: bold;
margin-bottom: 5px;
text-align: center;
/*Hide site title in Vector 2022*/▼
border-radius: 4px;
}
.mw-collapsible-content {
padding: 5px;
}
▲/* Remove unwanted padding and min-height in Vector 2022 header */
.vector-header,
.vector-header-container,
.vector-sticky-header {
padding: 0 !important;
margin: 0 !important;
height: auto !important;
min-height: 0 !important;
}
/* Logo wrapper adjustments to align with search bar */
.vector-header-start {
display: flex !important;
align-items: flex-start !important; /* Align logo to top inside container */
justify-content: center !important;
padding-top: 10px !important; /* Adjust this value (8px, 10px, 12px) to align with search bar */
padding-bottom: 0 !important;
margin: 0 !important;
height: auto !important;
}
.vector-header-logo,
.mw-logo-icon {
width: 120px !important; /* Adjust size as needed */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: top center !important;
display: flex !important;
align-items: flex-start !important;
justify-content: center !important;
padding: 0 !important;
margin: 0 !important;
height: auto !important;
}
▲/* Hide site title in Vector 2022 */
.vector-header .vector-header-start .mw-logo-wordmark,
.vector-header .vector-header-start .mw-logo-wiki-name {
display: none !important;
}
|