MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1:
/* ===== Final Fix: MakeRemove logotop touchempty the topspace in Vector 2022 header ===== */
 
/* Remove allunwanted padding andin margins inVector header2022 */
.vector-header, {
padding-top: 0 !important;
.vector-header-container,
marginpadding-bottom: 0 !important;
.vector-sticky-header,
displaymin-height: flex0 !important;
.vector-header-start,
displayheight: flexauto !important;
.vector-header-logo,
}
.mw-logo-icon {
 
padding: 0 !important;
.vector-header-container, .vector-sticky-header {
margin: 0 !important;
justifypadding-contenttop: center0 !important;
padding-bottom: 0 !important;
height: auto !important;
min-height: 0 !important;
}
 
/* RemoveLogo sitewrapper title textadjustments */
.vector-header-start, .vector-header-startlogo, .mw-logo-wordmark,icon {
margin: 0 !important;
.vector-header .vector-header-start .vector-header-wiki-name {
displaypadding: none0 !important;
height: auto !important;
display: flex !important;
align-items: flex-startcenter !important; /* KEY: stick to top */
justify-content: center !important;
}
 
/* MakeAdjust logo touchimage the top and center itsize */
.vector-header-logo, .mw-logo-icon {
width: 100px120px !important; /* Adjust width as needed */
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: topcenter center !important; /* KEY: align logo to the top */
display: flex !important;
align-items: flex-start !important; /* KEY: stick to top */
justify-content: center !important;
}
 
 
/* Ensure logo container aligns logo to top */
/* ===== Hide site title in Vector 2022 ===== */
.vector-header-start {
.vector-header .vector-header-start .mw-logo-wordmark,
display: flex !important;
.vector-header .vector-header-start .vector-header-wiki-name {
align-items: flex-start !important; /* KEY: stick to top */
justify-contentdisplay: centernone !important;
}