
mediawiki at thegadgetdoctor
May 2, 2008, 11:56 AM
Post #3 of 3
(195 views)
Permalink
|
|
Re: Alter or override the commonPrint.css file via the Wiki interface?
[In reply to]
|
|
Thank you! I didn't know enough CSS. For anyone else finding this in the archives, the slightly longer version of the answer is to include the section that you want to put in the Print.css file in the Mediawiki:common.css file enclosed in the @media tag: @media print { p.test {font-family:times,serif; font-size:10px} } I just didn't know this, but thanks for guiding me. Gadget Doctor. On Thu, May 1, 2008 at 6:23 PM, Platonides <Platonides[at]gmail.com> wrote: > > > > The Gadget Doctor wrote: > > I would like to customize the way some of my pages print (in line with > > the CSS I've added when they are viewed on screen. > > > > I know that I could just edit the commonPrint.css file but I'm trying > > very hard to avoid touching any of the Mediawiki default files as I > > would rather not have to mess around during upgrades. > > > > Is there a way to make these changes outside of editing that file on the server? > > > > Gadget Doctor > > You can edit Mediawiki:Common.css using @media rules. Having a > MediaWiki:Printable.css is bug 13831 > > > _______________________________________________ > MediaWiki-l mailing list > MediaWiki-l[at]lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list MediaWiki-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|