summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaine <caine@jihakuz.xyz>2026-03-26 22:43:09 +0000
committerCaine <caine@jihakuz.xyz>2026-03-26 22:43:09 +0000
commit7631442165ce1292f0fd7f458a8c32b372e7fad0 (patch)
treefc4b35a7921d97ee13d22587f76113afd2efa1b9
parent78ebe65e0d8a5dc06d4be04698d3dcd933b75614 (diff)
Space out nav tabs
-rw-r--r--cgit.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/cgit.css b/cgit.css
index 9b51764..efd422e 100644
--- a/cgit.css
+++ b/cgit.css
@@ -145,12 +145,12 @@ ul.tabs {
}
ul.tabs li {
- margin: 0;
+ margin: 0 2px;
}
ul.tabs li a {
display: block;
- padding: 6px 16px;
+ padding: 8px 20px;
color: #b78760;
border: 1px solid transparent;
border-bottom: none;
@@ -324,7 +324,11 @@ div.error { color: #ff5638; font-weight: bold; }
div.content { margin: 10px 0; }
-table.tabs td { padding: 0; }
+table.tabs { border-collapse: separate; border-spacing: 8px 0; }
+table.tabs td { padding: 6px 14px; }
+table.tabs td a { color: #b78760; padding: 6px 14px; border-radius: 4px 4px 0 0; }
+table.tabs td a:hover { color: #fbc997; background: #2a2c3a; text-decoration: none; }
+table.tabs td a.active { color: #fbc997; background: #333543; }
textarea {
background: #2a2c3a;