From 42cb4540cc048c5fe8923cbb36ee1161e5bae63b Mon Sep 17 00:00:00 2001 From: Nihaal Sharma Date: Sun, 4 Jun 2023 10:53:26 +0100 Subject: [PATCH] reverted changes --- style.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index f235fa0..fef76cf 100644 --- a/style.css +++ b/style.css @@ -53,11 +53,10 @@ .bar { width: 100%; position: fixed; - display: flex; - list-style-type: none; padding: 0; overflow: hidden; background-color: rgba(255, 255, 255, 0.25); + list-style-type: none; -webkit-backdrop-filter: blur(2.5px); -moz-backdrop-filter: blur(2.5px); @@ -69,13 +68,12 @@ } .barItem { float: left; - flex: 1; text-align: center; } .barItem * { - display: block; color: #222; text-decoration: none; + display: block; font-size: 16px; padding: 12px; } @@ -85,12 +83,12 @@ .barItem a:hover { background-color: #111; color: #eee; - + -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); } - .bar:has(a:hover) .barItem { + .bar:has(#barItem1:hover) #barItem2 { } /* Bar styling*/