From aa909704a232403c92b45f87dce791f3c92b3345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Sat, 3 Feb 2024 15:59:57 +0100 Subject: css: highlight line in diff... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... specified in the URL, with a curved arrow ahead of the line number. Signed-off-by: Loïc Signed-off-by: Christian Hesse --- cgit.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cgit.css') 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 { -- cgit v1.2.3