Skip to content

Commit

Permalink
scrollbar add
Browse files Browse the repository at this point in the history
  • Loading branch information
rishinhk004 committed Apr 11, 2024
1 parent 7faba6e commit 83e9904
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/Pages/Artist/Artist.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
width: 100%;
min-height: 100vh;
overflow: hidden;
padding-top: 3rem;
}
.top {
display: flex;
Expand Down
2 changes: 2 additions & 0 deletions src/Pages/Events/EventHeader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
height: fit-content;
max-width: 100vw;
margin-top: 6rem;
padding-top: 2rem;

.inner {
display: flex;
flex-direction: row;
Expand Down
4 changes: 0 additions & 4 deletions src/Pages/Events/Events.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
--swiper-button-next-color: blue
}

.navigation.nextEl

.ParentDivision {

padding-top: 5rem;
background-image: url(https://res.cloudinary.com/dl0knguhb/image/upload/v1712137199/pngwing_3_slripp.webp);
background-repeat: no-repeat;
background-size: cover;
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Gallery/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


.galleryPage-container {
padding-top: 8rem;
padding-top: 5.5rem;
min-height: 100vh;
width:100%;
}
Expand Down
13 changes: 13 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,16 @@
body {
background-color: #3d029d;
}
body::-webkit-scrollbar {
width: 0.4rem;
}

body::-webkit-scrollbar-track {
background:linear-gradient(to bottom, #3d029d 0%, #3f1560 100%);
border: 1px solid black;
}

body::-webkit-scrollbar-thumb {
background:linear-gradient(153deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
border-radius: 2px;
}

0 comments on commit 83e9904

Please sign in to comment.