summaryrefslogtreecommitdiff
path: root/wwwroot/styles/data-table.css
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-03-17 03:04:36 +1100
committerJake Mannens <jake@asger.xyz>2026-03-25 01:57:41 +1100
commitc751709b1b4fe6f16fd84647e8e071455e7b78d6 (patch)
tree47734a083d888660606e6cf6cf158c93e69a9807 /wwwroot/styles/data-table.css
v0.1av0.1a
Diffstat (limited to 'wwwroot/styles/data-table.css')
-rw-r--r--wwwroot/styles/data-table.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/wwwroot/styles/data-table.css b/wwwroot/styles/data-table.css
new file mode 100644
index 0000000..994d625
--- /dev/null
+++ b/wwwroot/styles/data-table.css
@@ -0,0 +1,21 @@
+table.data-table {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+table.data-table > tr > th {
+ border-bottom: 1px solid white;
+ padding: 4px;
+}
+
+table.data-table > tr > td {
+ padding: 4px;
+}
+
+table.data-table > tr:nth-child(2n) {
+ background: rgba(255, 255, 255, 0.1);
+}
+
+table.data-table > tr > td:not(:last-child) {
+ border-right: 1px solid white;
+}