Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
padding: 0.5em; | padding: 0.5em; | ||
margin: 0 0 2em 2em; | 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 20: | Line 37: | ||
.infobox img { | .infobox img { | ||
max-width: 80%; | max-width: 80%; | ||
− | max-height: | + | max-height: 15em; |
width: auto; | width: auto; | ||
height: auto; | height: auto; |
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; }