MediaWiki:Common.css: Difference between revisions

From ASXResearch
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* Shift page content below banner */
/* Push everything below the fixed banner */
body {
body {
     margin-top: 30px !important;
     margin-top: 0 !important;
}
}


/* Move all UI elements down including tabs */
#mw-page-base {
#mw-page-base {
     padding-top: 30px !important;
     padding-top: 100px !important;
}
}


/* Properly pinned header banner */
/* Force the new Vector 2022 header (tab bar) down */
.vector-header {
    padding-top: 100px !important;
}
 
/* Fixed header banner */
#asx-top-banner {
#asx-top-banner {
     position: fixed;
     position: fixed;
Line 21: Line 25:
}
}


/* Scale and constrain banner image */
/* Header banner image */
#asx-top-banner img {
#asx-top-banner img {
     display: block;
     display: block;
Line 32: Line 36:
}
}


/* Transparent top tabs */
/* Remove default background on page tools/tabs (if visible) */
.vector-tabs,
.vector-header,  
.vector-tabs li,
.vector-page-toolbar-container,  
.vector-tabs li.selected,
.vector-tab-links {
.vector-tabs li.selected a,
.vector-tabs li a {
     background: transparent !important;
     background: transparent !important;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10000 !important;
}
/* Highlight for active tab */
.vector-tabs li.selected a {
    color: red !important;
}
/* 🔥 FORCE tabs down with absolute position override */
.vector-tabs {
    position: relative !important;
    top: 120px !important;
    z-index: 10000 !important;
}
}

Revision as of 14:34, 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;
}