diff options
author | cel 🌸 <cel@blos.sm> | 2023-08-06 00:14:05 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-08-06 00:14:05 +0100 |
commit | 621ba5a5bec47bde3f6f7e411186b9e56694472c (patch) | |
tree | 3a1ac9c8bb3c344197e0b5fd959f537dd173f235 /static | |
parent | bfef6e287488722f87e7af57cf53b6fc7fbab284 (diff) | |
download | blossom-621ba5a5bec47bde3f6f7e411186b9e56694472c.tar.gz blossom-621ba5a5bec47bde3f6f7e411186b9e56694472c.tar.bz2 blossom-621ba5a5bec47bde3f6f7e411186b9e56694472c.zip |
custom scrollbar
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 1b68815..9a8068d 100644 --- a/static/style.css +++ b/static/style.css @@ -1,5 +1,33 @@ * { word-break: break-word; + scrollbar-color: #edc953 #e8d2c5; +} + +/* scrollbar */ +/*width */ +::-webkit-scrollbar { + position: fixed; + top: 0; + left: 0; + width: 20px; +} + +/* Track */ +::-webkit-scrollbar-track { + border: 4px solid #311f20; + padding: 4px; + background: #e8d2c5; +} + +/* Handle */ +::-webkit-scrollbar-thumb { + border: 4px solid #311f20; + background: #edc953; +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: #ccad47; } .panel { |