post-single(css): fix scroll-bar in code
hiding background
This commit is contained in:
parent
bfb5019cbc
commit
5d6de5ecb1
|
@ -337,3 +337,11 @@ h6:hover .anchor {
|
||||||
margin-inline-start: 8px;
|
margin-inline-start: 8px;
|
||||||
font-weight: 500
|
font-weight: 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-content ::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(255, 255, 255, 0.32)
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-content ::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.64)
|
||||||
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background: var(--theme)
|
background: 0 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.list:not(.dark)::-webkit-scrollbar-track {
|
.list:not(.dark)::-webkit-scrollbar-track {
|
||||||
|
|
Loading…
Reference in New Issue