MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
left: | left: 100; | ||
width: 100%; | width: 100%; | ||
background: transparent; | background: transparent; |
Revision as of 14:13, 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: 100;
width: 100%;
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,
.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;
}