@@ -513,6 +513,47 @@ body.typography-bold {
513513}
514514
515515
516+ /* --- scrollbar.css --- */
517+ html , body {
518+ scrollbar-width : thin; /* For Firefox */
519+ scrollbar-color : var (--neutral-300 ) var (--neutral-50 ); /* Thumb and Track */
520+ }
521+
522+ /* Webkit-based Browsers */
523+ html ::-webkit-scrollbar , body ::-webkit-scrollbar {
524+ width : 12px ; /* Vertical scrollbar width */
525+ height : 12px ; /* Horizontal scrollbar height */
526+ background-color : var (--neutral-50 ); /* Track background */
527+ }
528+
529+ html ::-webkit-scrollbar-thumb , body ::-webkit-scrollbar-thumb {
530+ background-color : var (--neutral-300 ); /* Thumb color */
531+ border-radius : var (--radius-lg ); /* Rounded corners for thumb */
532+ border : 3px solid var (--neutral-50 ); /* Creates a spacing effect */
533+ }
534+
535+ html ::-webkit-scrollbar-thumb : hover , body ::-webkit-scrollbar-thumb : hover {
536+ background-color : var (--neutral-400 ); /* Slightly darker thumb on hover */
537+ }
538+
539+ html ::-webkit-scrollbar-thumb : active , body ::-webkit-scrollbar-thumb : active {
540+ background-color : var (--neutral-500 ); /* Even darker thumb on active */
541+ }
542+
543+ html ::-webkit-scrollbar-track , body ::-webkit-scrollbar-track {
544+ background-color : var (--neutral-50 ); /* Track background */
545+ border-radius : var (--radius-md );
546+ }
547+
548+ /* Responsive Adjustments */
549+ @media (max-width : 768px ) {
550+ html ::-webkit-scrollbar , body ::-webkit-scrollbar {
551+ width : 8px ;
552+ height : 8px ;
553+ }
554+ }
555+
556+
516557/* --- sections.css --- */
517558/* Base Section Styling */
518559section {
0 commit comments