Spaces:
Build error
Build error
Update components/styles.py
Browse files- components/styles.py +23 -0
components/styles.py
CHANGED
|
@@ -66,3 +66,26 @@
|
|
| 66 |
margin-top: 12px;
|
| 67 |
color: #555;
|
| 68 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
margin-top: 12px;
|
| 67 |
color: #555;
|
| 68 |
}
|
| 69 |
+
|
| 70 |
+
/* Cards for food list */
|
| 71 |
+
#food-list {
|
| 72 |
+
display: flex;
|
| 73 |
+
flex-wrap: wrap;
|
| 74 |
+
justify-content: center;
|
| 75 |
+
gap: 20px;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.food-item-card {
|
| 79 |
+
border: 1px solid #ddd;
|
| 80 |
+
border-radius: 8px;
|
| 81 |
+
padding: 10px 20px;
|
| 82 |
+
text-align: center;
|
| 83 |
+
font-size: 16px;
|
| 84 |
+
cursor: pointer;
|
| 85 |
+
transition: all 0.3s ease;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.food-item-card:hover {
|
| 89 |
+
background-color: #f9f9f9;
|
| 90 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 91 |
+
}
|