Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / docs.css
diff options
context:
space:
mode:
Commit1c439a3201df5b559b124940c8fcc2702c345631 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-06-10 10:38:45 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-06-10 10:38:45 +0800
Files9225a7e69444531c04fba3f028b49c73c80c1d47 /docs/dist/docs.css
Spectre-Dark-Gruvbox-1c439a3201df5b559b124940c8fcc2702c345631.tar
Spectre-Dark-Gruvbox-1c439a3201df5b559b124940c8fcc2702c345631.tar.gz
Spectre-Dark-Gruvbox-1c439a3201df5b559b124940c8fcc2702c345631.zip
Parent7369bb530f87c29903ed22bdc7aa617612bba75b (diff)
Update Docs anchor
1 files changed, 7 insertions, 18 deletions
-rw-r--r--docs/dist/docs.css25
diff --git a/docs/dist/docs.css b/docs/dist/docs.css
index 0bbfd6a..625d3c7 100644
--- a/docs/dist/docs.css
+++ b/docs/dist/docs.css
@@ -83,22 +83,15 @@
.docs-content .anchor {
color: #6362dc;
- height: 0;
- margin-left: -2em;
- overflow: hidden;
- padding: 0 1em;
- position: absolute;
- text-align: center;
- width: 0;
- z-index: 100;
+ display: none;
+ margin-left: .2rem;
+ padding: 0 .2rem;
}
.docs-content .anchor:focus,
.docs-content .anchor:hover {
- box-shadow: none;
- height: auto;
+ display: inline;
text-decoration: none;
- width: 2em;
}
.docs-content .s-title,
@@ -135,8 +128,7 @@
.docs-content .s-title:hover .anchor,
.docs-content .s-subtitle:hover .anchor {
- height: auto;
- width: 1em;
+ display: inline;
}
.docs-content .s-title + .docs-note,
@@ -516,10 +508,10 @@
left: .5rem;
}
.docs-navbar .btn {
- right: 1rem;
+ right: .9rem;
}
.grid-hero .docs-brand {
- left: 1rem;
+ left: .9rem;
}
.docs-sidebar .docs-brand {
margin: .85rem 1rem;
@@ -533,9 +525,6 @@
.docs-content .docs-block {
padding: .4rem .1rem;
}
- .docs-content .anchor {
- display: none;
- }
}
@media (min-width: 1366px) {