From 9f3c3c1cb4256fb9e11f436a4f4eb365a6c298ba Mon Sep 17 00:00:00 2001 From: TobTobXX Date: Sat, 10 Apr 2021 09:15:18 -0400 Subject: [PATCH] Give some care for the scrollbars (#5) Fix intendation style Style scrollbars (for FF) (I don't know how to do that for Chrome, but tbh, I don't care.) Merge remote-tracking branch 'upstream/main' Hide x-direction scrollbar Co-authored-by: FiliusPatris Reviewed-on: https://git.slashdev.space/garrit/slashdev.space/pulls/5 Co-Authored-By: TobTobXX Co-Committed-By: TobTobXX --- styles/darkmode.css | 4 ++++ styles/index.css | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/styles/darkmode.css b/styles/darkmode.css index 26790f9..519b848 100644 --- a/styles/darkmode.css +++ b/styles/darkmode.css @@ -4,6 +4,10 @@ color: #dbd7db; } + html { + scrollbar-color: #dbd7db #161618 !important; + } + .button__link { background-color: #67676c; } diff --git a/styles/index.css b/styles/index.css index dcf4814..f0d0ce8 100644 --- a/styles/index.css +++ b/styles/index.css @@ -22,10 +22,15 @@ font-style: italic; } +html { + scrollbar-color: black white; +} + body { margin: 0; font-family: "Work Sans", sans-serif; font-weight: 250; + overflow-x: hidden; text-align: center; }