How do I add a print stylesheet in Drupal 8? Here is what my libraries file looks like in my theme...
global-styling:
version: 8.0
css:
base:
css/style.css: {}
theme:
css/print.css: { media: print }
Does that look correct? If it is correct, should I also include print media queries in the print.css file? Or do I not need those media queries because of the "media: print" annotation in my libraries file?
Since I can't inspect the print-preview source, how do I know what classes to use in my print CSS?
(And is there anything else in Drupal 8 that influences the print styles? I am working on a site I did not build, and it has print styles, but I don't know where they are coming from. I thought maybe they were coming from the base theme, but I removed the base theme from my theme's info file and I continue to see styled output when I print-preview the page. The styled output is bad, and needs to be corrected, but I don't know where it's coming from.)