aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc <lagiraudiere+cgit@free.fr>2024-02-03 15:59:57 +0100
committerChristian Hesse <mail@eworm.de>2024-02-03 21:17:48 +0100
commit356fd47bbd9154e46a41a75b0d3fbc5e7f62b8a2 (patch)
treeefc63b8b4125b6fe3b0c29f340916edef1b86982
parent00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff)
downloadcgit-ch/highlight-line.tar.gz
cgit-ch/highlight-line.tar.bz2
cgit-ch/highlight-line.zip
Add a curved arrow ahead of the line number, to highlight the line specified in the URL.ch/highlight-line
Signed-off-by: Loïc <lagiraudiere+cgit@free.fr>
-rw-r--r--cgit.css5
1 files changed, 5 insertions, 0 deletions
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 {