From 5d3806dcfdab761d303489d9833435490843769d Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 5 Jan 2025 14:08:59 +0100 Subject: chore: update css --- cgit.css | 8 ++++---- 1 file 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; -- cgit v1.2.3