diff --git a/docs/index.html b/docs/index.html index 186719a0..0e4e39ae 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1026,4 +1026,7 @@

Name

+
+ To Top +
diff --git a/docs/style.css b/docs/style.css index cc52d084..b19f351a 100644 --- a/docs/style.css +++ b/docs/style.css @@ -26,4 +26,47 @@ span.distinct { main ul li { margin-bottom: .5em; -} \ No newline at end of file +} + +.scroll-container { + position: absolute; + top: 0; + right: 50px; + height: 100%; + z-index: 1000; + } + + .scroll-container:before { + content: ''; + display: block; + height: 100vh; + pointer-events: none; + } + + .scroll-container a { + position: sticky; + top: 88vh; + cursor: pointer; + font-size: 20px; + } + + @media (max-width: 600px) { + .scroll-container { + position: fixed; + right: 10px; + top: auto; + bottom: 20px; + z-index: 1000; + } + + .scroll-container a { + font-size: 16px; + top: auto; + bottom: 10px; + } + } + +html{ + scroll-behavior: smooth; + position: relative; +}