diff --git a/sass/_tables.scss b/sass/_tables.scss index 7f449c9..b840ed2 100644 --- a/sass/_tables.scss +++ b/sass/_tables.scss @@ -1,25 +1,39 @@ table { - border: 1px solid $border; - border-radius:3px; - background:$secondary; - padding:0; - clear:both; + clear: both; thead { + display: flex; + flex-direction: column; th { - padding:1em; - border-bottom:1px dashed $border; + width: 100%; + padding: .5em; + font-size: 1.5em; + } + + th:nth-child(2) { + padding: 0; } } tbody { + display: flex; + flex-direction: column; + background-color: $secondary; + border: 1px solid $border; + border-radius: .25rem; + padding: 1em .7em; tr { + width: 100%; + display: flex; + justify-content: space-between; + } - td { - padding:.5em .8em; - } + td { + padding: .65em .8em; } + + td:nth-child(2) { text-align: right } } }