MediaWiki:Print.css: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


@media all {
@media all {
.page-break { display: none; }
  .page-break { display: none; }
}
}


@media print {
@media print {
.page-break { display: block; page-break-before: always; }
  .page-break { display: block; page-break-before: always; }
}
}
/* 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; }
    }

Revision as of 16:46, 6 December 2013

/* CSS placed here will affect the print output */
body { margin:2cm; font-family:Helvetica; font-size: 12pt !important; }

@media all {
  .page-break	{ display: none; }
}

@media print {
  .page-break	{ display: block; page-break-before: always; }
}

/* 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; }
    }