Skip to content

Commit d0e7471

Browse files
index2.html: apply bigger touch targets and fluid spacing to footer links
Mirror the header nav change in the footer: give each footer link inline-flex padding for a larger tap target and swap the fixed column gap for a clamp() that widens with the viewport. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7d0a137 commit d0e7471

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

index2.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,20 @@
662662
display: flex;
663663
flex-wrap: wrap;
664664
justify-content: center;
665-
gap: 0.5rem 1.6rem;
665+
/* column gap grows with viewport width, like the header nav */
666+
gap: 0.5rem clamp(0.6rem, 1.5vw, 1.8rem);
666667
margin-bottom: 1.6rem;
667668
font-size: 0.85rem;
668669
font-weight: bold;
669670
}
670671

672+
footer .links a {
673+
display: inline-flex;
674+
align-items: center;
675+
/* generous padding for a larger, easier touch target */
676+
padding: 0.5rem 0.55rem;
677+
}
678+
671679
footer .legal { color: var(--text-dim); font-size: 0.72rem; line-height: 1.7; }
672680

673681
/* ---------- reduced motion / no JS ---------- */

0 commit comments

Comments
 (0)