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 57
57
.topnav {
58
58
flex-direction : column; /* Stacks items vertically */
59
59
align-items : flex-start; /* Aligns items to the left */
60
- padding : 5px 8px ; /* Reduces padding for a thinner bar */
60
+ padding : 4px 6px ; /* Further reduced padding for a thinner bar */
61
+ height : auto; /* Adjusts height automatically */
61
62
}
62
63
63
64
.topnav # myLinks {
69
70
70
71
.topnav a .icon {
71
72
display : block; /* Shows the hamburger icon on mobile */
72
- font-size : 15 px ; /* Slightly smaller font size */
73
+ font-size : 14 px ; /* Slightly smaller font size */
73
74
color : # 808080 ;
74
- padding : 5 px 8 px ; /* Further reduces padding for a thinner icon */
75
+ padding : 4 px 6 px ; /* Minimal padding for a thinner icon */
75
76
cursor : pointer;
76
77
margin-left : auto; /* Pushes the icon to the right */
77
- margin-right : 8 px ; /* Adds space from the right edge */
78
+ margin-right : 6 px ; /* Adds space from the right edge */
78
79
order : 1 ; /* Ensures the icon appears last in the flex container */
79
80
}
80
81
81
82
.topnav a .normal {
82
83
display : block;
83
84
width : 100% ;
84
85
text-align : left; /* Aligns links to the left */
85
- padding : 6 px 8 px ; /* Further reduces padding for slimmer links */
86
+ padding : 5 px 6 px ; /* Further reduced padding for slimmer links */
86
87
background-color : # ffffff ; /* White background for links */
87
88
color : # 808080 ; /* Grey text color for links */
88
89
}
You can’t perform that action at this time.
0 commit comments