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

Hacker theme does not print well #148

Open
bovlb opened this issue Jul 2, 2023 · 0 comments
Open

Hacker theme does not print well #148

bovlb opened this issue Jul 2, 2023 · 0 comments

Comments

@bovlb
Copy link

bovlb commented Jul 2, 2023

I use hacker for my website, but I found it doesn't print well. This is important to me, as my website is intended to double as handouts. Here are a few suggested changes for style.css.

text-shadow properties seem to make my printing (from Google Chrome) take a long time to preview, and make my printer fail the job. Wrapping some of these in @media screen { ... } I resolved the problem.

For me, the screen text is perfect, but the printed text comes out a little too large. This is pretty clumsy, but I'm happy with

@media print
{
    * { font-size: 90%; }
}

The dark mode works great on screen, but for print the text comes out a little light without the background.

I found that code samples were being truncated (at less than 80 columns) which makes them a bit useless, so I added:

pre {
    white-space: pre-wrap;
    break-inside: avoid;
    border: thin solid #666666;
}
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

No branches or pull requests

1 participant