diff --git a/css/style.css b/css/style.css index 4f33f7b..30553f4 100644 --- a/css/style.css +++ b/css/style.css @@ -296,4 +296,5 @@ main .container-main .container-main__content .section-container { .article-container { margin: 2.3em 0; } -}/*# sourceMappingURL=style.css.map */ \ No newline at end of file +}/*# sourceMappingURL=style.css.map */ + diff --git a/css/style.scss b/css/style.scss index 6750ea1..e84a050 100644 --- a/css/style.scss +++ b/css/style.scss @@ -5,6 +5,7 @@ font-weight: normal; font-style: normal; } + @font-face { font-family: "cuprumregular"; src: url("../assets/fonts/cuprum-variablefont_wght-webfont.woff") @@ -24,9 +25,9 @@ $box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.18); padding: 0; transition: all .6s; } - - - +html{ + scroll-behavior: smooth; +} body { background-color: $background-color_light; font-family: $primary-font; @@ -308,3 +309,24 @@ main { margin: 2.3em 0; } } + + +#backToTop { + display: none; + position: fixed; + bottom: 20px; + right: 30px; + z-index: 1000; + border: none; + outline: none; + background-color: #c07534; + color: white; + cursor: pointer; + padding: 15px; + border-radius: 10px; + font-size: 18px; + + &:hover { + background-color: #555; + } +} \ No newline at end of file diff --git a/index.html b/index.html index b66126f..a5e164c 100644 --- a/index.html +++ b/index.html @@ -5,11 +5,16 @@