diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 16:57:57 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 16:57:57 -0800 |
| commit | 94dd1ca677c716975d43f323c97ea26f8fd4c962 (patch) | |
| tree | 7eaf4f32af0a180457f935d5f2fdff941018a12f /static/css/table.css | |
| download | something-94dd1ca677c716975d43f323c97ea26f8fd4c962.tar.gz something-94dd1ca677c716975d43f323c97ea26f8fd4c962.zip | |
initial commit by simponic-infra
Diffstat (limited to 'static/css/table.css')
| -rw-r--r-- | static/css/table.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/static/css/table.css b/static/css/table.css new file mode 100644 index 0000000..16da86d --- /dev/null +++ b/static/css/table.css @@ -0,0 +1,28 @@ +@import "/static/css/colors.css"; + +table { + width: auto; + border-collapse: collapse; + border: 1px solid var(--border-color); +} + +th, +td { + padding: 12px 20px; + text-align: center; + border-bottom: 1px solid var(--border-color); +} + +th, +thead { + background-color: var(--background-color-2); +} + +tbody tr:nth-child(odd) { + background-color: var(--background-color); + color: var(--text-color); +} + +tbody tr { + transition: background-color 0.3s ease; +} |
