diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index 2b871b5..0e77c97 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -1,3 +1,39 @@ .site-logo { padding-right: 3rem; } + +html.dark-mode { + /* + * SCROLLBAR STYLING + */ + + /* LEGACY (-2025) */ + ::-webkit-scrollbar { + width: 15.5px; + height: 15.5px; + } + + ::-webkit-scrollbar-track { + background: #1a1a1a; + } + + ::-webkit-scrollbar-thumb { + background: #404040; + border-radius: 5.5px; + border-left: 3.75px solid #1a1a1a; + border-right: 3.75px solid #1a1a1a; + } + + ::-webkit-scrollbar-thumb:hover { + background: #909090; + } + + ::-webkit-scrollbar-corner { + background: #1a1a1a; + } + + /* MODERN (2025-) */ + @supports(scrollbar-color: #404040 #1a1a1a) { + scrollbar-color: #404040 #1a1a1a; + } +}