summaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgit.css b/cgit.css
index 5358471..e591a3f 100644
--- a/cgit.css
+++ b/cgit.css
@@ -44,18 +44,18 @@ div#cgit tr > td:last-child > a.button {
padding: 6px 8px;
transition: background-color 0.3s;
}
-div#cgit tr td.ls-mode + td + td.ls-size + td > a.button:nth-child(even) {
+div#cgit tr > td:last-child > a.button:nth-child(even) {
background: #fff2;
}
-div#cgit tr td.ls-mode + td + td.ls-size + td > a.button:hover {
+div#cgit tr > td:last-child > a.button:hover {
background: #fff3;
}
-div#cgit tr td.ls-mode + td + td.ls-size + td > a.button:first-child {
+div#cgit tr > td:last-child > a.button:first-child {
border-top-left-radius: var(--radius-lg);
border-bottom-left-radius: var(--radius-lg);
padding-left: 12px;
}
-div#cgit tr td.ls-mode + td + td.ls-size + td > a.button:last-child {
+div#cgit tr > td:last-child > a.button:last-child {
border-top-right-radius: var(--radius-lg);
border-bottom-right-radius: var(--radius-lg);
padding-right: 12px;