Skip to content

Commit f420978

Browse files
authored
Update nav.css
1 parent 3d14a22 commit f420978

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

assets/css/nav.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* Fixed navigation bar at the top */
1+
/* Fixed navigation bar at the top */
22
.topnav {
3-
background-color: #990000;
3+
background-color: #ffffff; /* Sets background color to white */
44
overflow: hidden;
55
position: fixed;
66
z-index: 999;
@@ -13,7 +13,7 @@
1313
/* Links inside the navigation bar */
1414
.topnav a.normal {
1515
float: right;
16-
color: #f2f2f2;
16+
color: #808080; /* Sets text color to grey */
1717
text-align: center;
1818
padding: 10px 9px;
1919
text-decoration: none;
@@ -22,8 +22,8 @@
2222

2323
/* Hover effects for links */
2424
.topnav a.normal:hover {
25-
background-color: #ddd;
26-
color: black;
25+
background-color: #f0f0f0; /* Light grey background on hover */
26+
color: #000000; /* Black text on hover */
2727
}
2828

2929
/* Adjusts the right margin for alignment */
@@ -38,7 +38,7 @@
3838
}
3939

4040
.topnav a.normal {
41-
color: white;
41+
color: #808080; /* Grey text for smaller screens */
4242
float: none;
4343
padding: 14px 16px;
4444
text-decoration: none;
@@ -47,7 +47,7 @@
4747
}
4848

4949
.topnav a.icon {
50-
color: white;
50+
color: #808080; /* Grey text for the icon */
5151
display: block;
5252
padding: 10px 16px;
5353
font-size: 17px;
@@ -59,7 +59,7 @@
5959
}
6060

6161
.topnav a.right {
62-
color: white;
62+
color: #808080; /* Grey text for "right" links */
6363
float: none;
6464
padding: 14px 16px;
6565
text-decoration: none;

0 commit comments

Comments
 (0)