Jump to content

Where to find the CSS values for printing Wikipedia article?


Recommended Posts

Assume I want to print a Wikipedia article e.g.


into a pdf file. I click on the left side on "Printable version" ....and got a *.pdf document which contains text with ugly big font-size and not appropriate line-height. The font-size and line-height is significantly different from what I see on the screen.

I want to change these CSS values (later after loading).

But where do I find the corresponding values?
I guess they must be somewhere in a "@media print" section.
But how (where in which CSS stylesheet file?) do I find these print CSS instructions?


Link to comment
Share on other sites

You should be able to find the CSS appropriate by looking for the keyword "@media print".

Looking at the Wikipedia page sources, all of the CSS pages come out of "load.php", so you'll probably want to take a look at the styles from that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...