From 19540b401c54c96f33333bc73c3141ee3d44d7a3 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 15 Jan 2025 15:39:31 +0100 Subject: fix: make blames good --- cgit.css | 17 +++++++++++++++-- 1 file 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 { -- cgit v1.2.3