Difference between revisions of "MediaWiki:Common.css"
From Hobowars Wiki
(Created page with "→CSS placed here will be applied to all skins: table.collapsed tr.collapsable { display: none; } .collapseButton { /* 'show'/'hide' buttons created ...") |
DoctorKnow (Talk | contribs) m (Add CSS for the colors of the alternating-color table rows in sortable tables.) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | table.collapsed tr.collapsable { | + | table.collapsed tr.collapsable |
+ | { | ||
display: none; | display: none; | ||
} | } | ||
− | .collapseButton { | + | .collapseButton |
− | + | { | |
− | + | float: right; /* 'show'/'hide' buttons created dynamically by the */ | |
− | + | font-weight: normal; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | |
+ | text-align: right; /* are styled here so they can be customised. */ | ||
width: auto; | width: auto; | ||
+ | } | ||
+ | |||
+ | tr.odd | ||
+ | { | ||
+ | background: white; | ||
+ | } | ||
+ | |||
+ | tr.even | ||
+ | { | ||
+ | background: gainsboro; | ||
} | } |
Revision as of 04:55, 15 August 2011
/* CSS placed here will be applied to all skins */ table.collapsed tr.collapsable { display: none; } .collapseButton { float: right; /* 'show'/'hide' buttons created dynamically by the */ font-weight: normal; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ text-align: right; /* are styled here so they can be customised. */ width: auto; } tr.odd { background: white; } tr.even { background: gainsboro; }