Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / docs.less
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/src/docs.less
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, 21 insertions, 0 deletions
-rw-r--r--docs/src/docs.less21
diff --git a/docs/src/docs.less b/docs/src/docs.less
index ff6f1a7..06910f2 100644
--- a/docs/src/docs.less
+++ b/docs/src/docs.less
@@ -123,6 +123,27 @@
header {
padding-top: 6rem;
+
+ &:hover {
+ .anchor {
+ height: auto;
+ width: auto;
+ }
+ }
+ }
+
+ .anchor {
+ height: 0;
+ margin-left: -1em;
+ position: absolute;
+ overflow: hidden;
+ width: 0;
+ &:focus,
+ &:hover {
+ height: auto;
+ text-decoration: none;
+ width: auto;
+ }
}
.notes {