Browse code

Style AnchorJS

Robert Cranston authored on 29/09/2019 03:29:21
Showing 1 changed files

... ...
@@ -51,6 +51,15 @@ $endif$
51 51
       }
52 52
     }
53 53
   </style>
54
+  <style type="text/css">
55
+    .anchorjs-link {
56
+      color: Gainsboro;
57
+    }
58
+    .anchorjs-link:hover {
59
+      text-decoration-line: unset;
60
+      color: Indigo;
61
+    }
62
+  </style>
54 63
   <style type="text/css">code{white-space: pre;}</style>
55 64
 $if(quotes)$
56 65
   <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
... ...
@@ -144,7 +153,10 @@ $endfor$
144 153
   });
145 154
 </script>
146 155
 <script>
147
-  anchors.add();
156
+  anchors.options = {
157
+    visible: 'always',
158
+  }
159
+  anchors.add('h1, h2, h3, h4, h5, h6');
148 160
 </script>
149 161
 
150 162
 </body>