MediaWiki:Common.css: Difference between revisions
From Drew's Battletech Wiki
(Created page with "→CSS placed here will be applied to all skins: ===CSS for Skinning Info Boxes=== */ table.infobox { background: white; border: 1px solid #007; border-collapse: colla...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
===CSS for Skinning Info Boxes=== | ===CSS for Skinning Info Boxes=== | ||
*/ | */ | ||
table.infobox { | table.infobox { | ||
background: | background: #345; | ||
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; | ||
Line 14: | Line 15: | ||
width: 350px; | width: 350px; | ||
} | } | ||
table.infobox tr { | table.infobox tr { | ||
text-align: center; | text-align: center; | ||
Line 34: | Line 36: | ||
} | } | ||
table.infobox tr.infoboxrow { | table.infobox tr.infoboxrow { | ||
background: # | background: #EEF; | ||
color: inherit; | color: inherit; | ||
border-spacing: 0; | border-spacing: 0; | ||
Line 46: | Line 48: | ||
} | } | ||
table.infobox tr.infoboxrow td { | table.infobox tr.infoboxrow td { | ||
background: # | background: #EEF; | ||
border-top: 1px solid #007; | border-top: 1px solid #007; | ||
border-bottom: 1px solid #007; | border-bottom: 1px solid #007; |
Latest revision as of 19:35, 21 February 2014
/* CSS placed here will be applied to all skins */ /* ===CSS for Skinning Info Boxes=== */ table.infobox { background: #345; 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; }