Spaces:
Running
Running
Update src/app.css
Browse files- src/app.css +24 -0
src/app.css
CHANGED
|
@@ -75,3 +75,27 @@ html, body {
|
|
| 75 |
@media (max-width: 640px) { /* mobile: shrink */
|
| 76 |
.figure img.resp { height: 96px; }
|
| 77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
@media (max-width: 640px) { /* mobile: shrink */
|
| 76 |
.figure img.resp { height: 96px; }
|
| 77 |
}
|
| 78 |
+
|
| 79 |
+
/* Food switcher buttons */
|
| 80 |
+
.switcher {
|
| 81 |
+
display: flex;
|
| 82 |
+
gap: 10px;
|
| 83 |
+
margin: 16px 0 12px;
|
| 84 |
+
}
|
| 85 |
+
.switcher button {
|
| 86 |
+
border: 1px solid #ccd1ff;
|
| 87 |
+
padding: 8px 14px;
|
| 88 |
+
border-radius: 999px;
|
| 89 |
+
background: var(--brand-white);
|
| 90 |
+
color: var(--brand-bg);
|
| 91 |
+
font-weight: 700;
|
| 92 |
+
cursor: pointer;
|
| 93 |
+
transition: background .15s ease, box-shadow .15s ease, transform .02s ease;
|
| 94 |
+
}
|
| 95 |
+
.switcher button:hover { box-shadow: 0 0 0 2px rgba(185,192,255,.7) inset; }
|
| 96 |
+
.switcher button:active { transform: translateY(1px); }
|
| 97 |
+
.switcher button.selected,
|
| 98 |
+
.switcher button[aria-selected="true"] {
|
| 99 |
+
background: #e6e9ff;
|
| 100 |
+
box-shadow: 0 0 0 2px #b9c0ff inset;
|
| 101 |
+
}
|