Commit 1e79978
Site: center the Get-Started difficulty cards as a group
The 4 difficulty cards used `repeat(auto-fit, minmax(220px, 1fr))`,
which let each card stretch to fill 1/4 of the section's max-width
on wide viewports. With h2 and section-lead above sitting at their
natural text width, the stretched cards read as left-aligned —
they touch the section's left content edge while the heading text
above starts further in.
Capped each card at 260 px (`minmax(220px, 260px)`) and added
`justify-content: center` so the row of cards centers itself
within the grid. Mobile is unchanged: only one card fits per row,
auto-fit collapses the unused tracks, the single column sits
centered automatically.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d48d21f commit 1e79978
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
593 | 596 | | |
594 | 597 | | |
| 598 | + | |
595 | 599 | | |
596 | 600 | | |
597 | 601 | | |
| |||
0 commit comments