diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 9c382a55..d321e36a 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; +}