MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →Standard infobox styling: table.infobox { float: right; clear: right; margin: 0 0 1em 1em; width: auto; border: 1px solid #aaa; background-color: #f9f9f9; font-size: 90%; line-height: 1.4em; }" Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | <style> | ||
/* Center headers like "Incumbent" */ | |||
.infobox .infobox-above { | |||
text-align: center !important; | |||
} | } | ||
/* Center table headers */ | |||
.infobox th { | |||
text-align: center !important; | |||
} | |||
/* Keep table data left-aligned */ | |||
.infobox td { | |||
text-align: left !important; | |||
} | |||
</style> |