Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit05ce954cf016bae560b51c31080d65ddc5910cc2 (patch)
Author
 Loïc <lagiraudiere+cgit@free.fr>
2024-02-03 15:59:57 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2026-02-24 00:39:05 +0100
Files355591edd4d20b7829066dd05cc673aca685453a
cgit-05ce954cf016bae560b51c31080d65ddc5910cc2.tar
cgit-05ce954cf016bae560b51c31080d65ddc5910cc2.tar.gz
cgit-05ce954cf016bae560b51c31080d65ddc5910cc2.zip
Parent67672fb536cd1aa0222295f0938c412eb87d6449 (diff)
css: highlight line in diff...
... specified in the URL, with a curved arrow ahead of the line number. Signed-off-by: Loïc <lagiraudiere+cgit@free.fr> Signed-off-by: Christian Hesse <mail@eworm.de>
1 files changed, 5 insertions, 0 deletions
-rw-r--r--cgit.css5
diff --git a/cgit.css b/cgit.css
index 1b848cf..f5b41ba 100644
--- a/cgit.css
+++ b/cgit.css
@@ -330,6 +330,11 @@ div#cgit table.ssdiff td.lineno a:hover {
color: black;
}
+div#cgit table.blob td.linenumbers a:target:before {
+ color: red;
+ content: "\2BA9";
+}
+
div#cgit table.blame td.hashes,
div#cgit table.blame td.lines,
div#cgit table.blame td.linenumbers {