MediaWiki:Common.css: Difference between revisions
From Age of Dungeons Wiki
(More infobox-related formatting) |
m (Infobox tweaks) |
||
Line 9: | Line 9: | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
max-height: 150px; | |||
} | } | ||
.infobox-table th { | .infobox-table th { | ||
text-align: right; | text-align: right; | ||
vertical-align: top; | vertical-align: top; | ||
width: | width: 150px; | ||
} | } | ||
.infobox-table td { | .infobox-table td { |
Revision as of 05:31, 16 May 2025
/* 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: 1.5em; text-align: center; } .infobox-image { text-align: center; max-height: 150px; } .infobox-table th { text-align: right; vertical-align: top; width: 150px; } .infobox-table td { vertical-align: top; } h1 { clear: right; } h2 { clear: right; } h3 { clear: right; }