MediaWiki - Change Common.css without affecting Print.css -
is there way change mediawikis css skins without affecting printable-version-layout?
to make more clear: mediawiki has own stylesheet it's "printable version"-page (print.css). don't want have changes stylesheet made in common.css appear on printable-version-page too.
so, if change font-size "normal" wiki-pages, still want have original font-size on printable-version-pages.
use following in css:
@media print { .element-with-your-class { style } }
the "@media print" ensures styles set within applied when page printed. see this link more information on media queries.
Comments
Post a Comment