MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
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; | ||
background-position: | background-position: left center; | ||
height: 50px; /* Adjust the height according to your logo's size */ | height: 50px; /* Adjust the height according to your logo's size */ | ||
width: 100%; /* Adjust if you want a specific width */ | width: 100%; /* Adjust if you want a specific width */ | ||
} | } |
Revision as of 14:15, 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: left center; height: 50px; /* Adjust the height according to your logo's size */ width: 100%; /* Adjust if you want a specific width */ }