Beverage Scoring System Table CSS Update
This commit is contained in:
@@ -53,26 +53,28 @@ export default function PointsGuidePage() {
|
|||||||
Learn how many points you receive for each drink!
|
Learn how many points you receive for each drink!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
Game Points System:
|
Game Points System:
|
||||||
<ul className="list-disc pl-5 mt-1 space-y-1">
|
<ul className="list-disc pl-5 mt-1 space-y-1">
|
||||||
<li> +15 points for drinking ≥100 oz of water </li>
|
<li> +15 points for drinking ≥100 oz of water </li>
|
||||||
<li> +10 points for keeping caffeine < 200 mg </li>
|
<li> +10 points for keeping caffeine < 200 mg </li>
|
||||||
<li> +15 points for staying under the sugar cap all day </li>
|
<li> +15 points for staying under the sugar cap all day </li>
|
||||||
<li> Exceeding 400mg caffeine limit or 30.5g sugar limit = 0 pts logged for those drinks </li>
|
<li>
|
||||||
|
{" "}
|
||||||
|
Exceeding 400mg caffeine limit or 30.5g sugar limit = 0 pts logged
|
||||||
|
for those drinks{" "}
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div className="bg-[color:var(--color-surface-600)] rounded-xl px-6 py-5 my-6 shadow-sm">
|
<div className="bg-surface-700 rounded-xl px-4 py-4 my-6 shadow-sm">
|
||||||
|
<div className="overflow-x-auto rounded-xl">
|
||||||
<div className="overflow-x-auto rounded-xl shadow border border-[color:var(--color-primary-800)]">
|
|
||||||
<table className="min-w-full text-sm text-left text-[color:var(--color-warning-200)]">
|
<table className="min-w-full text-sm text-left text-[color:var(--color-warning-200)]">
|
||||||
<caption className="caption-top p-4 text-lg font-semibold text-[color:var(--color-warning-200)]">
|
<caption className="caption-top p-4 text-lg font-semibold text-[color:var(--color-warning-200)]">
|
||||||
Beverage Scoring System
|
Beverage Scoring System
|
||||||
</caption>
|
</caption>
|
||||||
|
|
||||||
<thead className="bg-[color:var(--color-primary-100)] text-[color:var(--color-success-950)]">
|
<thead className="bg-[color:var(--color-surface-200)] text-[color:var(--color-success-950)] text-center">
|
||||||
<tr>
|
<tr>
|
||||||
<th className="px-4 py-2">Drink</th>
|
<th className="px-4 py-2">Drink</th>
|
||||||
<th className="px-4 py-2">Volume (oz)</th>
|
<th className="px-4 py-2">Volume (oz)</th>
|
||||||
@@ -82,23 +84,23 @@ export default function PointsGuidePage() {
|
|||||||
<th className="px-4 py-2">Bonus</th>
|
<th className="px-4 py-2">Bonus</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody className="[&>tr:hover]:bg-[color:var(--color-surface-700)]">
|
<tbody className="[&>tr:hover]:bg-[color:var(--color-surface-800)] text-center">
|
||||||
{tableData.map((row, i) => (
|
{tableData.map((row, i) => (
|
||||||
<tr key={i} className="border-t border-[color:var(--color-primary-200)]">
|
<tr
|
||||||
<td className="px-4 py-2 font-medium">{row.drink}</td>
|
key={i}
|
||||||
<td className="px-4 py-2">{row.volume}</td>
|
className="border-t border-[color:var(--color-surface-950)]"
|
||||||
<td className="px-4 py-2">{row.caffeine}</td>
|
>
|
||||||
<td className="px-4 py-2">{row.sugar}</td>
|
<td className="px-2 py-2 font-medium">{row.drink}</td>
|
||||||
<td className="px-4 py-2 font-bold">{row.points}</td>
|
<td className="px-2 py-2">{row.volume}</td>
|
||||||
<td className="px-4 py-2 italic">{row.bonus}</td>
|
<td className="px-2 py-2">{row.caffeine}</td>
|
||||||
|
<td className="px-2 py-2">{row.sugar}</td>
|
||||||
|
<td className="px-2 py-2 font-bold">{row.points}</td>
|
||||||
|
<td className="px-2 py-2 italic">{row.bonus}</td>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="h-6" />
|
<div className="h-6" />
|
||||||
|
|||||||
Reference in New Issue
Block a user