From: Ardis Lu Date: Wed, 17 Sep 2025 02:26:59 +0000 (-0700) Subject: Improve table styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=238022ba2fb4b4e2e0756133bc9c25daa8ea9bd2;p=git.ardis.lu Improve table styling --- 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 {