From 18a945aab9b3129b82076f633fab1d13ba28148e Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 12 Jan 2025 23:09:34 -0800 Subject: initial commit by simponic-infra --- static/css/table.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 static/css/table.css (limited to 'static/css/table.css') 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; +} -- cgit v1.2.3-70-g09d2