MediaWiki:Common.css: Difference between revisions
From Drew's Battletech Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
border: 1px solid #007; | border: 1px solid #007; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
clear: right; | clear: right !important; | ||
color: black; | color: black; | ||
float: right; | float: right !important; | ||
line-height: 2em; | line-height: 2em; | ||
margin: 10px; | margin: 10px; |
Revision as of 18:48, 21 February 2014
/* CSS placed here will be applied to all skins */ ===CSS for Skinning Info Boxes=== */ table.infobox { background: white; border: 1px solid #007; border-collapse: collapse; clear: right !important; color: black; float: right !important; line-height: 2em; margin: 10px; padding: 5px; width: 350px; } table.infobox tr { text-align: center; } table.infobox tr td.infoboxname, table.infobox tr th.infoboxname { color: inherit; background: white; font-size: larger; font-weight: bold; text-align: center; } table.infobox tr td.infoboxheading, table.infobox tr th.infoboxheading { background: #EEF; border-color: #007; color: inherit; font-weight: bold; text-align: left; } table.infobox tr.infoboxrow { background: #EEF; color: inherit; border-spacing: 0; vertical-align: middle; text-align: left; } table.infobox tr td { background: white; color: inherit; padding: 5px; } table.infobox tr.infoboxrow td { background: #EEF; border-top: 1px solid #007; border-bottom: 1px solid #007; color: inherit; } table.infobox tr.infoboxrow td.bot { border-bottom: 1px solid #007; border-top: none; } table.infobox tr.infoboxrow td.top { border-bottom: none; border-top: 1px solid #007; }