Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Style the table component
src/foundation.css | 31 +++++++++++++++++++++++++++++++
diff --git a/src/foundation.css b/src/foundation.css index 12d3551c6fb15d7a17b0f7d37e19e5dfd6b07132..b616d012269941d5705a40cadae8e07f78360b73 100644 --- a/src/foundation.css +++ b/src/foundation.css @@ -46,3 +46,34 @@ font-size: 1.1875rem; line-height: 1.31579; } +.umbo-table { + width: 100%; + border-spacing: 0; + border-collapse: collapse; +} + +.umbo-caption { + font-weight: 700; + display: table-caption; + text-align: left; +} + +.umbo-table-header, .umbo-table-cell { + padding: 10px 20px 10px 0; + border-bottom: 1px solid #b1b4b6; + text-align: left; + vertical-align: top; +} + +.umbo-table-header-numeric, .umbo-table-cell-numeric { + text-align: right; +} + +.umbo-table-header { + font-weight: 700; +} + +.umbo-table-cell-numeric { + font-feature-settings: normal; + font-variant-numeric: tabular-nums; +}