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-11-25 10:05:37 +0100
commit05a1db451b2eb1508627d0ad0774126024daf386 (patch)
treeb8d6aed7552a3bd5e4698fcbe8b14e1fd5f9f217
parent99a2f47c96b1d01c642d4bad0f7e2a6d27f5df99 (diff)
downloadcgit-05a1db451b2eb1508627d0ad0774126024daf386.tar.gz
cgit-05a1db451b2eb1508627d0ad0774126024daf386.tar.xz
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>
-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 {