MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
#asx-top-banner img { | #asx-top-banner img { | ||
display: block; | display: block; | ||
height: auto; | height: auto; | ||
max-height: 90px; | max-height: 90px; | ||
Line 25: | Line 24: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
float: left; | |||
} | } | ||
Revision as of 14:12, 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;
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;
}