Summary Files Commits Branches @commit @diff @stats
path: root / cgit.css
diff options
context:
space:
mode:
Commit427c6212e9c0371fbc7e8b090ee8275983799c8f (patch)
Author
 Syndamia <kamen@syndamia.com>
2026-10-03 10:31:03 +0300
Committer
 Syndamia <kamen@syndamia.com>
2026-10-03 11:11:27 +0300
Files4cf6560abf1c964c12d8d11e15f4d688b5712b1a /cgit.css
cgit_theme-427c6212e9c0371fbc7e8b090ee8275983799c8f.tar
cgit_theme-427c6212e9c0371fbc7e8b090ee8275983799c8f.tar.gz
cgit_theme-427c6212e9c0371fbc7e8b090ee8275983799c8f.zip
Parente9bb155bc58a31affc442bf37b55dde56f5f0002 (diff)
feat(cgit.css): Prettier repository listing
1 files changed, 36 insertions, 0 deletions
-rw-r--r--cgit.css36
diff --git a/cgit.css b/cgit.css
index 03440cd..e4ce962 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1318,3 +1318,39 @@ table + div#readme, #summary-info + table[summary="tree listing"] {
div#cgit table[summary="repository info"] td:nth-child(3) {
white-space: nowrap;
}
+
+div#cgit table[summary="repository list"] {
+ border-spacing: 0 0.4em;
+}
+
+div#cgit table[summary="repository list"] th:first-child {
+ border-bottom-left-radius: 6px;
+}
+div#cgit table[summary="repository list"] th:last-child {
+ border-bottom-right-radius: 6px;
+}
+div#cgit table[summary="repository list"] tr.nohover-highlight td {
+ background-color: initial;
+ padding-top: 1em;
+ border: none;
+ border-bottom: 1px solid #63a6e9;
+}
+
+div#cgit table[summary="repository list"] tr:not(.nohover-highlight) td {
+ padding-top: 0.3em;
+ padding-bottom: 0.3em;
+ border: 1px solid #474747;
+}
+
+div#cgit table[summary="repository list"] tr:not(.nohover-highlight) td:first-child {
+ border-top-left-radius: 1em;
+}
+div#cgit table[summary="repository list"] tr:not(.nohover-highlight) td:not(:first-child) {
+ border-left: none;
+}
+div#cgit table[summary="repository list"] tr:not(.nohover-highlight) td:last-child {
+ border-bottom-right-radius: 1em;
+}
+div#cgit table[summary="repository list"] tr:not(.nohover-highlight) td:not(:last-child) {
+ border-right: none;
+}