aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2020-10-28 14:01:41 -0400
committerDrew DeVault <[email protected]>2020-10-28 14:01:52 -0400
commit916bdc617d3f093151dc0d0c0d1e097691fa19d2 (patch)
tree0dd50230f97e13aeaed1cdffecedf8fe47c35b31
parentAdd ⇒ before links (diff)
downloadcapybara-916bdc617d3f093151dc0d0c0d1e097691fa19d2.tar.xz
capybara-916bdc617d3f093151dc0d0c0d1e097691fa19d2.zip
Fix style of proxy link at bottom of page
-rw-r--r--main.go30
1 files 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 {