Difference between revisions of "MediaWiki:Common.css"
From HappyWiki, at www.Kennel17.co.uk
(+ prettytable) |
(Some basic infobox styling - to be refined.) |
||
| Line 18: | Line 18: | ||
border: 1px solid #AAAAAA; | border: 1px solid #AAAAAA; | ||
padding: 0.1em 0.3em; | padding: 0.1em 0.3em; | ||
| + | } | ||
| + | |||
| + | /** InfoBoxes **/ | ||
| + | |||
| + | .infobox { | ||
| + | float: right; | ||
| + | margin: 0 0 1em 1em; | ||
| + | } | ||
| + | |||
| + | .infobox th { | ||
| + | background-color: #F0F0FF; | ||
| + | } | ||
| + | |||
| + | .infobox th.infobox_header{ | ||
| + | font-size: 1.2em; | ||
| + | background-color: #E0E0FF; | ||
} | } | ||
Revision as of 07:16, 7 April 2015
/* CSS placed here will be applied to all skins */ /** prettytable class **/ table.prettytable { border: 1px solid #AAAAAA; border-collapse: collapse; } table.prettytable th { text-align: center; font-weight: bold; background-color: #CCCCFF; color: #000000; } table.prettytable td, table.prettytable th { border: 1px solid #AAAAAA; padding: 0.1em 0.3em; } /** InfoBoxes **/ .infobox { float: right; margin: 0 0 1em 1em; } .infobox th { background-color: #F0F0FF; } .infobox th.infobox_header{ font-size: 1.2em; background-color: #E0E0FF; }