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 emptywhite space above logo in Vector 2022 header ===== */
 
/* Remove unwantedall padding and min-heightmargin in Vector 2022 header */
/* Collapsible section toggle styling */
.mw-collapsible-toggle {
background: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 5px;
text-align: center;
border-radius: 4px;
 
.mw-collapsible-content {
padding: 5px;
}
 
/* 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 */
/* Logo wrapper adjustments to align with search bar */
.vector-header .vector-header-start .mw-logo-wordmark,
.vector-header .vector-header-start .vector-header-wiki-name {
padding-bottomdisplay: 0none !important;
 
/* Ensure logo container aligns logo to very top */
.vector-header-start {
display: flex !important;
align-items: flex-start !important; /* Align logo to top inside container */
justify-content: center !important;
padding-top: 10px0 !important; /* Adjust this value (8px, 10px, 12px) to align/* withKEY: searchremove top barpadding */
padding-bottom: 0 !important;
margin: 0 !important;
height: auto !important;
}
 
/* Adjust logo to touch the top and scale correctly */
/* Logo adjustments */
.vector-header-logo,
.mw-logo-icon {
width: 120px !important; /* Adjust sizewidth asif needed */
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 */