From 916bdc617d3f093151dc0d0c0d1e097691fa19d2 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 28 Oct 2020 14:01:41 -0400 Subject: [PATCH] Fix style of proxy link at bottom of page --- main.go | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/main.go b/main.go index 87449c2..7b4de4d 100644 --- a/main.go +++ b/main.go @@ -246,6 +246,19 @@ li { padding: 0; } +a { + position: relative; +} + +a:before { + content: '⇒'; + color: #999; + text-decoration: none; + font-weight: bold; + position: absolute; + left: -1.25rem; +} + pre { background-color: #eee; margin: 0 -1rem; @@ -258,6 +271,10 @@ details:not([open]) summary a { color: gray; } +details summary a:before { + display: none; +} + dl dt { font-weight: bold; } @@ -265,19 +282,6 @@ dl dt { dl dt:not(:first-child) { margin-top: 0.5rem; } - -a { - position: relative; -} - -a:before { - content: '⇒'; - color: #999; - text-decoration: none; - font-weight: bold; - position: absolute; - left: -1.25rem; -} ` type GemtextContext struct {