MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
border-spacing: 3px; | border-spacing: 3px; | ||
} | |||
@media screen { | |||
.infobox { | |||
background-color: #f8f9fa; | |||
} | |||
.skin-theme-clientpref-night .infobox { | |||
background-color: #1f1f23; | |||
color: #f8f9fa; | |||
} | |||
.skin-theme-clientpref-night .infobox-above { | |||
background-color: #1f1f23; | |||
color: #f8f9fa; | |||
} | |||
} | |||
@media (max-width: 640px) { | |||
.infobox { | |||
width: 100%; | |||
} | |||
.infobox .nowrap { | |||
white-space: normal; | |||
} | |||
} | |||
@media (min-width: 640px) { | |||
.infobox { | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
width: 22em; | |||
} | |||
} | } | ||
| Line 63: | Line 102: | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
} | } | ||