Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +42 -1
templates/menu.html
CHANGED
@@ -240,7 +240,7 @@
|
|
240 |
}
|
241 |
|
242 |
</style> -->
|
243 |
-
<style>
|
244 |
/* Menu item images and card styling */
|
245 |
.menu-card {
|
246 |
max-width: 100%;
|
@@ -279,6 +279,47 @@ h3 {
|
|
279 |
font-weight: bold;
|
280 |
}
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
</style>
|
283 |
</head>
|
284 |
|
|
|
240 |
}
|
241 |
|
242 |
</style> -->
|
243 |
+
<!-- <style>
|
244 |
/* Menu item images and card styling */
|
245 |
.menu-card {
|
246 |
max-width: 100%;
|
|
|
279 |
font-weight: bold;
|
280 |
}
|
281 |
|
282 |
+
</style> -->
|
283 |
+
<style>
|
284 |
+
/* Menu item images and card styling */
|
285 |
+
.menu-card {
|
286 |
+
max-width: 100%;
|
287 |
+
border-radius: 10px; /* Reduced border radius */
|
288 |
+
overflow: hidden;
|
289 |
+
background-color: #fff;
|
290 |
+
margin: auto;
|
291 |
+
padding: 10px; /* Reduced padding */
|
292 |
+
}
|
293 |
+
|
294 |
+
.menu-image {
|
295 |
+
height: 150px; /* Decreased the height of the image */
|
296 |
+
width: 100%;
|
297 |
+
object-fit: contain; /* Ensure the image fits fully without being cut */
|
298 |
+
border-radius: 10px 10px 0 0; /* Slightly smaller radius */
|
299 |
+
}
|
300 |
+
|
301 |
+
.card-body {
|
302 |
+
padding: 10px; /* Reduced padding for card body */
|
303 |
+
}
|
304 |
+
|
305 |
+
/* Responsive grid for 3 columns */
|
306 |
+
@media (min-width: 768px) {
|
307 |
+
.menu-card {
|
308 |
+
max-width: 100%;
|
309 |
+
}
|
310 |
+
.col-md-4 {
|
311 |
+
flex: 0 0 30%; /* Reduced the width of each card */
|
312 |
+
max-width: 30%;
|
313 |
+
}
|
314 |
+
}
|
315 |
+
|
316 |
+
/* Adjusting the appearance of the category and section headers */
|
317 |
+
h3 {
|
318 |
+
margin-top: 20px;
|
319 |
+
font-size: 1.1rem; /* Slightly smaller font size */
|
320 |
+
font-weight: bold;
|
321 |
+
}
|
322 |
+
+
|
323 |
</style>
|
324 |
</head>
|
325 |
|