Template:Infobox/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 94: | Line 94: | ||
margin: 0 0 1em 0; | margin: 0 0 1em 0; | ||
} | } | ||
} | |||
@media (max-width: 600px) { | |||
.infobox { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 1em 0 !important; | |||
box-sizing: border-box; | |||
} | |||
.infobox { | |||
display: table !important; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
text-align: center !important; | |||
width: 50% !important; | |||
} | |||
} | } | ||