Skip to content

Improve typography for print media #738

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 1 commit into from
Feb 28, 2018
Merged

Conversation

vuejs-jp-bot
Copy link
Collaborator

This PR resolves #736
Cherry picked from vuejs/v2.vuejs.org@44c8fcb

* Update styles to enable printing docs (vuejs#1425)

The sidebar, header, footer and Advertisement elements are now hidden
when users print docs from the website.

* Improve typography for print media (vuejs#1439)

- _common.styl
 - Grey(ish) text replaced with black
 - page-breaks now avoided in code snippets
 - shaded BG colors replaced with border-boxes
- _demo.styl
 - Demonstration box padding, margins tightened up
 - page-breaks avoided
- _page.styl
 - remove padding from left of page
 - reduce line-height - dense reading is more comfortable from the page
 - shaded BG colors in 'tip' boxes replaced with border-box

* Improve typography for print media (vuejs#1439)

- _common.styl
 - Grey(ish) text replaced with black
 - page-breaks now avoided in code snippets
 - shaded BG colors replaced with border-boxes
- _demo.styl
 - Demonstration box padding, margins tightened up
 - page-breaks avoided
- _page.styl
 - remove padding from left of page
 - reduce line-height - dense reading is more comfortable from the page
 - shaded BG colors in 'tip' boxes replaced with border-box

* Add links to printed typography
@re-fort re-fort merged commit 916e07d into vuejs:lang-ja Feb 28, 2018
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.

[Doc]: Improve typography for print media
3 participants