From 2931feb82a984fbc24b5792954984efc5118dea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Mon, 11 Nov 2024 20:24:53 +0900 Subject: [PATCH] docs: fix mobile menu background on light mode landing page (#18633) --- .vitepress/theme/styles/landing.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.vitepress/theme/styles/landing.css b/.vitepress/theme/styles/landing.css index 5bcbb643..0d363f9d 100644 --- a/.vitepress/theme/styles/landing.css +++ b/.vitepress/theme/styles/landing.css @@ -3,6 +3,8 @@ /* /////////////////////// */ html:has(.landing) { + --vp-c-bg: #101010; + background-color: #101010; body { @@ -10,10 +12,6 @@ html:has(.landing) { } } -html.dark:has(.landing) { - --vp-c-bg: #101010; -} - .landing { overflow-x: hidden; background-color: #101010;