Infobox.css: Difference between revisions
UnrulyJuli3 (talk | contribs) m Reduce paragraph box model |
UnrulyJuli3 (talk | contribs) m Add image padding |
||
| Line 22: | Line 22: | ||
.infobox .infobox-image { | .infobox .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | |||
.infobox .infobox-image figure { | |||
margin: 0.8em auto; | |||
} | } | ||
Revision as of 01:15, 25 August 2024
.infobox {
border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width: 22em;
}
.infobox caption {
font-size: 125%; font-weight: bold; text-align: center; padding: 0.2em;
}
.infobox .infobox-image {
text-align: center;
}
.infobox .infobox-image figure {
margin: 0.8em auto;
}
.infobox .infobox-label {
text-align: left; vertical-align: top;
}
.infobox .infobox-data {
text-align: left; vertical-align: top;
}
.infobox p {
margin: 0; padding: 0;
}