]> git.ardis.lu - ens2hex/commitdiff
Update output table styling
authorArdis Lu <ardisglu@gmail.com>
Mon, 3 Oct 2022 07:41:46 +0000 (00:41 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 3 Oct 2022 07:41:46 +0000 (00:41 -0700)
Row borders help distinguish rows for accessibility

index.html

index 6719741dc06c6972687b9ea77d16baad0e197b58..7ed0a01e7981461dfc7499010b2ad3f6af11971e 100644 (file)
@@ -53,7 +53,8 @@
 
     th,
     td {
-      padding: 0.5rem;
+      padding: 8px;
+      border-block: solid 1px var(--primary);
     }
 
     th {
       text-transform: uppercase;
     }
 
+    th:first-child,
+    td:first-child {
+      border-inline-start: solid 1px var(--primary);
+    }
+
+    th:last-child,
+    td:last-child {
+      border-inline-end: solid 1px var(--primary);
+    }
+
     tbody tr:nth-child(odd) {
       background: hsl(192deg 15% 94%);
     }
This page took 0.041746 seconds and 4 git commands to generate.