MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1:
/* ===== Final Fix: RemoveMake toplogo emptytouch spacethe top in Vector 2022 header ===== */
 
/* Remove unwantedall padding inand Vectormargins in 2022header */
.vector-header {,
.vector-header-container, .vector-sticky-header {
padding-top: auto !important;
.vector-sticky-header,
padding-bottom: 0 !important;
.vector-header-start,
min-height: 0 !important;
.vector-header-logo,
height: auto !important;
.mw-logo-icon {
}
padding-top: auto0 !important;
 
padding-bottommargin: 0 !important;
.vector-header-container, .vector-sticky-header {
padding-top: 0 !important;
padding-bottom: 0 !important;
height: auto !important;
min-height: 0 !important;
}
 
/* LogoRemove wrappersite adjustmentstitle text */
.vector-header-start, .vector-header-logo,start .mw-logo-icon {wordmark,
.vector-header .vector-header-start .vector-header-wiki-name {
margin: 0 !important;
paddingdisplay: 0none !important;
height: auto !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
 
/* AdjustMake logo imagetouch sizethe top and center it */
.vector-header-logo, .mw-logo-icon {
width: 120px !important; /* Adjust width as needed */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: centertop center !important; /* KEY: align logo to the top */
min-heightdisplay: 0flex !important;
align-items: centerflex-start !important; /* KEY: stick to top */
paddingjustify-topcontent: 0center !important;
}
 
/* Ensure logo container aligns logo to top */
 
.vector-header-start {
/* ===== Hide site title in Vector 2022 ===== */
heightdisplay: autoflex !important;
.vector-header .vector-header-start .mw-logo-wordmark,
align-items: flex-start !important; /* KEY: stick to top */
.vector-header .vector-header-start .vector-header-wiki-name {
displayjustify-content: nonecenter !important;
}