Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,16 +203,10 @@ def catalog():
|
|
| 203 |
background-color: #2980b9;
|
| 204 |
}
|
| 205 |
|
| 206 |
-
@media (max-width: 1024px) {
|
| 207 |
-
.products-grid {
|
| 208 |
-
grid-template-columns: repeat(2, 1fr);
|
| 209 |
-
}
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
@media (max-width: 768px) {
|
| 213 |
.products-grid {
|
| 214 |
-
grid-template-columns: repeat(
|
| 215 |
-
gap:
|
| 216 |
}
|
| 217 |
|
| 218 |
body {
|
|
@@ -220,16 +214,33 @@ def catalog():
|
|
| 220 |
}
|
| 221 |
|
| 222 |
h1 {
|
| 223 |
-
font-size:
|
| 224 |
margin-bottom: 20px;
|
| 225 |
}
|
| 226 |
|
| 227 |
.product {
|
| 228 |
-
padding:
|
| 229 |
}
|
| 230 |
|
| 231 |
.product-image {
|
| 232 |
-
height:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
}
|
| 234 |
}
|
| 235 |
|
|
|
|
| 203 |
background-color: #2980b9;
|
| 204 |
}
|
| 205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
@media (max-width: 768px) {
|
| 207 |
.products-grid {
|
| 208 |
+
grid-template-columns: repeat(3, 1fr);
|
| 209 |
+
gap: 10px;
|
| 210 |
}
|
| 211 |
|
| 212 |
body {
|
|
|
|
| 214 |
}
|
| 215 |
|
| 216 |
h1 {
|
| 217 |
+
font-size: 1.8em;
|
| 218 |
margin-bottom: 20px;
|
| 219 |
}
|
| 220 |
|
| 221 |
.product {
|
| 222 |
+
padding: 10px;
|
| 223 |
}
|
| 224 |
|
| 225 |
.product-image {
|
| 226 |
+
height: 120px;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.product h2 {
|
| 230 |
+
font-size: 1em;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.product-price {
|
| 234 |
+
font-size: 1.1em;
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
.product-description {
|
| 238 |
+
font-size: 0.8em;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
.product-button {
|
| 242 |
+
padding: 8px 15px;
|
| 243 |
+
font-size: 0.9em;
|
| 244 |
}
|
| 245 |
}
|
| 246 |
|