MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
} | } | ||
#ca-view, #ca-edit, #ca-history, #ca-talk | /* Move ALL top tabs, including user and page actions, below the header */ | ||
#ca-view, | |||
#ca-edit, | |||
#ca-history, | |||
#ca-talk, | |||
#pt-userpage, | #pt-userpage, | ||
#pt-mytalk, | #pt-mytalk, | ||
Line 57: | Line 56: | ||
#pt-watchlist, | #pt-watchlist, | ||
#pt-mycontris, | #pt-mycontris, | ||
#pt-logout { | #pt-logout, | ||
.vector-user-links, | |||
.vector-page-toolbar-container, | |||
.vector-header, | |||
.vector-tabs { | |||
position: relative !important; | position: relative !important; | ||
top: 100px !important; | top: 100px !important; | ||
z-index: 10000 !important; | z-index: 10000 !important; | ||
} | } |
Revision as of 14:47, 27 May 2025
/* Push everything below the fixed banner */
body {
margin-top: 0 !important;
}
#mw-page-base {
padding-top: 100px !important;
}
/* Force the new Vector 2022 header (tab bar) down */
.vector-header {
padding-top: 100px !important;
}
/* Fixed header banner */
#asx-top-banner {
position: fixed;
top: 0;
left: 150px;
width: 120%;
background: transparent;
margin: 0;
padding: 0;
z-index: 9999;
}
/* Header banner image */
#asx-top-banner img {
display: block;
height: auto;
max-height: 90px;
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: 100px !important;
z-index: 10000 !important;
}