MediaWiki:Common.css
From Dark Omen Wiki
(Difference between revisions)
(css) |
(css) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
- | . | + | .wikitable, |
+ | .prettytable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
Line 7: | Line 8: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
empty-cells:show; | empty-cells:show; | ||
- | } | + | } |
+ | |||
+ | .wikitable th, .wikitable td, | ||
+ | .prettytable th, .prettytable td { | ||
+ | border: 1px #AAA solid; | ||
+ | padding: 0.3em; | ||
+ | } | ||
+ | |||
+ | .wikitable caption, | ||
+ | .prettytable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .nogrid th, .nogrid td {border: none;} | ||
+ | .float-left { float: left; clear: left; } | ||
+ | .float-right { float: right; clear: right; margin: 1em 0 1em 1em; } | ||
+ | .centered { margin-left: auto; margin-right: auto; } |
Revision as of 16:18, 23 April 2008
/* CSS placed here will be applied to all skins */ .wikitable, .prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #AAA solid; border-collapse: collapse; empty-cells:show; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #AAA solid; padding: 0.3em; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } .nogrid th, .nogrid td {border: none;} .float-left { float: left; clear: left; } .float-right { float: right; clear: right; margin: 1em 0 1em 1em; } .centered { margin-left: auto; margin-right: auto; }