MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
} | } | ||
/* Force Minerva logo to show | |||
/* Force Minerva logo to show on all screen sizes */ | |||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
background: url("/resources/assets/RailDBLogo-Small-White.png") no-repeat left center; | background: url("/resources/assets/RailDBLogo-Small-White.png") no-repeat left center !important; | ||
background-size: contain; | background-size: contain !important; | ||
text-indent: -9999px; /* hide the text */ | text-indent: -9999px; /* hide the text */ | ||
width: 200px; | width: 200px; /* match your logo width */ | ||
height: 66px; | height: 66px; /* match your logo height */ | ||
display: inline-block; | |||
} | |||
/* Ensure the clickable area covers the logo */ | |||
.minerva-header .branding-box a { | |||
display: block; | |||
width: 160px; | |||
height: 40px; | |||
} | } | ||
Revision as of 22:46, 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: 200px; /* match your logo width */
height: 66px; /* match your logo height */
display: inline-block;
}
/* Ensure the clickable area covers the logo */
.minerva-header .branding-box a {
display: block;
width: 160px;
height: 40px;
}