From aa10efdec8cbf9fef2b702ef14560b07c07ba3df Mon Sep 17 00:00:00 2001 From: Viktor Svertoka <115661003+ViktorSvertoka@users.noreply.github.com> Date: Thu, 4 Jan 2024 12:32:14 +0200 Subject: [PATCH] Fix(CSS) Added styles --- src/css/layout/08-scroll-up.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/css/layout/08-scroll-up.css b/src/css/layout/08-scroll-up.css index 7f56dda..a2f73e9 100644 --- a/src/css/layout/08-scroll-up.css +++ b/src/css/layout/08-scroll-up.css @@ -18,14 +18,14 @@ } @media screen and (min-width: 768px) { .scroll__go-top { - width: 100px; - height: 100px; + width: 60px; + height: 60px; } } .scroll__go-top:hover, .scroll__go-top:focus { background: #f4f4f4; - border: 4px solid #242424; + border: 2px solid #242424; } .scroll__go-top--show { @@ -47,11 +47,11 @@ @media screen and (min-width: 768px) { .scroll__icon { - width: 33px; - height: 33px; + width: 25px; + height: 25px; } } -.scroll__icon:hover, -.scroll__icon:focus { +.scroll__go-top:hover .scroll__icon, +.scroll__go-top:focus .scroll__icon { fill: #242424; }