MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Shift content down to make room for banner */ | /* Shift content down to make room for banner */ | ||
body { | body { | ||
margin-top: | margin-top: 120px !important; | ||
} | } | ||
Line 12: | Line 12: | ||
background: transparent; | background: transparent; | ||
margin: 0; | margin: 0; | ||
padding: ; | padding: 0; | ||
z-index: 9999; | z-index: 9999; | ||
} | } | ||
Line 28: | Line 28: | ||
/* Clean transparent top tabs */ | /* Clean transparent top tabs */ | ||
.vector-tabs { | |||
margin-top: 30px !important; /* <-- Moves tabs downward */ | |||
} | |||
.vector-tabs, | .vector-tabs, | ||
.vector-tabs li, | .vector-tabs li, |
Revision as of 14:22, 27 May 2025
/* Shift content down to make room for banner */
body {
margin-top: 120px !important;
}
/* Properly pinned header banner */
#asx-top-banner {
position: fixed;
top: 0;
left: 150px;
width: 120%;
background: transparent;
margin: 0;
padding: 0;
z-index: 9999;
}
/* Scale and constrain banner image */
#asx-top-banner img {
display: block;
height: auto;
max-height: 90px;
object-fit: contain;
margin: 0;
padding: 0;
float: left;
}
/* Clean transparent top tabs */
.vector-tabs {
margin-top: 30px !important; /* <-- Moves tabs downward */
}
.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;
}