summary refs log tree commit diff
path: root/www/git.causal.agency/custom.css
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-12 07:02:14 +0000
committerJune McEnroe <june@causal.agency>2020-09-12 07:03:28 +0000
commit13a9e0bdafc438905db27c95321328ffb08630e1 (patch)
tree2de7c2805a378a2201da50c56ae1252f4ccf1d41 /www/git.causal.agency/custom.css
parentInstall mandoc on macOS (diff)
downloadsrc-13a9e0bdafc438905db27c95321328ffb08630e1.tar.gz
src-13a9e0bdafc438905db27c95321328ffb08630e1.zip
Enable toc in cgit renderings of man pages
But keep it disabled for READMEs since they always use non-standard
sections and the TOC is just distracting there, I think.

Also add the style so its h1 is the same size as the ones inside
sections...
Diffstat (limited to 'www/git.causal.agency/custom.css')
-rw-r--r--www/git.causal.agency/custom.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/git.causal.agency/custom.css b/www/git.causal.agency/custom.css
index 80892b36..802882d2 100644
--- a/www/git.causal.agency/custom.css
+++ b/www/git.causal.agency/custom.css
@@ -74,6 +74,7 @@ dl.Bl-diag > dt { font-weight: bold; }
 code.Nm, code.Fl, code.Cm, code.Ic, code.In, code.Fd, code.Fn,
 code.Cd { font-weight: bold; font-family: inherit; }
 
+h1.Sh { font-size: 1.5em; }
 table.Nm td:first-child { padding-right: 1ch; }
 code.Fl { white-space: nowrap; }
 span.RsT { font-style: italic; }