Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(14 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
max-width: 25em; | max-width: 25em; | ||
padding: 0.5em; | padding: 0.5em; | ||
+ | margin: 0 0 2em 2em; | ||
+ | font-size: 80%; | ||
+ | } | ||
+ | |||
+ | .infobox-float-none { | ||
+ | float: none; | ||
+ | clear: none; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .infobox-float-left { | ||
+ | float: left; | ||
+ | clear: left; | ||
+ | } | ||
+ | |||
+ | .infobox-float-right { | ||
+ | float: right; | ||
+ | clear: right; | ||
} | } | ||
Line 13: | Line 31: | ||
.infobox .name { | .infobox .name { | ||
− | font-size: | + | font-size: 150%; |
+ | font-weight: bold; | ||
} | } | ||
.infobox img { | .infobox img { | ||
− | max-width: | + | max-width: 80%; |
+ | max-height: 15em; | ||
+ | width: auto; | ||
height: auto; | height: auto; | ||
+ | margin: 0 1em; | ||
+ | } | ||
+ | |||
+ | .infobox th { | ||
+ | text-align: left; | ||
} | } |
Latest revision as of 20:44, 7 June 2020
.infobox { float: right; clear: right; background: #f9f9f9; border: 1px solid #aaa; max-width: 25em; padding: 0.5em; margin: 0 0 2em 2em; font-size: 80%; } .infobox-float-none { float: none; clear: none; display: inline-block; } .infobox-float-left { float: left; clear: left; } .infobox-float-right { float: right; clear: right; } .infobox .name, .infobox .printer-thumb { text-align: center; } .infobox .name { font-size: 150%; font-weight: bold; } .infobox img { max-width: 80%; max-height: 15em; width: auto; height: auto; margin: 0 1em; } .infobox th { text-align: left; }