summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 15:39:31 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 15:39:31 +0100
commit19540b401c54c96f33333bc73c3141ee3d44d7a3 (patch)
tree0d63c04e948692306cb6120c67da735670d0f0da
parentc4a1ceeee7273630f6abd0584660f29275628140 (diff)
downloadcgit-assets-19540b401c54c96f33333bc73c3141ee3d44d7a3.tar.gz
cgit-assets-19540b401c54c96f33333bc73c3141ee3d44d7a3.tar.bz2
cgit-assets-19540b401c54c96f33333bc73c3141ee3d44d7a3.tar.lz
cgit-assets-19540b401c54c96f33333bc73c3141ee3d44d7a3.zip

fix: make blames good

-rw-r--r--cgit.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 9225599..b64adfd 100644
--- a/cgit.css
+++ b/cgit.css
@@ -512,11 +512,24 @@ div#cgit table.blame td.linenumbers div.alt {
}
div#cgit table.blame div.alt:nth-child(even) {
- background: #eee;
+ background: #0003;
+}
+div#cgit table.blame td:first-child div.alt {
+ border-top-left-radius: 8px;
+ border-bottom-left-radius: 8px;
+ border-left: 8px solid #0000;
+ border-right: 8px solid #0000;
+}
+div#cgit table.blame td:last-child div.alt {
+ border-top-right-radius: 8px;
+ border-bottom-right-radius: 8px;
+ border-left: 8px solid #0000;
+ border-right: 8px solid #0000;
+ margin-right: 2rem;
}
div#cgit table.blame div.alt:nth-child(odd) {
- background: white;
+ background: #0000;
}
div#cgit table.blame td.lines > div {