jsonresume / jsonresume-theme-class

A modern theme for JSON Resume which is self-contained. The content of the resume will work offline and can be hosted without depending on or making requests to third-party servers.
MIT License
15 stars 8 forks source link

Fix background color on PDF export #22

Open SethFalco opened 2 years ago

SethFalco commented 2 years ago

The website has a background color on it which is a very light gray. The PDF version has this color on the background, but then goes #FFFFFF at the bottom where the resume finishes.

Bring consistency here, either by finding a way to fill the page with the color used on the website, disabling the background color on the PDF export, or removing the background color entirely if required.

In theory this should be possible by using the print media query and unsetting those styles when printing, but I need to explore this.

SethFalco commented 1 year ago

The main issue has been resolved for now in:

However, I will keep this ticket open as I'd like to investigate getting print media queries to work properly, so that we have a different background color between HTML and PDF exports.