diff --git a/public/css/style.scss b/public/css/style.scss index eeb544507..2dfc9210a 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -2438,6 +2438,26 @@ key { } } +.scrollToTopButton { + bottom: 2rem; + right: 2rem; + position: fixed; + font-size: 2rem; + width: 4rem; + height: 4rem; + text-align: center; + line-height: 4rem; + background: var(--bg-color); + border-radius: 99rem; + z-index: 99; + cursor: pointer; + color: var(--sub-color); + transition: 0.25s; + &:hover { + color: var(--main-color); + } +} + @media only screen and (max-width: 1000px) { #centerContent { .pageSettings .section.themes .buttons, diff --git a/public/index.html b/public/index.html index cf1733a77..2015c7176 100644 --- a/public/index.html +++ b/public/index.html @@ -1343,6 +1343,9 @@