Jump to content
pstein

Where to find the CSS values for printing Wikipedia article?

Recommended Posts

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

https://en.wikipedia.org/wiki/Blu-ray

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?

Peter

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...