MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
background-size: contain !important; | background-size: contain !important; | ||
text-indent: -9999px; /* hide the text */ | text-indent: -9999px; /* hide the text */ | ||
width: | width: 160px; /* match your logo width */ | ||
height: | height: 53px; /* match your logo height */ | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
| Line 23: | Line 23: | ||
.minerva-header .branding-box a { | .minerva-header .branding-box a { | ||
display: block; | display: block; | ||
width: | width: 160px; | ||
height: | height: 53px; | ||
} | } | ||
Revision as of 22:49, 8 October 2025
/* CSS placed here will be applied to all skins */
.header-container.header-chrome {
background-color: #204a62;
}
.minerva-header .branding-box a span {
color: #FFF;
}
/* Force Minerva logo to show on all screen sizes */
.minerva-header .branding-box {
background: url("/resources/assets/RailDBLogo-Small-White.png") no-repeat left center !important;
background-size: contain !important;
text-indent: -9999px; /* hide the text */
width: 160px; /* match your logo width */
height: 53px; /* match your logo height */
display: inline-block;
}
/* Ensure the clickable area covers the logo */
.minerva-header .branding-box a {
display: block;
width: 160px;
height: 53px;
}