File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
position : fixed;
6
6
z-index : 999 ;
7
7
width : 100% ;
8
- top : 3 ; /* Aligns the navigation bar to the top */
8
+ top : 0 ; /* Aligns the navigation bar to the very top */
9
9
display : flex;
10
10
align-items : center;
11
11
justify-content : space-between;
12
- padding : 0 10px ;
12
+ padding : 10px ;
13
13
box-sizing : border-box;
14
14
}
15
15
37
37
38
38
/* Hamburger icon for mobile */
39
39
.topnav a .icon {
40
- display : none; /* Hidden by default */
40
+ display : none; /* Hidden by default on desktop */
41
41
color : # 808080 ;
42
42
font-size : 24px ;
43
43
padding : 10px ;
44
+ cursor : pointer;
44
45
}
45
46
46
47
/* Image logo styling */
59
60
}
60
61
61
62
.topnav # myLinks {
62
- display : none; /* Hidden by default */
63
+ display : none; /* Hidden by default on mobile */
63
64
flex-direction : column; /* Stacks links vertically */
64
65
width : 100% ; /* Full width for mobile */
65
66
background-color : # ffffff ; /* White background for dropdown */
66
67
}
67
68
68
69
.topnav a .icon {
69
- display : block; /* Shows the hamburger icon */
70
+ display : block; /* Shows the hamburger icon on mobile */
70
71
position : absolute;
71
72
right : 10px ;
72
73
top : 10px ;
You can’t perform that action at this time.
0 commit comments