Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
+ | clear: right; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px solid #aaa; | 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 { | .infobox .name { | ||
− | font-size: | + | 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; | ||
} | } |
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; }