MediaWiki:Common.css: Difference between revisions
init |
add .infoboxOuter class for responsive infobox templates |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infoboxOuter { | |||
width: 100%; | |||
} | |||
@media ( | @media (max-width: 500px) { | ||
.infoboxOuter { | |||
width: 200px; | |||
} | } | ||
} | } |
Revision as of 18:38, 21 November 2024
/* CSS placed here will be applied to all skins */ .infoboxOuter { width: 100%; } @media (max-width: 500px) { .infoboxOuter { width: 200px; } }