Infobox.css: Difference between revisions
UnrulyJuli3 (talk | contribs) m Add image padding |
UnrulyJuli3 (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
border: 1px solid #a2a9b1; | border: 1px solid var(--border-color-base,#a2a9b1); | ||
border-spacing: 3px; | border-spacing: 3px; | ||
color: var(--color-base,#202122); | |||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
padding: 0.2em; | padding: 0.2em; | ||
| Line 24: | Line 23: | ||
} | } | ||
.infobox .infobox-image figure { | .infobox .infobox-image:not(.game-tile) figure { | ||
margin: 0.8em auto; | margin: 0.8em auto; | ||
} | } | ||
Latest revision as of 09:31, 24 October 2025
.infobox {
border: 1px solid var(--border-color-base,#a2a9b1); border-spacing: 3px; color: var(--color-base,#202122); 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:not(.game-tile) 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;
}