summaryrefslogtreecommitdiff
path: root/assets/css/post-single.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-01-26 10:52:30 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-01-26 10:52:30 +0530
commitcadca8a68ac02aab951fb6f27b89c9e6eebcd825 (patch)
tree88b4a7e82b484b561f4e566539719bb9347de0f6 /assets/css/post-single.css
parent9691c419834c24f8053a010f3486ef1623a1935e (diff)
fix scroll-bar colors for tables
Diffstat (limited to 'assets/css/post-single.css')
-rw-r--r--assets/css/post-single.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css
index 9c382a5..d321e36 100644
--- a/assets/css/post-single.css
+++ b/assets/css/post-single.css
@@ -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;
+}