From 1d3fd39483759f50320bd524612df4be238ade96 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 13 Jan 2024 09:06:23 +0000 Subject: [PATCH] fix(theme): scrollbar, bold on hyperlinks --- .vitepress/theme/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 45b9315f8..84b966ac0 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -40,6 +40,10 @@ --vp-custom-block-danger-border: rgba(248, 113, 113, 1); --vp-custom-block-danger-text: rgb(196, 46, 46); --vp-custom-block-danger-text-deep: rgba(220, 38, 38, 1); + + /* Scrollbar */ + scroll-behavior: smooth; + scrollbar-width: 4px; } .dark { @@ -227,3 +231,7 @@ transform: rotate(360deg); } } + +#VPContent strong > a { + font-weight: bold; +}