summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-21 21:35:47 -0700
committerAndrew Godwin2022-11-21 21:35:47 -0700
commit1d37dce0123d5746603e88678997edb562d61691 (patch)
treeff8f86483a1cb72668d41044dca83173e160672a
parent53d94529175dface366a935eea2c2bcc1eeab15c (diff)
downloadtakahe-1d37dce0123d5746603e88678997edb562d61691.tar.gz
takahe-1d37dce0123d5746603e88678997edb562d61691.tar.bz2
takahe-1d37dce0123d5746603e88678997edb562d61691.zip
Only show scrollbar on div hover
-rw-r--r--static/css/style.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 7c22553..774d8bb 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -818,11 +818,16 @@ h1.identity small {
scrollbar-color: var(--color-bg-main) var(--color-text-duller);
}
- *::-webkit-scrollbar {
+ div::-webkit-scrollbar {
background: var(--color-bg-main);
+ width: 7px;
}
- *::-webkit-scrollbar-thumb {
+ div::-webkit-scrollbar-thumb {
+ background: var(--color-bg-main);
+ }
+
+ div:hover::-webkit-scrollbar-thumb {
background: var(--color-text-dull);
}