MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 68: | Line 68: | ||
} | } | ||
#p-personal { | |||
position: relative !important; | |||
top: 100px !important; | |||
z-index: 10000 !important; | |||
} | |||
body { | body { | ||
overflow-x: hidden !important; | overflow-x: hidden !important; | ||
} | } |
Revision as of 15:49, 27 May 2025
/* Push everything below the fixed banner */
body {
margin-top: 0 !important;
}
#mw-page-base {
padding-top: 21px !important;
}
/* Force the new Vector 2022 header (tab bar) down */
.vector-header {
padding-top: 40px !important;
}
/* Fixed header banner */
#asx-top-banner {
position: relative;
top: 10px;
left: 170px;
width: 100%;
max-width: 100%;
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: 100px !important;
z-index: 10000 !important;
}
body {
overflow-x: hidden !important;
}