MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Stuff from Template:Planet_infobox#CSS so that Svip can make pretty infoboxes |
For prettifying documentation, from svip |
||
Line 35: | Line 35: | ||
.infobox .odd td { | .infobox .odd td { | ||
background: #ddd; | background: #ddd; | ||
} | |||
.template-documentation { | |||
background: #ccf; | |||
padding: 3px 5px; | |||
border: 1px solid #77a; | |||
} | |||
.template-documentation .fake-h2 { | |||
font-size: 18pt; | |||
border-bottom: 1px solid #77a; | |||
margin: 8px 0px 4px; | |||
font-weight: bold; | |||
} | } |
Revision as of 15:49, 28 August 2012
/* CSS placed here will be applied to all skins */ .infobox { float: right; width: 250px; margin: 0 0 10px 15px; text-align: center; } .infobox table { background: #eee; } .infobox th { text-align: right; } .infobox td { text-align: left; } .infoboxCentre, .infoboxHeader, .infoboxTitle { text-align: center !important; } .infoboxTitle { background: #ccc; font-size: 150%; padding: 4px; } .infoboxHeader { background: #ccc; font-size: 120%; } .infoboxCaption { font-size: 85%; } .infobox .odd th, .infobox .odd td { background: #ddd; } .template-documentation { background: #ccf; padding: 3px 5px; border: 1px solid #77a; } .template-documentation .fake-h2 { font-size: 18pt; border-bottom: 1px solid #77a; margin: 8px 0px 4px; font-weight: bold; }