MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Shift content | /* Shift page content below banner */ | ||
body { | body { | ||
margin-top: 120px !important; | margin-top: 120px !important; | ||
} | |||
/* Move all UI elements down including tabs */ | |||
#mw-page-base { | |||
padding-top: 120px !important; | |||
} | } | ||
Line 27: | Line 32: | ||
} | } | ||
/* Transparent top tabs */ | |||
.vector-tabs, | .vector-tabs, | ||
.vector-tabs li, | .vector-tabs li, | ||
Line 52: | Line 52: | ||
.vector-tabs li.selected a { | .vector-tabs li.selected a { | ||
color: red !important; | color: red !important; | ||
} | } |
Revision as of 14:30, 27 May 2025
/* Shift page content below banner */
body {
margin-top: 120px !important;
}
/* Move all UI elements down including tabs */
#mw-page-base {
padding-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;
}
/* 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;
}