MediaWiki:Common.css: Difference between revisions
From Age of Dungeons Wiki
(Infobox stylesheet) |
(Cooler title for the infobox) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
width: 300px; | |||
float: right; | |||
padding: 0.75em; | |||
margin: 0 0 1.5em 2.0em; | |||
background: #f8f9fa; | |||
border: solid #eaecf0; | |||
border-width: 1px 1px 0.2em; | |||
box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02); | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 1.0em; | |||
font-family: serif; | |||
font-weight: 800; | |||
text-transform: uppercase; | |||
text-align: center; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | |||
} | } | ||
.infobox-table th { | .infobox-table th { | ||
text-align: left; | |||
vertical-align: top; | |||
width: 150px; | |||
} | } | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | |||
} | |||
h1 { | |||
clear: right; | |||
} | |||
h2 { | |||
clear: right; | |||
} | |||
h3 { | |||
clear: right; | |||
} | } |
Latest revision as of 06:30, 16 May 2025
/* CSS placed here will be applied to all skins */ .infobox { width: 300px; float: right; padding: 0.75em; margin: 0 0 1.5em 2.0em; background: #f8f9fa; border: solid #eaecf0; border-width: 1px 1px 0.2em; box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02); } .infobox-title { font-size: 1.0em; font-family: serif; font-weight: 800; text-transform: uppercase; text-align: center; } .infobox-image { text-align: center; } .infobox-table th { text-align: left; vertical-align: top; width: 150px; } .infobox-table td { vertical-align: top; } h1 { clear: right; } h2 { clear: right; } h3 { clear: right; }