Skip to content

Commit 813236d

Browse files
authored
Update nav.css
1 parent a6a5148 commit 813236d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

assets/css/nav.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,35 @@
5757
.topnav {
5858
flex-direction: column; /* Stacks items vertically */
5959
align-items: flex-start; /* Aligns items to the left */
60+
background-color: #ffffff; /* Sets white background for the bar */
6061
}
6162

6263
.topnav #myLinks {
6364
display: none; /* Hidden by default on mobile */
6465
flex-direction: column; /* Stacks links vertically */
6566
width: 100%; /* Full width for mobile */
66-
background-color: #ffffff; /* White background for dropdown */
67+
background-color: #f0f0f0; /* Light grey background for the dropdown */
6768
}
6869

6970
.topnav a.icon {
7071
display: block; /* Shows the hamburger icon on mobile */
7172
position: absolute;
7273
right: 10px;
7374
top: 10px;
75+
color: #808080; /* Grey color for the icon */
7476
}
7577

7678
.topnav a.normal {
7779
display: block;
7880
width: 100%;
7981
text-align: left; /* Aligns links to the left */
8082
padding: 14px 16px;
83+
background-color: #ffffff; /* White background for links */
84+
color: #808080; /* Grey text color for links */
85+
}
86+
87+
.topnav a.normal:hover {
88+
background-color: #ddd; /* Light grey on hover */
89+
color: #000000; /* Black text on hover */
8190
}
8291
}

0 commit comments

Comments
 (0)