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 {