MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Alphagenics (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .infobox { background-color: #ffff00; border: 2px solid #008600; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { border: 1px solid #000000; font-size: 1.5em; text-align: center; background-color: #ff0000; } .infobox-subtitle { font-size: 1em; text-align: center; background-color: #fff00; } .infobox-image { text-align: center; background-color: #ffff00; }") |
Alphagenics (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
background | background: #eee; | ||
border: | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
width: 400px; | width: 400px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | |||
font-size: | text-align: center; | ||
text-align: center; | } | ||
.infobox-image { | |||
text-align: center; | |||
} | } | ||
.infobox | .infobox th { | ||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | } | ||
.infobox | .infobox td { | ||
vertical-align: top; | |||
} | } |
Revision as of 23:39, 3 July 2022
/* CSS placed here will be applied to all skins */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }