Skip to content

Commit

Permalink
Merge pull request #51 from ViktorSvertoka/update-08-scroll-up
Browse files Browse the repository at this point in the history
Update 08-scroll-up.css
  • Loading branch information
ViktorSvertoka authored Dec 17, 2023
2 parents 29c4f5d + 00b2dac commit 8d3fb44
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/css/layout/08-scroll-up.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,20 @@
border: none;
background: no-repeat scroll #242424;
border-radius: 50%;
width: 30px;
height: 30px;
width: 40px;
height: 40px;
opacity: 0.8;
cursor: pointer;
padding: 7px;
margin: 0;
z-index: 90;
}

@media screen and (min-width: 768px) {
.scroll__go-top {
width: 100px;
height: 100px;
}
}
.scroll__go-top:hover,
.scroll__go-top:focus {
background: #f4f4f4;
Expand All @@ -40,6 +45,12 @@
fill: #f4f4f4;
}

@media screen and (min-width: 768px) {
.scroll__icon {
width: 33px;
height: 33px;
}
}
.scroll__icon:hover,
.scroll__icon:focus {
fill: #242424;
Expand Down

0 comments on commit 8d3fb44

Please sign in to comment.