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 ===== */
 
/*Special:Version collapsibleCollapsible 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-contenttoggle {padding:5px;}
background: #f8f9fa;
/*Remove unwanted padding in Vector 2022*/
border: 1px solid #a2a9b1;
.vector-header,.vector-header-container,.vector-sticky-header{padding-top:0!important;padding-bottom:0!important;min-height:0!important;height:auto!important;}
padding: 8px;
/*Logo wrapper adjustments*/
cursor: pointer;
.vector-header-start,.vector-header-logo,.mw-logo-icon{margin:0!important;padding:0!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;}
font-weight: bold;
/*Adjust logo image size*/
margin-bottom: 5px;
.vector-header-logo,.mw-logo-icon{width:120px!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
text-align: center;
/*Hide site title in Vector 2022*/
border-radius: 4px;
.vector-header .vector-header-start .mw-logo-wordmark,.vector-header .vector-header-start .vector-header-wiki-name{display:none!important;}
}
 
.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;
}
 
/* Logo wrapper adjustments */
.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;
}