commit 5867fd77e892e70ac36371910558034ed19813fd
parent 8d4b221c14efddc372228621a79c595f21cdebed
Author: Chris <chris@echoz.io>
Date: Thu, 2 Feb 2023 13:03:44 +0100
feat: add box-shadow to hamburger menu
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/assets/css/extended/hamburger.css b/assets/css/extended/hamburger.css
@@ -76,11 +76,16 @@
z-index: 2;
clear: both;
border: 1px solid var(--border);
+ box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.1);
transform: scaleY(0);
transform-origin: top;
transition: transform .1s ease-out;
}
+ .dark .header #menu {
+ box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.4);
+ }
+
.header #menu li {
line-height: initial;
margin-inline-end: var(--gap);