MediaWiki:Common.css
From Dark Omen Wiki
(Difference between revisions)
Bembelimen (Talk | contribs) m (edit background) |
Bembelimen (Talk | contribs) (added Boxes) |
||
Line 28: | Line 28: | ||
.float-right { float: right; clear: right; margin: 1em 0 1em 1em; } | .float-right { float: right; clear: right; margin: 1em 0 1em 1em; } | ||
.centered { margin-left: auto; margin-right: auto; } | .centered { margin-left: auto; margin-right: auto; } | ||
+ | |||
+ | table.boxes { | ||
+ | margin: 4px 10%; | ||
+ | border-collapse: collapse; | ||
+ | border: 1px solid #aaa; /* Default "notice" gray */ | ||
+ | background: #f9f9f9; | ||
+ | } | ||
+ | |||
+ | table.boxes-notice { border: 1px solid #aaa; } |
Revision as of 20:43, 10 August 2008
/* CSS placed here will be applied to all skins */ .wikitable, .prettytable { margin: 1em 1em 1em 0; /*background: #2E2E2E; for the new Design*/ background: #FFFFFF; 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; } table.boxes { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; /* Default "notice" gray */ background: #f9f9f9; } table.boxes-notice { border: 1px solid #aaa; }