Template:InfoBox/styles.css: Difference between revisions
From Ymirheim Wiki
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
. | .infobox-wrapper { | ||
float: right; | |||
position: relative; | |||
width: 300px; | |||
margin: 0 0 1em 1em; | |||
} | } | ||
. | .infobox { | ||
background: rgba(0, 0, 0, 0.8); | |||
font-size: 0.923em; | |||
border: 1px solid #FFF; | |||
border-radius: 5px; | |||
box-shadow: 0 0 5px black; | |||
padding: 5px; | |||
color: #FFF; | |||
} | } | ||
. | .infobox .heading { | ||
font-size: 1.2em; | |||
font-weight: bold; | |||
margin: | text-align: center; | ||
} | |||
.infobox .infobox-image { | |||
text-align: center; | |||
} | |||
.infobox .infobox-table th { | |||
text-align: left; | |||
vertical-align: top; | |||
} | |||
.infobox .infobox-table ul { | |||
margin: 0; | |||
list-style: none; | |||
} | } |
Revision as of 08:21, 9 July 2024
.infobox-wrapper { float: right; position: relative; width: 300px; margin: 0 0 1em 1em; } .infobox { background: rgba(0, 0, 0, 0.8); font-size: 0.923em; border: 1px solid #FFF; border-radius: 5px; box-shadow: 0 0 5px black; padding: 5px; color: #FFF; } .infobox .heading { font-size: 1.2em; font-weight: bold; text-align: center; } .infobox .infobox-image { text-align: center; } .infobox .infobox-table th { text-align: left; vertical-align: top; } .infobox .infobox-table ul { margin: 0; list-style: none; }