Skip to content

Commit

Permalink
Merge pull request #42 from monov/main
Browse files Browse the repository at this point in the history
minor change of the hello__logo and added custom scroll-bar
  • Loading branch information
Bertik23 committed Oct 30, 2023
2 parents 6866e7f + 531ec3d commit 29c8e5a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

* {
box-sizing: border-box;
scrollbar-color: var(--yellow) var(--blue);
}

body {
Expand All @@ -18,6 +19,7 @@ body {
letter-spacing: 0.5px;
}


@media screen and (max-width: 1280px) {
body {
font-size: 16px;
Expand All @@ -41,7 +43,7 @@ h1, h2, h3 {

p {
margin: 0;
color: #343434;
color: var(--black);
line-height: 1.5;
}

Expand Down Expand Up @@ -75,8 +77,7 @@ section {
.hello__logo {
width: 50vw;
max-width: 720px;
box-shadow: 0 0 .5em rgba(255, 255, 255, .5);
background: rgba(255, 255, 255, .5);
background: rgba(255, 255, 255, 0.5);
}

.hello__arrow {
Expand Down Expand Up @@ -212,3 +213,19 @@ section {
padding: 1em;
text-decoration: none;
}


::-webkit-scrollbar {
width: auto;
}


::-webkit-scrollbar-track {
background: var(--yellow);
}


::-webkit-scrollbar-thumb {
background: var(--blue);
}

0 comments on commit 29c8e5a

Please sign in to comment.