MediaWiki:Common.css
From Fax Encyclopedicus
Line 5: | Line 5: | ||
width: auto; | width: auto; | ||
} | } | ||
+ | |||
.portlet { | .portlet { | ||
background: #f2f2f2; | background: #f2f2f2; | ||
+ | } | ||
+ | |||
+ | #content #bodyContent table { | ||
+ | background-color: #000000; | ||
+ | border-spacing: 2px 2px; | ||
+ | } | ||
+ | |||
+ | #content #bodyContent table tbody tr td { | ||
+ | background-color: #F2F2F2; | ||
+ | color: #000000; | ||
+ | padding: 2px 0.25em; | ||
+ | } | ||
+ | |||
+ | #content #bodyContent table tbody tr:nth-child(1) td { | ||
+ | background-color: #5677A0; | ||
+ | color: #ffffff; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | #content #bodyContent table tbody tr:nth-child(odd) td { | ||
+ | background-color: #D8DDE9; | ||
} | } |
Revision as of 14:12, 12 October 2010
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } .portlet { background: #f2f2f2; } #content #bodyContent table { background-color: #000000; border-spacing: 2px 2px; } #content #bodyContent table tbody tr td { background-color: #F2F2F2; color: #000000; padding: 2px 0.25em; } #content #bodyContent table tbody tr:nth-child(1) td { background-color: #5677A0; color: #ffffff; font-weight: bold; } #content #bodyContent table tbody tr:nth-child(odd) td { background-color: #D8DDE9; }