There are a few tips over here: How to style the PDF with @media print?
As far as I understand, if you’ve found the selectors, you only need to target them inside the media print environment (in case you don’t know how to do that, this is a good place to start: Getting comfortable with Obsidian CSS).