mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
improve scroll-bar styling
and fix hidden gist scrollbar
This commit is contained in:
parent
cd03c69e40
commit
9c50449ce8
@ -347,9 +347,19 @@ h6:hover .anchor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-content ::-webkit-scrollbar-thumb {
|
.post-content ::-webkit-scrollbar-thumb {
|
||||||
|
border: 2px solid var(--hljs-bg);
|
||||||
background: rgba(255, 255, 255, 0.32)
|
background: rgba(255, 255, 255, 0.32)
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content ::-webkit-scrollbar-thumb:hover {
|
.post-content ::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgba(255, 255, 255, 0.64)
|
background: rgba(255, 255, 255, 0.56)
|
||||||
|
}
|
||||||
|
|
||||||
|
.gist ::-webkit-scrollbar-thumb {
|
||||||
|
border: 2px solid rgb(255, 255, 255);
|
||||||
|
background: rgba(0, 0, 0, 0.32)
|
||||||
|
}
|
||||||
|
|
||||||
|
.gist ::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.56)
|
||||||
}
|
}
|
||||||
|
@ -123,9 +123,14 @@ img {
|
|||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background: var(--tertiary);
|
background: var(--tertiary);
|
||||||
|
border: 5px solid var(--theme);
|
||||||
border-radius: var(--radius)
|
border-radius: var(--radius)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list:not(.dark)::-webkit-scrollbar-thumb {
|
||||||
|
border: 5px solid var(--code-bg)
|
||||||
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background: var(--secondary)
|
background: var(--secondary)
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
/* reset */
|
/* reset */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 10px;
|
width: 19px;
|
||||||
height: 6px;
|
height: 11px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user