Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation styling for mobile devices #729

Merged
merged 1 commit into from
Jan 30, 2018
Merged

Conversation

tiehuis
Copy link
Member

@tiehuis tiehuis commented Jan 30, 2018

  • No overscrolling on small screens
  • Font-size on small screens is reduced for more content per screen
  • Tables + Code blocks scroll within a block to avoid page-widenening

I've also added some titles and adjusted the widths slightly.

See ziglang/www.ziglang.org#9.

2018-01-30-173635_488x641_scrot

2018-01-30-173606_1184x904_scrot

 - No overscrolling on small screens
 - Font-size is reduced for more content per screen
 - Tables + Code blocks scroll within a block to avoid page-widenening
@andrewrk andrewrk merged commit d6b7d90 into master Jan 30, 2018
@andrewrk
Copy link
Member

Looks good! Will push to www tomorrow

@jfo
Copy link
Sponsor Contributor

jfo commented Jan 30, 2018

This looks awesome :)

@tiehuis tiehuis deleted the www-changes branch March 8, 2018 08:45
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.

3 participants