Add back to top button to all pages (#95)

This commit is contained in:
Alex Ling
2020-08-10 11:42:23 +00:00
parent 85a65f84d0
commit 3cdd4b29a5
2 changed files with 21 additions and 1 deletions

View File

@@ -135,3 +135,20 @@ td>.uk-dropdown {
#select-bar-controls a:hover {
color: orange;
}
#main-section {
position: relative;
}
#totop-wrapper {
position: absolute;
top: 100vh;
right: 2em;
bottom: 0;
}
#totop-wrapper a {
position: fixed;
position: sticky;
top: calc(100vh - 5em);
}