MediaWiki:Common.css: Difference between revisions
m Serving custom fonts from web server |
Infobox display on mobile (thanks to Sintel) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* for [[Template: | /* set infoboxes to full width to clear anything on the side */ | ||
/* | /* if the interface is too narrow for it to make sense */ | ||
span. | @media screen and (max-width: 720px) { | ||
span. | 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]] */ | |||
/* no effects for now */ | |||
span.left-delim, span.right-delim { | |||
} | } | ||