Difference between revisions of "MediaWiki:Common.css"
From Destiny 1 Wiki
(Created page with "→CSS placed here will be applied to all skins: body.page-Main_Page h1.firstHeading { display:none; } body.page-Destiny_Wiki h1.firstHeading { display:none; }") |
|||
Line 3: | Line 3: | ||
body.page-Destiny_Wiki h1.firstHeading { display:none; } | body.page-Destiny_Wiki h1.firstHeading { display:none; } | ||
+ | |||
+ | /* Infobox template style */ | ||
+ | .infobox { | ||
+ | border: 1px solid #020202; | ||
+ | background-color: #f9f9f9; | ||
+ | color: black; | ||
+ | margin-bottom: 0.5em; | ||
+ | margin-left: 1em; | ||
+ | padding: 0.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .infobox td, | ||
+ | .infobox th { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | .infobox caption { | ||
+ | font-size: larger; | ||
+ | margin-left: inherit; | ||
+ | } | ||
+ | .infobox.bordered { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | .infobox.bordered td, | ||
+ | .infobox.bordered th { | ||
+ | border: 1px solid #020202; | ||
+ | } | ||
+ | .infobox.bordered .borderless td, | ||
+ | .infobox.bordered .borderless th { | ||
+ | border: 0; | ||
+ | } |
Revision as of 19:13, 11 June 2014
/* CSS placed here will be applied to all skins */ body.page-Main_Page h1.firstHeading { display:none; } body.page-Destiny_Wiki h1.firstHeading { display:none; } /* Infobox template style */ .infobox { border: 1px solid #020202; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #020202; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }