From 238022ba2fb4b4e2e0756133bc9c25daa8ea9bd2 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 16 Sep 2025 19:26:59 -0700 Subject: [PATCH] Improve table styling --- usr/share/gitweb/static/custom.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index 8f13a9a..e001516 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -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 { -- 2.47.3