From 029e72bac88621d5b438135ab43761ec4bd929c8 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 12 Apr 2017 17:14:25 +0800 Subject: Add anchor links to Docs --- docs/css/docs.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs/css/docs.css') 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; } -- cgit v1.3.1-23-gd82d