Skip to content

Docs styles tweaks #1264

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

Merged
merged 7 commits into from
Jan 24, 2019
Merged

Docs styles tweaks #1264

merged 7 commits into from
Jan 24, 2019

Conversation

calvellido
Copy link
Member

This PR brings together some different improvements in the website look and feel, especially on mobile viewports:

  • Increment vertical rhythm on the code snippets typography to improve readability (as suggested by @pakoito here Specify z-index for code snippets to avoid them clashing with sidebar #1051 (comment)).

  • Increase sidebar z-index to avoid clashes wit document elements (e.g video buttons)

  • Refactor the sidebar behaviour to improve readility on mobile viewports, by streamlining the code and defining better the different cases.

  • Show icons in the nav menu when on mobile viewports, as after the inclusion of a fourth item, nav menu items were a bit misplaced.

  • Removes Hammer logic, as touch gestures are no longer necessary.

  • Update sidebar menu entries location in the docs docs for the new one.

Previews:

screenshot_2019-01-24 arrow

screenshot_2019-01-24 arrow 1

screenshot_2019-01-24 arrow 2

This closes #1052

@calvellido calvellido merged commit 604ed53 into master Jan 24, 2019
@calvellido calvellido deleted the jv-1052-style-tweaks branch January 24, 2019 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs styles tweaks
2 participants