Template:Infobox/styles.css: Difference between revisions
Refine shared article layout templates |
Tighten mobile infobox sizing |
||
| Line 68: | Line 68: | ||
width:100%; | width:100%; | ||
margin:0 0 1em; | margin:0 0 1em; | ||
} | |||
} | |||
@media (max-width:720px){ | |||
.mw-parser-output table.infobox{ | |||
font-size:84%; | |||
line-height:1.4; | |||
} | |||
.mw-parser-output table.infobox .infobox-title{ | |||
padding:.38em .5em; | |||
font-size:112%; | |||
} | |||
.mw-parser-output table.infobox .infobox-image{ | |||
padding:.35em; | |||
} | |||
.mw-parser-output table.infobox th, | |||
.mw-parser-output table.infobox td{ | |||
padding:.3em .45em; | |||
} | } | ||
} | } | ||