gitlabhq/gitlabhq — pull request #6612 by GeorgeDewar (2014-03-25 03:26:01+00:00)
Title: Print Styles

This change would add print styles to GitLab, so that:

* The existing styles, such as fonts, would print (currently not the case)
* The header would NOT display
* Elements seen when viewing a file, other than the file itself, would not display

This has been specifically targeted at the case of printing a file from a repository (e.g. README.md). It would probably warrant review to think about how such styles should affect other parts of the application, so (like with my other PRs) it may be more of a conversation starter than a merge-now type thing.

*See before and afters (printed to PDF):*

Before:
![gitlab_no_print_styles](https://f.cloud.github.com/assets/5344417/2508049/dede639c-b3cc-11e3-8af0-4687533a225c.png)

After:
![gitlab_print_styles](https://f.cloud.github.com/assets/5344417/2508050/e3230fe8-b3cc-11e3-9eb8-ffca32a7810a.png)