Skip to content

Commit

Permalink
Merge pull request #10 from alabgh01/basics
Browse files Browse the repository at this point in the history
edit scrollbar
  • Loading branch information
alabgh01 authored Jun 1, 2022
2 parents 34bb67a + 4eda278 commit 83770f1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html{
body{
position: relative;
margin: 3px;
height: 785px;
height: auto;
}
/* different background colors for pages */
body#about-body {
Expand Down Expand Up @@ -345,3 +345,25 @@ header {
display: block;
}
}
::-webkit-scrollbar {
-webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
width: 12px;
}

::-webkit-scrollbar:horizontal {
height: 12px;
}

::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, .5);
border-radius: 10px;
border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #ffffff;
}

0 comments on commit 83770f1

Please sign in to comment.