aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLoïc2024-02-03 15:59:57 +0100
committerChristian Hesse2024-07-16 13:22:25 +0200
commitaa909704a232403c92b45f87dce791f3c92b3345 (patch)
treeefc63b8b4125b6fe3b0c29f340916edef1b86982
parent00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff)
downloadcgit-upstream/ch/highlight-line.tar.gz

css: highlight line in diff…

upstream/ch/highlight-line

… 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>

-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 {