MediaWiki:Common.css: Difference between revisions
Incumbent center |
Wikipedia css |
||
| Line 17: | Line 17: | ||
} | } | ||
.infobox | /* Fix for infobox image centering and proportions */ | ||
text-align: center | .mw-parser-output .infobox-image { | ||
display: block; | text-align: center; | ||
padding: 0.2em; | |||
} | |||
.mw-parser-output .infobox-image img { | |||
max-width: 220px; | |||
height: auto; | |||
display: inline-block; | |||
} | |||
.mw-parser-output .infobox-caption { | |||
text-align: center; | |||
line-height: normal; | |||
padding-top: 0.2em; | |||
} | } | ||