File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 54
54
55
55
/* Responsive design adjustments for mobile */
56
56
@media print, screen and (max-width : 960px ) {
57
+ .topnav {
58
+ flex-direction : column; /* Stacks items vertically */
59
+ align-items : flex-start; /* Aligns items to the left */
60
+ padding : 5px 8px ; /* Reduces padding for a thinner bar */
61
+ }
62
+
57
63
.topnav # myLinks {
58
64
display : none; /* Hidden by default on mobile */
59
65
flex-direction : column; /* Stacks links vertically */
63
69
64
70
.topnav a .icon {
65
71
display : block; /* Shows the hamburger icon on mobile */
66
- font-size : 16 px ;
72
+ font-size : 15 px ; /* Slightly smaller font size */
67
73
color : # 808080 ;
68
- padding : 6 px 10 px ; /* Adds padding on the right */
74
+ padding : 5 px 8 px ; /* Further reduces padding for a thinner icon */
69
75
cursor : pointer;
70
76
margin-left : auto; /* Pushes the icon to the right */
71
- margin-right : 10 px ; /* Adds space from the right edge */
77
+ margin-right : 8 px ; /* Adds space from the right edge */
72
78
order : 1 ; /* Ensures the icon appears last in the flex container */
73
79
}
74
80
75
81
.topnav a .normal {
76
82
display : block;
77
83
width : 100% ;
78
84
text-align : left; /* Aligns links to the left */
79
- padding : 8 px 10 px ;
85
+ padding : 6 px 8 px ; /* Further reduces padding for slimmer links */
80
86
background-color : # ffffff ; /* White background for links */
81
87
color : # 808080 ; /* Grey text color for links */
82
88
}
You can’t perform that action at this time.
0 commit comments