From 623c8e58b800f6fa068fc5b6ffaa4dd01f167358 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Wed, 13 Oct 2021 15:17:24 +0200 Subject: [PATCH] fix: add :not pseudo (#2507) --- docs/src/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index a85d97cd82..203990db78 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -60,12 +60,12 @@ color: #6b7280; } -.navbar { +.navbar:not(.navbar-sidebar--show) { background-color: hsla(0,0%,100%,.8); backdrop-filter: saturate(110%) blur(5px); } -:root[data-theme="dark"] .navbar { +:root[data-theme="dark"] .navbar:not(.navbar-sidebar--show) { background-color: rgba(31,41,55,.5019607843137255); backdrop-filter: saturate(110%) blur(5px); }