MediaWiki:Common.css

From ASXResearch
Revision as of 15:49, 27 May 2025 by Dbadmin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}