Skip to content

Mobile responsiveness: typography, touch targets, tablet & small-screen breakpoints#6

Closed
s-adamantine wants to merge 4 commits into
mainfrom
mobile-responsiveness
Closed

Mobile responsiveness: typography, touch targets, tablet & small-screen breakpoints#6
s-adamantine wants to merge 4 commits into
mainfrom
mobile-responsiveness

Conversation

@s-adamantine

Copy link
Copy Markdown
Contributor

Summary

Adds responsive CSS for mobile and tablet devices. Only globals.css is changed — no JS modifications.

What's new

  • Mobile typography scaling (< 768px) — H1 32→26px, H2 24→20px, H3 16→15px
  • Touch targets (< 768px) — sidebar links and hamburger button now meet 44px WCAG minimum
  • Tablet breakpoint (769–1024px) — sidebar narrows to 220px, content padding reduced, H1 scaled to 28px
  • Mobile header (< 768px) — header height 64→56px, logo scaled down, breadcrumbs scroll horizontally instead of wrapping
  • Pagination (< 768px) — prev/next cards stack vertically
  • Small mobile (< 480px) — sidebar uses 85vw width, tighter header and content padding

Breakpoints after this PR

Breakpoint What it does
> 1400px Wider sidebar (existing)
1025–1200px TOC hidden (existing)
769–1024px NEW — tablet layout
≤ 768px Enhanced — mobile layout with touch targets, typography, header, pagination
≤ 480px NEW — small mobile adjustments

Testing

Tested against: iPhone SE (375px), iPhone 14 (390px), iPad Mini (768px), standard desktop.

@vercel

vercel Bot commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hypercerts-atproto-documentation Ready Ready Preview, Comment Feb 16, 2026 10:43am
hypercerts-v0.2-documentation Ready Ready Preview, Comment Feb 16, 2026 10:43am

@s-adamantine

Copy link
Copy Markdown
Contributor Author

Work already merged to main via direct commits. See commits ac33796, 67d28e0, b2ca35e for the CSS changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant