MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 287: | Zeile 287: | ||
font-size: 95%; | font-size: 95%; | ||
color: #000000; | color: #000000; | ||
} | |||
/* 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%; | |||
margin-right: 2px; | |||
} | |||
#mp-right { | |||
flex: 1 1 45%; | |||
margin-left: 2px; | |||
} | |||
} | } |