thymeleaf/thymeleaf.github.io

Code examples in documentation are hardly readable for printed version

dmorellet opened this issue · 4 comments

The black background in the code snippets, when printed, make it hard to read, and we can't add notes or underline/highlight anything, contrarly to a previous version...

Is this for the code examples for the stuff in the Articles section (eg: http://www.thymeleaf.org/thvsjsp.html), or for the code examples in the Tutorials (eg: http://www.thymeleaf.org/doc/html/Using-Thymeleaf.html) ?

(They currently work off 2 different stylesheets, but I imagine they both share the 'dark' colour scheme for the print versions.)

Yes, the background is too dark to be printed, although it is nice for screens (I'm using darcula theme in my IDE by the way).

The website redesign for Thymeleaf 3 changed the styles, although the code colours did stay largely the same. I don't have access to a printer right now, so I should check the updated designs and their legibility when printed when I'm somewhere with a printer.

Print preview of our docs and tutorials for code samples looks much more legible:

screen shot 2017-04-21 at 11 47 57 pm

screen shot 2017-04-21 at 11 48 08 pm

Probably a few other doc things that could make it better, but those might affect the PDF version of our docs as they use the print stylesheet for their styles as well. Closing.