fix scroll-bar colors for tables

This commit is contained in:
Aditya Telange 2021-01-26 10:52:30 +05:30
parent 9691c41983
commit cadca8a68a
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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;
}