Difference between revisions of "MediaWiki:Common.css"
From WikiTemp, the GBAtemp wiki
Line 6: | Line 6: | ||
/***** | /***** | ||
− | ** | + | ** Table formatting |
*****/ | *****/ | ||
− | . | + | table.wikitable, |
− | + | table.prettytable { | |
− | + | margin:1em 1em 1em 0; | |
− | + | ||
− | margin | + | |
− | + | ||
− | + | ||
background:#F9F9F9; | background:#F9F9F9; | ||
− | + | border:1px #AAA solid; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
border-collapse:collapse; | border-collapse:collapse; | ||
} | } | ||
− | . | + | table.wikitable th, table.wikitable td, |
− | . | + | table.prettytable th, table.prettytable td { |
− | border:1px | + | border:1px #AAA solid; |
+ | padding:0.2em; | ||
} | } | ||
− | . | + | table.wikitable th, |
− | . | + | table.prettytable th { |
− | + | background:#F2F2F2; | |
+ | text-align:center; | ||
} | } | ||
− | . | + | table.wikitable caption, |
− | + | table.prettytable caption { | |
− | + | margin-left:inherit; | |
+ | margin-right:inherit; | ||
} | } | ||
Revision as of 08:11, 13 February 2007
/* <pre> */ /** CSS placed here will be applied to all skins */ /***** ** Table formatting *****/ table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th, table.prettytable th { background:#F2F2F2; text-align:center; } table.wikitable caption, table.prettytable caption { margin-left:inherit; margin-right:inherit; } /* </pre> */