Difference between revisions of "MediaWiki:Common.css"
From Vague Hope Wiki
(New page: →CSS placed here will be applied to all skins: →wikitable/prettytable class for skinning normal tables: table.wikitable, table.prettytable { margin: 1em 1em 1em 0; backgro...) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
table.prettytable { | table.prettytable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
− | background: | + | background: none; |
− | border: | + | border: none; |
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
Line 13: | Line 13: | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td { | ||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
− | padding: 0.2em; | + | padding: 0.2em 1em 0 1em; |
} | } | ||
table.wikitable th, | table.wikitable th, | ||
table.prettytable th { | table.prettytable th { | ||
− | background: | + | background: none; |
text-align: center; | text-align: center; | ||
+ | border: none; | ||
} | } | ||
Latest revision as of 10:25, 6 July 2011
/* CSS placed here will be applied to all skins */ /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: none; border: none; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em 1em 0 1em; } table.wikitable th, table.prettytable th { background: none; text-align: center; border: none; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytable code, table.wikitable code { background-color: transparent; }