Summary Files Commits Branches @commit @diff @stats
path: root / docs / css / docs.css
diff options
context:
space:
mode:
Commit029e72bac88621d5b438135ab43761ec4bd929c8 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-12 17:14:25 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-04-12 17:14:25 +0800
Files81b0a24f7df0b42300574cfd6a222234308e5231 /docs/css/docs.css
Spectre-Dark-Gruvbox-029e72bac88621d5b438135ab43761ec4bd929c8.tar
Spectre-Dark-Gruvbox-029e72bac88621d5b438135ab43761ec4bd929c8.tar.gz
Spectre-Dark-Gruvbox-029e72bac88621d5b438135ab43761ec4bd929c8.zip
Parent6aa86099a457d2725315863725f79172888f1788 (diff)
Add anchor links to Docs
1 files changed, 17 insertions, 0 deletions
-rw-r--r--docs/css/docs.css17
diff --git a/docs/css/docs.css b/docs/css/docs.css
index 0cf55d1..b1162e8 100644
--- a/docs/css/docs.css
+++ b/docs/css/docs.css
@@ -99,6 +99,23 @@
.docs-content header {
padding-top: 6rem;
}
+.docs-content header:hover .anchor {
+ height: auto;
+ width: auto;
+}
+.docs-content .anchor {
+ height: 0;
+ margin-left: -1em;
+ overflow: hidden;
+ position: absolute;
+ width: 0;
+}
+.docs-content .anchor:focus,
+.docs-content .anchor:hover {
+ height: auto;
+ text-decoration: none;
+ width: auto;
+}
.docs-content .notes {
margin: 4rem 0;
}