MediaWiki:Common.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* |
/*=====Final Fix:Remove top empty space in Vector 2022 header=====*/ |
||
/* |
/*Special:Version 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- |
.mw-collapsible-content{padding:5px;} |
||
background: #f8f9fa; |
|||
⚫ | |||
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; |
|||
⚫ | |||
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; |
|||
⚫ | |||
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; |
|||
⚫ | |||
border-radius: 4px; |
|||
⚫ | |||
} |
|||
.mw-collapsible-content { |
|||
padding: 5px; |
|||
} |
|||
⚫ | |||
.vector-header, |
|||
.vector-header-container, |
|||
.vector-sticky-header { |
|||
padding-top: 0 !important; |
|||
padding-bottom: 0 !important; |
|||
min-height: 0 !important; |
|||
height: auto !important; |
|||
} |
|||
⚫ | |||
.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; |
|||
} |
|||
⚫ | |||
.vector-header-logo, |
|||
.mw-logo-icon { |
|||
width: 120px !important; /* Adjust as needed */ |
|||
background-size: contain !important; |
|||
background-repeat: no-repeat !important; |
|||
background-position: center !important; |
|||
} |
|||
⚫ | |||
.vector-header .vector-header-start .mw-logo-wordmark, |
|||
⚫ | |||
display: none !important; |
|||
} |
Revision as of 15:59, 13 July 2025
/*=====Final Fix:Remove top empty space in Vector 2022 header=====*/
/*Special:Version 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 in Vector 2022*/
.vector-header,.vector-header-container,.vector-sticky-header{padding-top:0!important;padding-bottom:0!important;min-height:0!important;height:auto!important;}
/*Logo wrapper adjustments*/
.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;}
/*Adjust logo image size*/
.vector-header-logo,.mw-logo-icon{width:120px!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
/*Hide site title in Vector 2022*/
.vector-header .vector-header-start .mw-logo-wordmark,.vector-header .vector-header-start .vector-header-wiki-name{display:none!important;}