diff options
chore: update css
-rw-r--r-- | cgit.css | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |