MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 94: | Line 94: | ||
/* Mobile infobox full width (Minerva skin) */ | /* Mobile infobox full width (Minerva skin) */ | ||
@media screen and (max-width: 720px) { | |||
.infobox { | |||
width: 100% !important; | |||
float: none !important; | |||
margin: 0 0 1em 0 !important; | |||
} | |||
} | |||
/* Desktop infobox (Wikipedia style) */ | |||
@media screen and (min-width: 721px) { | |||
.infobox { | |||
width: 22em; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
} | |||
} | |||
/* Mobile infobox full width */ | |||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.infobox { | .infobox { | ||