Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
− | + | background: #dddddd; | |
− | + | border: 1px solid #aaa; | |
− | + | float: right; | |
− | + | margin: 0 0 1em 1em; | |
− | + | padding: 1em; | |
− | + | width: 400px; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | .infobox | + | .infobox-title { |
− | + | font-size: 2em; | |
− | + | text-align: center; | |
− | + | }t | |
− | + | .infobox-image { | |
+ | text-align: center; | ||
} | } | ||
− | |||
.infobox th { | .infobox th { | ||
− | + | text-align: right; | |
− | + | vertical-align: top; | |
− | + | width: 120px; | |
} | } | ||
− | .infobox | + | .infobox td { |
− | + | vertical-align: top; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 02:49, 16 November 2020
/* CSS placed here will be applied to all skins */ /* Infobox template style */ .infobox { background: #dddddd; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; }t .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }