MediaWiki:Common.css: Difference between revisions
We need delimiter classes, not nowrap classes |
Infobox display on mobile (thanks to Sintel) |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* set infoboxes to full width to clear anything on the side */ | |||
/* if the interface is too narrow for it to make sense */ | |||
@media screen and (max-width: 720px) { | |||
div.infobox { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
box-sizing: border-box !important; | |||
} | |||
} | |||
/* for bracket-like templates e.g. [[Template: Bra]] and [[Template: Ket]] */ | /* for bracket-like templates e.g. [[Template: Bra]] and [[Template: Ket]] */ | ||