Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +13 -12
templates/menu.html
CHANGED
@@ -280,26 +280,28 @@ h3 {
|
|
280 |
}
|
281 |
|
282 |
</style> -->
|
283 |
-
|
284 |
-
/* Menu item images and card styling */
|
285 |
.menu-card {
|
286 |
max-width: 100%;
|
287 |
-
border-radius: 10px; /*
|
288 |
overflow: hidden;
|
289 |
background-color: #fff;
|
290 |
margin: auto;
|
291 |
-
padding: 10px; /*
|
|
|
|
|
|
|
292 |
}
|
293 |
|
294 |
.menu-image {
|
295 |
-
height:
|
296 |
-
width: 100%;
|
297 |
-
object-fit:
|
298 |
-
border-radius: 10px 10px 0 0; /* Slightly smaller radius */
|
299 |
}
|
300 |
|
301 |
.card-body {
|
302 |
-
padding: 10px; /*
|
303 |
}
|
304 |
|
305 |
/* Responsive grid for 3 columns */
|
@@ -319,8 +321,7 @@ h3 {
|
|
319 |
font-size: 1.1rem; /* Slightly smaller font size */
|
320 |
font-weight: bold;
|
321 |
}
|
322 |
-
|
323 |
-
</style>
|
324 |
</head>
|
325 |
|
326 |
<div class="container mt-4">
|
@@ -360,7 +361,7 @@ h3 {
|
|
360 |
{% else %}
|
361 |
<!-- Menu Items in 3 Columns -->
|
362 |
<div class="container mt-4">
|
363 |
-
<h1 class="text-center">Menu</h1>
|
364 |
<div class="row">
|
365 |
{% for section, items in ordered_menu.items() %}
|
366 |
<h3 class="col-12">{{ section }}</h3>
|
|
|
280 |
}
|
281 |
|
282 |
</style> -->
|
283 |
+
<style>/* Menu item images and card styling */
|
|
|
284 |
.menu-card {
|
285 |
max-width: 100%;
|
286 |
+
border-radius: 10px; /* Border radius for rounded corners */
|
287 |
overflow: hidden;
|
288 |
background-color: #fff;
|
289 |
margin: auto;
|
290 |
+
padding: 10px; /* Padding around the card */
|
291 |
+
display: flex;
|
292 |
+
flex-direction: column;
|
293 |
+
justify-content: space-between;
|
294 |
}
|
295 |
|
296 |
.menu-image {
|
297 |
+
height: 200px; /* Increased the height of the image */
|
298 |
+
width: 100%; /* Ensures the image takes up the full width */
|
299 |
+
object-fit: cover; /* Changed from 'contain' to 'cover' for full coverage */
|
300 |
+
border-radius: 10px 10px 0 0; /* Slightly smaller radius for the top corners */
|
301 |
}
|
302 |
|
303 |
.card-body {
|
304 |
+
padding: 10px; /* Padding for the content area inside the card */
|
305 |
}
|
306 |
|
307 |
/* Responsive grid for 3 columns */
|
|
|
321 |
font-size: 1.1rem; /* Slightly smaller font size */
|
322 |
font-weight: bold;
|
323 |
}
|
324 |
+
</style>
|
|
|
325 |
</head>
|
326 |
|
327 |
<div class="container mt-4">
|
|
|
361 |
{% else %}
|
362 |
<!-- Menu Items in 3 Columns -->
|
363 |
<div class="container mt-4">
|
364 |
+
<!-- <h1 class="text-center">Menu</h1> -->
|
365 |
<div class="row">
|
366 |
{% for section, items in ordered_menu.items() %}
|
367 |
<h3 class="col-12">{{ section }}</h3>
|