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