diff options
author | June McEnroe <june@causal.agency> | 2019-12-18 23:37:45 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-18 23:39:54 -0500 |
commit | 62b345dc27d1fa61c6dbe9e02b684f6efe347280 (patch) | |
tree | f33c8d645070e49bb34a6c26e0a2d5174d2ee769 /www/git.causal.agency/custom.css | |
parent | Customize cgit CSS (diff) | |
download | src-62b345dc27d1fa61c6dbe9e02b684f6efe347280.tar.gz src-62b345dc27d1fa61c6dbe9e02b684f6efe347280.zip |
Hide line numbers when rendering mdoc
Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table.
Diffstat (limited to 'www/git.causal.agency/custom.css')
-rw-r--r-- | www/git.causal.agency/custom.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/git.causal.agency/custom.css b/www/git.causal.agency/custom.css index 66cdc185..a5095054 100644 --- a/www/git.causal.agency/custom.css +++ b/www/git.causal.agency/custom.css @@ -35,6 +35,10 @@ div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { background: inherit; } +div#cgit table.blob td.linenumbers:nth-last-child(3) { + display: none; +} + div#cgit table.blob td.linenumbers a:target { color: goldenrod; text-decoration: underline; |