MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
display: block; | display: block; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 70px; | ||
object-fit: contain; | object-fit: contain; | ||
margin: 0; | margin: 0; |
Revision as of 15:35, 27 May 2025
/* Push everything below the fixed banner */
body {
margin-top: 0 !important;
}
#mw-page-base {
padding-top: 50px !important;
}
/* Force the new Vector 2022 header (tab bar) down */
.vector-header {
padding-top: 50px !important;
}
/* Fixed header banner */
#asx-top-banner {
position: relative;
top: 10px;
left: 170px;
width: 120%;
background: transparent;
margin: 0;
padding: 0;
z-index: 9999;
}
/* Header banner image */
#asx-top-banner img {
display: block;
height: auto;
max-height: 70px;
object-fit: contain;
margin: 0;
padding: 0;
float: left;
}
/* Remove default background on page tools/tabs (if visible) */
.vector-header,
.vector-page-toolbar-container,
.vector-tab-links {
background: transparent !important;
border: none !important;
}
/* Move ALL top tabs, including user and page actions, below the header */
#ca-view,
#ca-edit,
#ca-history,
#ca-talk,
#pt-userpage,
#pt-mytalk,
#pt-notifications-alert,
#pt-notifications-message,
#pt-preferences,
#pt-watchlist,
#pt-mycontris,
#pt-logout,
.vector-user-links,
.vector-page-toolbar-container,
.vector-header,
.vector-tabs {
position: relative !important;
top: 0px !important;
z-index: 10000 !important;
}
#p-personal {
position: relative !important;
top: 1000px !important;
z-index: 10000 !important;
}