From 6ec4542fecf9918690728bbf9162529735b4a9db Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 10 Jul 2023 16:30:44 +0300 Subject: (scrollbtn) Reworked styling and HTML to use the character icon --- src/styles.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index e2b02f2..1b3b204 100644 --- a/src/styles.css +++ b/src/styles.css @@ -379,14 +379,14 @@ dt, dd { } /* back-to-top.js */ #scrollBtn { - background-color: transparent; - bottom: 1em; + background-color: var(--bg-color); + bottom: 1rem; border: 1px solid; display: none; - font-size: 1rem; + font-size: 1.66rem; position: fixed; - padding: 0.3em; - right: 1em; + padding: 0 0.15em; + right: 1rem; transition-duration: 0.5s; z-index: 1; } -- cgit v1.3.1-26-gb76a