MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Force container size */ | |||
#p-logo { | #p-logo { | ||
height: 80px !important; | |||
width: 100% !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
overflow: hidden !important; | |||
} | } | ||
/* Force logo image resize */ | |||
#p-logo a { | #p-logo a { | ||
display: block !important; | |||
height: 80px !important; | |||
width: 135px !important; | |||
background-size: contain !important; | background-size: contain !important; | ||
background-position: left center !important; | |||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } |
Revision as of 06:14, 5 August 2025
/* CSS placed here will be applied to all skins */ /* Force container size */ #p-logo { height: 80px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; } /* Force logo image resize */ #p-logo a { display: block !important; height: 80px !important; width: 135px !important; background-size: contain !important; background-position: left center !important; background-repeat: no-repeat !important; margin: 0 !important; padding: 0 !important; }