]> git.ardis.lu - git.ardis.lu/commitdiff
Improve table styling
authorArdis Lu <ardisglu@gmail.com>
Wed, 17 Sep 2025 02:26:59 +0000 (19:26 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 17 Sep 2025 02:26:59 +0000 (19:26 -0700)
usr/share/gitweb/static/custom.css

index 8f13a9ab9607c494f4a7a0c6b090aec9f82b4191..e001516d3bc99f8a6a05e8214cdb04227afcdc8f 100644 (file)
@@ -40,6 +40,7 @@ table.search {
 }
 
 table.project_list {
+
   & th,
   td {
     line-height: 2;
@@ -78,6 +79,20 @@ div.readme {
   & pre {
     padding: 8px 12px;
   }
+
+  & table {
+    border-collapse: collapse;
+  }
+
+  & th,
+  & td {
+    padding: 8px;
+    border: 1px solid hsl(216deg 50% 10% / 0.5);
+  }
+
+  & tr:nth-child(even) {
+    background-color: hsl(216deg 50% 97% / 0.45);
+  }
 }
 
 div.title_text {
This page took 0.035188 seconds and 4 git commands to generate.