]> git.ardis.lu - ens2hex/commitdiff
Add table styling
authorArdis Lu <ardisglu@gmail.com>
Sun, 21 Aug 2022 07:08:48 +0000 (00:08 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 21 Aug 2022 07:08:48 +0000 (00:08 -0700)
index.html

index b8c09b454d36f64cd62797dabd38e98012090610..186d996f2f34f9e7302271a9d03a7b8a86a44807 100644 (file)
     output {
       display: none;
     }
+
+    table {
+      inline-size: 100%;
+      border-collapse: collapse;
+    }
+
+    th,
+    td {
+      padding: 0.5rem;
+    }
+
+    th {
+      background: hsl(240deg 1% 80%);
+      text-transform: uppercase;
+    }
+
+    tbody tr:nth-child(odd) {
+      background: hsl(192deg 15% 94%);
+    }
+
+    tbody tr:nth-child(even) {
+      background: hsl(33deg 48% 85%);
+    }
   </style>
   <title>ens2hex</title>
 </head>
This page took 0.036499 seconds and 4 git commands to generate.