From 7c90219ae37cea5d72329fc89fc646feb93ef688 Mon Sep 17 00:00:00 2001 From: teabyte Date: Sat, 6 Jan 2024 22:16:35 +0300 Subject: [PATCH] fixing --- static/styles.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/static/styles.css b/static/styles.css index 983742f..12faf93 100644 --- a/static/styles.css +++ b/static/styles.css @@ -20,6 +20,7 @@ body .markdown-body { } .gutter { + z-index: 99; background-color: #796666; background-repeat: no-repeat; background-position: 50%; @@ -55,3 +56,31 @@ mark::before { font-weight: bold; margin-bottom: 5px; } + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-thumb { + background-color: var(--fallback-bc,oklch(var(--bc)/.2)); + border-radius: 4px; +} + +::-webkit-scrollbar-track { + background-color: transparent; +} + + +body { + scrollbar-width: thin; + scrollbar-color: var(--fallback-bc,oklch(var(--bc)/.2)) var(--fallback-bc,oklch(var(--bc)/.2)); +} + +body::-moz-scrollbar-track { + background-color: transparent; +} + +body::-moz-scrollbar-thumb { + background-color: var(--fallback-bc,oklch(var(--bc)/.2)); + border-radius: 6px; +} \ No newline at end of file