Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Modified background and header size.) |
(Added noticebox) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/** | |||
* Notice Box | |||
*/ | |||
.noticebox { | |||
float: none; | |||
clear: right; | |||
margin-bottom: 5px; | |||
margin-left: 10px; | |||
padding: 2px; | |||
border: 2px solid red; | |||
background: #FFEEDD; | |||
color: black; | |||
} | |||
.noticebox td { | |||
vertical-align: top; | |||
} | |||
.noticebox th { | |||
vertical-align: top; | |||
background:#DDFFDD; | |||
font-size:150%; | |||
} | |||
/** | /** |
Revision as of 19:17, 23 May 2013
/* CSS placed here will be applied to all skins */ /** * Notice Box */ .noticebox { float: none; clear: right; margin-bottom: 5px; margin-left: 10px; padding: 2px; border: 2px solid red; background: #FFEEDD; color: black; } .noticebox td { vertical-align: top; } .noticebox th { vertical-align: top; background:#DDFFDD; font-size:150%; } /** * Infoboxes */ .infobox { float: right; clear: right; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; border: 1px solid black; background: #FFEEDD; color: black; } .infobox td { vertical-align: top; } .infobox th { vertical-align: top; background:#DDFFDD; font-size:150%; } .infobox caption { margin-left: inherit; font-size: larger; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid black; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }