MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
Line 6: | Line 6: | ||
/* Add custom logo */ | /* Add custom logo */ | ||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
background-image: url('/wiki/resources/assets/ | background-image: url('/wiki/resources/assets/LC_Logo_Full_1x.png'); /* Path to your logo */ | ||
background-size: contain; /* Adjust as necessary to fit the logo */ | background-size: contain; /* Adjust as necessary to fit the logo */ | ||
background-repeat: no-repeat; | background-repeat: no-repeat; |
Revision as of 14:10, 11 February 2024
/* Hide the default site name text */ .minerva-header .branding-box a { display: none; /* Hide text/link to make room for the logo */ } /* Add custom logo */ .minerva-header .branding-box { background-image: url('/wiki/resources/assets/LC_Logo_Full_1x.png'); /* Path to your logo */ background-size: contain; /* Adjust as necessary to fit the logo */ background-repeat: no-repeat; background-position: center center; height: 50px; /* Adjust the height according to your logo's size */ width: 100%; /* Adjust if you want a specific width */ }