File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 57
57
.topnav {
58
58
flex-direction : column; /* Stacks items vertically */
59
59
align-items : flex-start; /* Aligns items to the left */
60
+ background-color : # ffffff ; /* Sets white background for the bar */
60
61
}
61
62
62
63
.topnav # myLinks {
63
64
display : none; /* Hidden by default on mobile */
64
65
flex-direction : column; /* Stacks links vertically */
65
66
width : 100% ; /* Full width for mobile */
66
- background-color : # ffffff ; /* White background for dropdown */
67
+ background-color : # f0f0f0 ; /* Light grey background for the dropdown */
67
68
}
68
69
69
70
.topnav a .icon {
70
71
display : block; /* Shows the hamburger icon on mobile */
71
72
position : absolute;
72
73
right : 10px ;
73
74
top : 10px ;
75
+ color : # 808080 ; /* Grey color for the icon */
74
76
}
75
77
76
78
.topnav a .normal {
77
79
display : block;
78
80
width : 100% ;
79
81
text-align : left; /* Aligns links to the left */
80
82
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 */
81
90
}
82
91
}
You can’t perform that action at this time.
0 commit comments