Skip to content

Commit

Permalink
fix scroll-bar colors for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Jan 26, 2021
1 parent 9691c41 commit cadca8a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions assets/css/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,20 +346,24 @@ h6:hover .anchor {
font-weight: 500
}

.post-content ::-webkit-scrollbar-thumb {
.post-content :not(table) ::-webkit-scrollbar-thumb {
border: 2px solid var(--hljs-bg);
background: rgba(255, 255, 255, 0.32)
}

.post-content ::-webkit-scrollbar-thumb:hover {
.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.56)
}

.gist ::-webkit-scrollbar-thumb {
.gist table::-webkit-scrollbar-thumb {
border: 2px solid rgb(255, 255, 255);
background: rgba(0, 0, 0, 0.32)
}

.gist ::-webkit-scrollbar-thumb:hover {
.gist table::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.56)
}

.post-content table::-webkit-scrollbar-thumb {
border-width: 2px;
}

0 comments on commit cadca8a

Please sign in to comment.