Skip to content

Commit

Permalink
Merge pull request #602 from RadhikaMalpani1702/main
Browse files Browse the repository at this point in the history
Added Vertical ScrollBar Across All Pages
  • Loading branch information
ayush-t02 authored Jul 24, 2024
2 parents abecde0 + e3324a3 commit 49e2b78
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 4 deletions.
12 changes: 12 additions & 0 deletions pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
flex-direction: column;
}

::-webkit-scrollbar
{
width: 8px !important;
}
::-webkit-scrollbar-thumb{
background-color: rgba(231, 181, 55, 0.979) !important;
border-radius: 15px !important;
}
::-webkit-scrollbar-track{
background-color: black !important;
}

main {
flex: 1;
padding: 20px;
Expand Down
16 changes: 12 additions & 4 deletions pages/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
font-family: Arial, sans-serif;
overflow: auto !important;
background-color: #e7b537 !important;
overflow-x: hidden !important; /* Hide horizontal scrollbar */
}

.header-hero {
Expand Down Expand Up @@ -255,10 +256,17 @@
background-position: center;
}

/* Scrollbar styling */
::-webkit-scrollbar {
display: none;
}
::-webkit-scrollbar
{
width: 8px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(255, 217, 121, 0.979);
border-radius: 15px;
}
::-webkit-scrollbar-track{
background-color: black;
}

/* Responsive adjustments */
@media (max-width: 768px) {
Expand Down
8 changes: 8 additions & 0 deletions pages/howtoplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
pointer-events: none;
z-index: 9999;
}
::-webkit-scrollbar
{
width: 8px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(231, 181, 55, 0.979);
border-radius: 15px;
}

@media (max-width : 768px){
.circle-container{
Expand Down
9 changes: 9 additions & 0 deletions pages/licensing.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
z-index: 9999;
}

::-webkit-scrollbar
{
width: 8px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(231, 181, 55, 0.979);
border-radius: 15px;
}

@media (max-width : 768px){
.circle-container{
display: none;
Expand Down
12 changes: 12 additions & 0 deletions pages/privacypolicy.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
z-index: 9999;
}

::-webkit-scrollbar
{
width: 8px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(231, 181, 55, 0.979);
border-radius: 15px;
}
::-webkit-scrollbar-track{
background-color: black;
}

@media (max-width : 768px){
.circle-container{
display: none;
Expand Down
9 changes: 9 additions & 0 deletions pages/termsofservice.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
z-index: 9999;
}

::-webkit-scrollbar
{
width: 8px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(231, 181, 55, 0.979);
border-radius: 15px;
}

@media (max-width : 768px){
.circle-container{
display: none;
Expand Down

0 comments on commit 49e2b78

Please sign in to comment.