MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Hide the default site name text */ | ||
.minerva-header .branding-box a { | |||
display: none; /* Hide text/link to make room for the logo */ | |||
} | |||
.minerva-header .branding-box | /* Add custom logo */ | ||
background-image: url('/resources/assets/LC_Logo_1x.png'); | .minerva-header .branding-box { | ||
background-size: contain; | background-image: url('/resources/assets/LC_Logo_1x.png'); /* Path to your logo */ | ||
background-size: contain; /* Adjust as necessary to fit the logo */ | |||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center; | background-position: center center; | ||
height: 50px; /* Adjust the height according to your logo's size */ | |||
width: 100%; /* Adjust if you want a specific width */ | |||
} | } |
Revision as of 14:07, 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('/resources/assets/LC_Logo_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 */ }