MediaWiki:Common.css: Difference between revisions

From ASXResearch
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* ASX Header Styling */
/* Shift content down to make room for banner */
body {
    margin-top: 90px !important;
}
 
/* Properly pinned header banner */
#asx-top-banner {
#asx-top-banner {
     position: absolute;
     position: fixed;
     top: 0;
     top: 0;
     left: 0;
     left: 0;
     width: 100%;
     width: 100%;
    background: transparent;
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
    background: transparent;
     z-index: 9999;
     z-index: 9999;
}
}


/* Optional image scaling control if needed */
/* Scale and constrain banner image */
#asx-top-banner img {
#asx-top-banner img {
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
    max-height: 90px;
    object-fit: contain;
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
Line 37: Line 44:
}
}


/* Red highlight for selected tab */
/* Highlight for active tab */
.vector-tabs li.selected a {
.vector-tabs li.selected a {
     color: red !important;
     color: red !important;
}
}

Revision as of 14:09, 27 May 2025

/* Shift content down to make room for banner */
body {
    margin-top: 90px !important;
}

/* Properly pinned header banner */
#asx-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    margin: 0;
    padding: 0;
    z-index: 9999;
}

/* Scale and constrain banner image */
#asx-top-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/* Clean transparent top tabs */
.vector-tabs,
.vector-tabs li,
.vector-tabs li.selected,
.vector-tabs li.selected a,
.vector-tabs li a {
    background: transparent !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;
}