After you edit that, you have to do a "hard" reload (Ctrl-F5 in Firefox) on a given wiki page before printing to make sure it's using the latest copy of your monobook.css.
How is that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alternatively, I think one can make these rules apply for all users by putting them in MediaWiki:Print.css, without the surrounding "@media print { }".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is some, from http://en.wikipedia.org/wiki/Help:Printable. I've tested it and it does make the pdf look better. Paste this CSS code into http://your.wiki/index.php/User:Yourself/monobook.css:
/ Printing customizations from http://en.wikipedia.org/wiki/Help:Printable /
/ shrink the fonts /
@media print {
#footer,
#content,
body { font-size: 8pt !important; }
h1 { font-size: 17pt }
h2 { font-size: 14pt }
h3 { font-size: 11pt }
h4 { font-size: 9pt }
h5 { font-size: 8pt }
h6 {
font-size: 8pt;
font-weight: normal;
}
}
/ Remove non-essential elements /
@media print {
.firstHeading { margin-top: 0; padding-top: 0; }
#siteSub { display: none; }
.printfooter { display: none; }
#catlinks, .catlinks { display: none; }
#footer { display: none; }
}
After you edit that, you have to do a "hard" reload (Ctrl-F5 in Firefox) on a given wiki page before printing to make sure it's using the latest copy of your monobook.css.
How is that?
Alternatively, I think one can make these rules apply for all users by putting them in MediaWiki:Print.css, without the surrounding "@media print { }".
Ticket moved from /p/workingwiki/feature-requests/24/