Skip to content

Commit 694630b

Browse files
changed the scrollbar to wooden theme for issue 5
1 parent d3365f0 commit 694630b

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎style.css‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,4 +667,33 @@ main {
667667
visibility: visible;
668668
transform: translateX(-40%) scale(1) translateY(0);
669669
}
670+
/* scrollbar */
671+
/* Webkit */
672+
::-webkit-scrollbar {
673+
width: 14px;
674+
}
675+
676+
::-webkit-scrollbar-track {
677+
background: linear-gradient(180deg, #f7f3ee 0%, #e6d9c8 100%);
678+
border-radius: 10px;
679+
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
680+
}
681+
682+
::-webkit-scrollbar-thumb {
683+
background: linear-gradient(180deg, #c7a17a 0%, #a87b56 100%);
684+
border-radius: 10px;
685+
box-shadow: inset 0 2px 2px rgba(255,255,255,0.2),
686+
inset 0 -2px 2px rgba(0,0,0,0.15);
687+
}
688+
689+
::-webkit-scrollbar-thumb:hover {
690+
background: linear-gradient(180deg, #b3885c 0%, #9a6940 100%);
691+
}
692+
693+
/* Firefox */
694+
* {
695+
scrollbar-width: thin;
696+
scrollbar-color: #c7a17a #f3eee2;
697+
}
698+
670699

0 commit comments

Comments
 (0)