Difference between revisions of "MediaWiki:Common.css"
From The Grove - Academia de Idiomas
| Line 3: | Line 3: | ||
/* don't display Main Page on the Main Page */ | /* don't display Main Page on the Main Page */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
| + | |||
| + | /* prettytable class for skinning normal tables */ | ||
| + | table.prettytable { margin:1em 1em 1em 0em; background:#f9f9f9; border:1px #aaaaaa solid; border-collapse:collapse; } | ||
| + | table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; } | ||
| + | table.prettytable th { background:#f2f2f2; text-align:center; } | ||
| + | table.prettytable caption { margin-left:inherit; margin-right:inherit; } | ||
| + | |||
| + | table.table { border-spacing:0em 0.5em; } | ||
| + | table.table tr>td { padding:0.25em 1em; } | ||
| + | table.table tr.even { background:#ddddff; } | ||
| + | table.table tr.odd { background:#ccccff; } | ||
Revision as of 22:10, 25 March 2013
/* CSS placed here will be applied to all skins */
/* don't display Main Page on the Main Page */
body.page-Main_Page h1.firstHeading { display:none; }
/* prettytable class for skinning normal tables */
table.prettytable { margin:1em 1em 1em 0em; background:#f9f9f9; border:1px #aaaaaa solid; border-collapse:collapse; }
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; }
table.prettytable th { background:#f2f2f2; text-align:center; }
table.prettytable caption { margin-left:inherit; margin-right:inherit; }
table.table { border-spacing:0em 0.5em; }
table.table tr>td { padding:0.25em 1em; }
table.table tr.even { background:#ddddff; }
table.table tr.odd { background:#ccccff; }