Skip to content

Commit

Permalink
Improve scroll style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 30, 2016
1 parent 6df6645 commit 9746f26
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions docs/assets/scss/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

&::-webkit-scrollbar {
width: 3px;
}
&::-webkit-scrollbar-thumb {
background: lighten($sidebar-border-color, 5%);
}
}

/*
Expand All @@ -22,15 +29,6 @@ html,
}
}

html .toc-menu {
&::-webkit-scrollbar {
width: 3px;
}
&::-webkit-scrollbar-thumb {
background: lighten($sidebar-border-color, 5%);
}
}

html .menu.toc-menu,
html .-menu-visible .menu-toggle {
background: $sidebar-color;
Expand Down

0 comments on commit 9746f26

Please sign in to comment.