File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 55
55
56
56
/* Responsive design adjustments for mobile */
57
57
@media print, screen and (max-width : 960px ) {
58
- .topnav {
59
- flex-direction : column; /* Stacks items vertically */
60
- align-items : flex-start; /* Aligns items to the left */
61
- padding : 0 ; /* Removes all padding */
62
- margin : 0 ; /* Removes all margin */
63
- margin-left : 0 ;
64
- box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Adds a shadow below the bar */
65
- width : 100% ; /* Ensures full width */
66
- }
67
-
68
58
.topnav # myLinks {
69
59
display : none; /* Hidden by default on mobile */
70
60
}
73
63
float : none;
74
64
display : block; /* Shows the hamburger icon on mobile */
75
65
font-size : 14px ; /* Slightly smaller font size */
76
- background-color : # 808080 ;
77
- color : # ffffff ; /* White text for better contrast */
66
+ background-color : # ffffff ; /* White text for better contrast */
67
+ color : # 808080 ;
78
68
padding : 6px 10px ; /* Minimal padding for a thinner icon */
79
69
margin : 0 ; /* Removes all margins */
80
70
cursor : pointer;
81
71
border-radius : 0 ; /* Removes rounded edges */
82
72
align-self : flex-start; /* Aligns the icon to the left */
83
- width : 100% ; /* Ensures full width for the icon */
84
73
}
85
74
86
75
.topnav a .normal {
You can’t perform that action at this time.
0 commit comments