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 | b6ff1659e5cb70a3b3a9d7ecb0c87683a54baa7d (patch) | |
tree | a2d77302fc4206d8dd7508e0f38a2d223c262a28 /www/git.causal.agency/custom.css | |
parent | Customize cgit CSS (diff) | |
download | src-b6ff1659e5cb70a3b3a9d7ecb0c87683a54baa7d.tar.gz src-b6ff1659e5cb70a3b3a9d7ecb0c87683a54baa7d.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; |