diff options
| author | Darin Dimitroff <d@thecrazyones.agency> | 2017-01-02 16:09:21 +0200 |
|---|---|---|
| committer | Darin Dimitroff <d@thecrazyones.agency> | 2017-01-02 16:09:21 +0200 |
| commit | 20d33818a838a7c022456d5620d255283531ba97 (patch) | |
| tree | 7ea19ac7b847c10f2783a5b50f956f1e3ed5cbd6 /src/css/imports/_tables.css | |
| parent | 4ad2ee71fbecb4dcef47319e3cbbe18b57cd1c61 (diff) | |
WIP
Diffstat (limited to 'src/css/imports/_tables.css')
| -rwxr-xr-x | src/css/imports/_tables.css | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/src/css/imports/_tables.css b/src/css/imports/_tables.css index d1f145a..ca6ca41 100755 --- a/src/css/imports/_tables.css +++ b/src/css/imports/_tables.css @@ -1,35 +1,30 @@ -/* - - TABLES - Docs: http://tachyons.io/docs/elements/tables/ - -*/ - -.collapse { - border-collapse: collapse; - border-spacing: 0; -} - -.striped--light-silver:nth-child(odd) { - background-color: var(--light-silver); +table +{ + border-radius: var(--border-radius); + overflow: hidden; } -.striped--moon-gray:nth-child(odd) { - background-color: var(--moon-gray); +td, th { + padding: $spacing-medium; } -.striped--light-gray:nth-child(odd) { - background-color: var(--light-gray); +th:not(:first-child), td:not(:first-child) { + text-align: right; } -.striped--near-white:nth-child(odd) { - background-color: var(--near-white); +th { + color: var(--grey-3); + font-weight: 700; + white-space: nowrap; + { + white-space: wrap; + } } -.stripe-light:nth-child(odd) { - background-color: var(--white-10); +tr th { + text-align: center; } -.stripe-dark:nth-child(odd) { - background-color: var(--black-10); +tbody tr:nth-child(even) { + background-color: var(--grey-1); } |
