1
- /* Universal box-sizing for easier layout */
2
- * {
3
- box-sizing : border-box;
4
- }
5
-
6
1
body {
7
2
background-color : white;
8
3
font-family : "Plus Jakarta Sans" , "Noto Sans" , sans-serif;
37
32
align-items : center;
38
33
gap : 1rem ; /* Adjusted gap for mobile */
39
34
}
35
+ .abc {
36
+ color : black;
37
+ }
40
38
.nav-links {
41
39
display : none; /* Hide nav links by default on mobile */
42
40
}
@@ -56,11 +54,6 @@ body {
56
54
.nav-links {
57
55
display : flex; /* Show nav links on larger screens */
58
56
}
59
- .nav-links a {
60
- font-size : 0.875rem ; /* Ensure original font size for desktop */
61
- font-weight : 500 ;
62
- padding : 0 0.5rem ; /* Add slight padding for better spacing on desktop nav */
63
- }
64
57
.help-btn {
65
58
display : block; /* Show help button on larger screens */
66
59
}
@@ -147,45 +140,33 @@ body {
147
140
cursor : pointer;
148
141
}
149
142
.dropdown {
150
- padding : 12 px ; /* Increased padding for better touch target */
143
+ padding : 8 px ;
151
144
width : 100% ;
152
145
margin-top : 4px ;
153
146
}
154
-
155
- /* Mobile specific styles for search section */
156
- @media (max-width : 767px ) {
157
- .search {
158
- flex-direction : column; /* Stack elements vertically on mobile */
159
- align-items : stretch; /* Stretch items to full width */
160
- padding : 0 1rem ; /* Add horizontal padding to prevent overflow */
161
- }
162
- .search .field {
163
- flex : 1 1 auto; /* Allow fields to grow and shrink, remove min-width restriction */
164
- width : 100% ; /* Ensure full width */
165
- min-width : auto; /* Remove explicit min-width for mobile */
166
- }
167
- # search {
168
- display : block; /* Make search button full-width */
169
- width : 100% ; /* Ensure full width */
170
- padding : 12px ; /* Increased padding for better touch target */
171
- margin-top : 1rem ; /* Add more space above button */
172
- height : auto; /* Allow height to adjust with padding */
173
- }
174
- .dropdown {
175
- background-color : white; /* Ensure white background on mobile */
176
- max-height : 40vh ; /* Limit visible height on mobile */
177
- overflow-y : auto; /* Enable scrolling for long lists */
178
- -webkit-overflow-scrolling : touch; /* Smooth scrolling on iOS */
179
- padding : 12px ; /* Ensure consistent padding */
180
- }
181
- .view-route-btn {
182
- display : block; /* Make view route button full-width */
183
- width : 100% ;
184
- padding : 12px ; /* Increased padding for better touch target */
185
- text-align : center;
186
- }
147
+ .nav-links {
148
+ display : flex;
149
+ gap : 2.25rem ;
187
150
}
188
-
151
+ .nav-links a {
152
+ font-size : 0.875rem ;
153
+ font-weight : 500 ;
154
+ }
155
+ .help-btn {
156
+ padding : 0.5rem 1rem ;
157
+ border-radius : 0.5rem ;
158
+ background-color : # f3f4f6 ;
159
+ font-weight : bold;
160
+ font-size : 0.875rem ;
161
+ }
162
+ .avatar {
163
+ background-size : cover;
164
+ background-position : center;
165
+ border-radius : 9999px ;
166
+ width : 2.5rem ;
167
+ height : 2.5rem ;
168
+ }
169
+
189
170
/* Hero Section */
190
171
.hero {
191
172
padding : 1.25rem 1rem ; /* Adjusted padding for mobile */
@@ -280,8 +261,6 @@ body {
280
261
}
281
262
.footer-links a {
282
263
color : # 6b7280 ;
283
- padding : 8px 12px ; /* Add padding for better touch target */
284
- border-radius : 4px ;
285
264
}
286
265
.footer p {
287
266
color : # 6b7280 ;
@@ -366,7 +345,4 @@ body {
366
345
flex : 1 ; /* Original flex for larger screens */
367
346
}
368
347
}
369
- .abc {
370
- color : black;
371
- }
372
348
0 commit comments