Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Add color to tocs
cgit.css | 7 +++++--
diff --git a/cgit.css b/cgit.css index e9990042be5a1b58d6b8a7812f6a286179dc2eae..bfbf6ee00c42938a40360e92fb4057824a61a4db 100644 --- a/cgit.css +++ b/cgit.css @@ -111,8 +111,11 @@ .markdown-body, .markdown-body pre { background-color: var(--markdown-body-bg) !important; } - - + div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, + div#cgit .markdown-body h3 a.toclink, div#cgit .markdown-body h4 a.toclink, + div#cgit .markdown-body h5 a.toclink, div#cgit .markdown-body h6 a.toclink { + color: var(--text) !important; + } } body {