MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→Resize and position logo: #p-logo { background-size: contain !important; background-position: center center !important; height: 100px !important; →Adjust height: width: 160px !important; →Adjust width: margin-top: 10px; } #p-logo a { height: 100% !important; } →Optional: remove extra padding/margins: body { padding-top: 0; }" |
No edit summary |
||
Line 1: | Line 1: | ||
/* Resize and position logo */ | /* Resize and position sidebar logo */ | ||
#p-logo { | #p-logo { | ||
background-image: url("https://wimbumvault.org/images/logo.png") !important; | |||
background-size: contain !important; | background-size: contain !important; | ||
background-position: center center !important; | background-position: center center !important; | ||
background-repeat: no-repeat !important; | |||
width: | width: 150px; | ||
margin | height: 100px; | ||
margin: 0 auto; | |||
} | } | ||
#p-logo a { | #p-logo a { | ||
height: 100% | height: 100%; | ||
display: block; | |||
} | } |
Revision as of 07:23, 23 April 2025
/* Resize and position sidebar logo */ #p-logo { background-image: url("https://wimbumvault.org/images/logo.png") !important; background-size: contain !important; background-position: center center !important; background-repeat: no-repeat !important; width: 150px; height: 100px; margin: 0 auto; } #p-logo a { height: 100%; display: block; }