From c170d86860ad670fa163edd7a1bb82dc23b737b0 Mon Sep 17 00:00:00 2001 From: Romein van Buren <romein@vburen.nl> Date: Mon, 20 Jan 2025 15:45:48 +0100 Subject: [PATCH] styling --- content/.vitepress/theme/custom.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/content/.vitepress/theme/custom.css b/content/.vitepress/theme/custom.css index 09e7f08..284b6a2 100644 --- a/content/.vitepress/theme/custom.css +++ b/content/.vitepress/theme/custom.css @@ -3,6 +3,32 @@ src: url('./DMSerifDisplay.ttf') format('truetype'); } +:root { + --vp-c-brand-1: #d78513; + --vp-c-brand-2: #c67c14; + --vp-c-brand-3: #be7713; + --vp-custom-block-info-bg: rgba(246, 147, 7, 0.1); + --vp-custom-block-info-border: rgba(246, 147, 7, 0.65); + --vp-nav-bg-color: var(--vp-sidebar-bg-color); +} + +.VPNavBar { + background-color: var(--vp-nav-bg-color) !important; +} +.VPNavBar .title { + background: #e48d13 !important; + border: none; +} +.VPNav .divider { + display: none; +} + +@media (max-width: 960px) { + .VPNavBar { + background-color: #e48d13 !important; + } +} + .vp-doc { font-family: Georgia, 'Times New Roman', Times, serif; }