WikipediNyah:Main Page/styles.css: Difference between revisions
NeonWabbit (talk | contribs) No edit summary |
NeonWabbit (talk | contribs) No edit summary |
||
| Line 76: | Line 76: | ||
display: block; | display: block; | ||
clear: both; | clear: both; | ||
} | |||
/* Avoid floating at lower resolutions when there is just 2-3 words to the right of the image especially at 400px. Please test at 400px before removing/revising these rules. */ | |||
@media (max-width: 500px) { | |||
.mp-contains-float > * { | |||
float: none !important; | |||
margin: auto !important; | |||
} | |||
.mp-contains-float .mp-thumb { | |||
margin: auto; | |||
} | |||
} | } | ||