Skip to content

Commit

Permalink
Fix(CSS) Added styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSvertoka committed Jan 4, 2024
1 parent e5484f0 commit aa10efd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/css/layout/08-scroll-up.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}

0 comments on commit aa10efd

Please sign in to comment.