Skip to content

Commit

Permalink
Added customised scrollbar to all the games pages (Spandan-Bhattachar…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneha123-zudo authored Feb 25, 2024
1 parent 90c1f62 commit 1448c1a
Show file tree
Hide file tree
Showing 24 changed files with 433 additions and 14 deletions.
17 changes: 17 additions & 0 deletions 2048/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,21 @@ html{
padding: 0px 9px;
}

}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
25 changes: 24 additions & 1 deletion Bingo Game/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
*{
margin: 0;
padding: 0;
}

body {
font-family: Arial, sans-serif;
background-color: #d8f3dc;
Expand Down Expand Up @@ -192,4 +197,22 @@ label {
.foot-social a{
font-size: 30px;
color: #ffb780;
}
}
html {
scroll-behavior: smooth;
overflow-x: hidden;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
23 changes: 23 additions & 0 deletions Block-Buster/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
*{
margin: 0;
padding: 0;
}

body {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -147,4 +152,22 @@ body {
.foot-social a{
font-size: 30px;
color: #ffb780;
}
html {
scroll-behavior: smooth;
overflow-x: hidden;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
17 changes: 17 additions & 0 deletions CrossWord/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,21 @@ html{
padding: 0px 9px;
}

}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Dino Game/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,21 @@ img{
.reset:hover{
transform: scale(1.05);
transition: all 0.2s ease-in-out;
}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion HangMan Game/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -363,4 +363,21 @@ html{
padding: 0px 9px;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
17 changes: 17 additions & 0 deletions Memory Card game/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,21 @@ body{
.foot-social a{
font-size: 30px;
color: #ffb780;
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
17 changes: 17 additions & 0 deletions Ping_Pong/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,20 @@ h1{
.back-to-home:hover {
background-color: #4556a0;
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Rock Paper Scissor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,21 @@ html{
padding: 0px 9px;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
17 changes: 17 additions & 0 deletions Rubiks-Cube/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,21 @@ body {
}
.ui__buttons {
z-index: 5;
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Simon Game/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,21 @@ backHome a:hover,
padding: 0px 9px;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Snake Game/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,21 @@ backHome a:hover,
padding: 0px 9px;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Sudoku_Game_8x8/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,21 @@ html{
font-size: 7vw;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
19 changes: 18 additions & 1 deletion Sudoku_Game_9x9/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,21 @@ html{
font-size: 6vw;
}

}
}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}
16 changes: 16 additions & 0 deletions Tetris/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,23 @@ html{
}

}
html {
scroll-behavior: smooth;
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
border-radius: 5px;
background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
}



Expand Down
Loading

0 comments on commit 1448c1a

Please sign in to comment.