simplified code & fixed weird ovelap

This commit is contained in:
2023-06-03 19:43:44 +01:00
parent ff5a166a5b
commit 888dcd88a9
2 changed files with 12 additions and 24 deletions

View File

@@ -57,6 +57,7 @@
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);
@@ -78,22 +79,19 @@
padding: 12px;
}
.barItem h1 {
font-size: 20px;
padding: 9px;
}
.barItem a:hover {
background-color: #111;
color: #eee;
font-weight: 1000;
-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);
}
.barItem a:hover {
width: 120%;
}
.bar:has(#barItem1:hover) #barItem2 {
background: purple;
}
/* Bar styling*/