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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -