Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(I have no idea what I'm doing but I hope this works) |
m (More testing) |
||
Line 2: | Line 2: | ||
.infobox { | .infobox { | ||
− | background | + | background: #eee; |
− | border: | + | border: 1px solid #aaa; |
− | float: right; | + | float: right; |
− | margin: 0 0 1em 1em; | + | margin: 0 0 1em 1em; |
− | padding: 1em; | + | padding: 1em; |
− | width: 400px; | + | width: 400px; |
− | } | + | } |
.infobox-title { | .infobox-title { | ||
− | + | font-size: 2em; | |
− | font-size: | + | text-align: center; |
− | text-align: center; | + | } |
− | + | .infobox-image { | |
+ | text-align: center; | ||
} | } | ||
− | .infobox | + | .infobox th { |
− | + | text-align: right; | |
− | + | vertical-align: top; | |
− | + | width: 120px; | |
} | } | ||
− | .infobox | + | .infobox td { |
− | + | vertical-align: top; | |
− | |||
} | } |
Revision as of 02:13, 16 November 2020
/* CSS placed here will be applied to all skins */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }