More actions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
.infobox tbody tr * { | .infobox tbody tr * { | ||
vertical-align: middle; | vertical-align: middle; | ||
padding: var(--space-sm) | padding: var(--space-sm) 0; | ||
} | } | ||
.infobox tbody tr th { | .infobox tbody tr th { | ||
width: 40%; | width: 40%; | ||
text-align: left; | text-align: left; | ||
padding-left: 1em; | |||
} | } | ||
.infobox tbody tr td { | .infobox tbody tr td { | ||
width: 60%; | width: 60%; | ||
padding-right: 1em; | |||
} | } |
Revision as of 15:08, 12 November 2023
.infobox { margin-bottom: var( --space-md ); background: var( --color-surface-2 ); border-radius: var( --border-radius--medium ); display: block; max-width: 30em; border-collapse: collapse; float: right; clear: right; } .infobox tbody tr { border-top: 1px solid var(--border-color-base); } .infobox tbody tr:nth-child(1) { border: none; } .infobox tbody tr * { vertical-align: middle; padding: var(--space-sm) 0; } .infobox tbody tr th { width: 40%; text-align: left; padding-left: 1em; } .infobox tbody tr td { width: 60%; padding-right: 1em; }