summaryrefslogtreecommitdiff
path: root/template/static/css/table.css
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-05 16:39:13 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-05 16:39:13 -0800
commitd25ec27fb1c3df175e1b98af1fdc26881d68a1ab (patch)
treea79c729b92c0d0a52b19b37c3a506b988f1e0b80 /template/static/css/table.css
downloadwhois-d25ec27fb1c3df175e1b98af1fdc26881d68a1ab.tar.gz
whois-d25ec27fb1c3df175e1b98af1fdc26881d68a1ab.zip
initial commit by simponic-infra
Diffstat (limited to 'template/static/css/table.css')
-rw-r--r--template/static/css/table.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/template/static/css/table.css b/template/static/css/table.css
new file mode 100644
index 0000000..16da86d
--- /dev/null
+++ b/template/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;
+}