Skip to content

Commit 1a1b3a8

Browse files
committed
Fixed navbar color issues
1 parent 99917ff commit 1a1b3a8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

styles/Navbar.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ nav .buttonbar {
4848
transition: all .2s;
4949
}
5050

51-
.buttonbar a:hover {
51+
.buttonbar a.item:hover {
5252
background-color: #ddd;
5353
color: #000;
5454
}
@@ -91,6 +91,9 @@ nav .buttonbar {
9191
height: 70px;
9292
display: flex;
9393
}
94+
.buttonbar.active:last-child {
95+
box-shadow: 0 5px 10px 0 #ccc;
96+
}
9497
}
9598

9699
@media screen and (prefers-color-scheme: dark) {
@@ -105,11 +108,14 @@ nav .buttonbar {
105108
color: #fff;
106109
background-color: #333;
107110
}
108-
.buttonbar a:hover {
111+
.buttonbar a.item:hover {
109112
background-color: #555;
110113
color: #fff;
111114
}
112115
.buttonbar a.item {
113116
background-color: #333;
114117
}
118+
.buttonbar.active:last-child {
119+
box-shadow: 0 5px 10px 0 #222;
120+
}
115121
}

0 commit comments

Comments
 (0)