Skip to content

Commit

Permalink
Docs custom scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
giulong committed Dec 21, 2023
1 parent 2f7900a commit a66c62c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ img.copy-icon {
font-size: 14px;
}

#topButton:hover, #toggleTocButton:hover {
#topButton:hover, #toggle-toc-button:hover, ::-webkit-scrollbar-thumb:hover {
background-color: #555;
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
}
Expand All @@ -309,3 +309,18 @@ img.copy-icon {
font-size: 14px;
transition: left .05s linear;
}

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

::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px #666;
background: #f1f1f1;
border-radius: 5px;
}

::-webkit-scrollbar-thumb {
background: #3A3C42;
border-radius: 5px;
}

0 comments on commit a66c62c

Please sign in to comment.