MediaWiki:Common.css: Difference between revisions
Till Kraemer (talk | contribs) mNo edit summary |
Till Kraemer (talk | contribs) No edit summary |
||
Line 1,732: | Line 1,732: | ||
.flaggedrevs_stable_synced { | .flaggedrevs_stable_synced { | ||
display: none; | display: none; | ||
} | |||
/* Based on https://en.wikipedia.org/wiki/Wikipedia:Main_Page/styles.css */ | |||
@media (max-width: 875px) { | |||
/* We need to improve Template:POTD as used on the main page so that these | |||
* hacks aren't necessary */ | |||
#mp-tfp table, | |||
#mp-tfp tr, | |||
#mp-tfp td, | |||
#mp-tfp tbody { | |||
display: block !important; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
#mp-tfp tr:first-child td:first-child a { | |||
text-align: center; | |||
display: table; | |||
margin: 0 auto; | |||
} | |||
} | |||
@media (min-width: 875px) { | |||
#mp-upper { | |||
display: flex; | |||
} | |||
#mp-left { | |||
/* flex: 1 1 55%; */ | |||
flex: 1 1 50%; | |||
margin-right: 2px; | |||
} | |||
#mp-right { | |||
/* flex: 1 1 45%; */ | |||
flex: 1 1 50%; | |||
margin-left: 2px; | |||
} | |||
} | } |