MediaWiki:Print.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will affect the print output */
/* CSS placed here will affect the print output */


    @page {
        size: A4 portrait;
        margin: 0;
    }


/* Infobox template style */
/* Infobox template style */
Line 78: Line 74:
     font-family: sans-serif;
     font-family: sans-serif;
     }
     }
body {
    background-size: 21cm 29.7cm;
}


figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child, figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child {
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child, figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child, figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child {