Difference between revisions of "MediaWiki:Common.css"
From Alter Aeon Wiki
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
table.zebra tr:nth-child(odd) { background-color: #ccc; } | table.zebra tr:nth-child(odd) { background-color: #ccc; } | ||
/** Collapsible tables ********************************************************* | |||
* | |||
* Description: Allows tables to be collapsed, showing only the header. See | |||
* http://www.mediawiki.org/wiki/Manual:Collapsible_tables. | |||
* Maintainers: [[en:User:R. Koot]] | |||
*/ | |||
table.collapsed tr.collapsible { | |||
display: none; | |||
} | |||
.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; | |||
} |
Revision as of 01:23, 28 December 2012
/* CSS placed here will be applied to all skins */ table.zebra tr:nth-child(odd) { background-color: #ccc; } /** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ table.collapsed tr.collapsible { display: none; } .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; }