MediaWiki:Common.css: Difference between revisions
Incumbent center |
Undo revision 672 by Administrator (talk) Tag: Undo |
||
(4 intermediate revisions by the same user not shown) | |||
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; | |||
} | |||
.infobox-full-data { | |||
text-align: center; | |||
vertical-align: top; | |||
} | } |