From 2afb23928e1984d475cc460e1672e8f6fa0e4dbe Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 11 Aug 2021 17:21:31 -0400 Subject: Allow clicking on header to get fragment link --- docs/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/style.css') diff --git a/docs/style.css b/docs/style.css index 3264e776..4c8eb51b 100644 --- a/docs/style.css +++ b/docs/style.css @@ -21,6 +21,19 @@ h1, h2, h3, h4 { padding-bottom: 0.1em; border-bottom: 0.01em solid #9995 } +a:link.header, a:visited.header { + text-decoration:none; color:inherit; +} +.header { position:relative; } +.header:before { + position: absolute; + left: -0.9em; + content: "ยง"; + opacity: 0; +} +.header:hover:before { + opacity: 0.3; +} table { border-spacing: 0; -- cgit v1.2.3