MediaWiki:Print.css

From Aero Manual
Revision as of 09:43, 19 September 2016 by Admin (Talk | contribs) (Created page with "Zde uvedené CSS bude ovlivňovat tiskový výstup: Remove non-essential elements: @media print { ol.references {display: none;} .firstHeading { margin-top...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Zde uvedené CSS bude ovlivňovat tiskový výstup */

/* Remove non-essential elements */
@media print {
    ol.references {display: none;}

    .firstHeading { margin-top: 0; padding-top: 0; }
    #siteSub { display: none; }
    .printfooter { display: none; }
    #catlinks, .catlinks { display: none; }
    #footer { display: none; }

    sup, sub, p, .documentDescription { line-height: normal; }

    .mw-translate-page-info { display: none; }

    body.page-Hlavní_strana h1.firstHeading { display:none; }
    body.page-Hlavní_strana li { font-size: 18pt; }
    body.page-Hlavní_strana center { font-size: 20pt; }

    body.page-Hlavní_strana_en h1.firstHeading { display:none; }
    body.page-Hlavní_strana_en li { font-size: 18pt; }
    body.page-Hlavní_strana_en center { font-size: 20pt; }

    body.page-Hlavní_strana_de h1.firstHeading { display:none; }
    body.page-Hlavní_strana_de li { font-size: 18pt; }
    body.page-Hlavní_strana_de center { font-size: 20pt; }

    body.page-Hlavní_strana_es h1.firstHeading { display:none; }
    body.page-Hlavní_strana_es li { font-size: 18pt; }
    body.page-Hlavní_strana_es center { font-size: 20pt; }

    body { font-family: "URW Gothic L", URW, serif; }
    h2 { font-size: 16pt; page-break-before: always; }

    body.page-První_let h2 { font-size: 16pt; page-break-before: auto; }
    body.page-Problémy_a_jejich_řešení table { font-size: 11pt; }

    body.page-První_let_en h2 { font-size: 16pt; page-break-before: auto; }
    body.page-Problémy_a_jejich_řešení_en table { font-size: 11pt; }

    body.page-První_let_de h2 { font-size: 16pt; page-break-before: auto; }
    body.page-Problémy_a_jejich_řešení_de table { font-size: 9pt; }

    body.page-První_let_es h2 { font-size: 16pt; page-break-before: auto; }
    body.page-Problémy_a_jejich_řešení_es table { font-size: 11pt; }

    /*h1 { font-size: 17pt }
    h2 { font-size: 14pt }
    h3 { font-size: 11pt }
    h4 { font-size: 9pt }
    h5 { font-size: 8pt }
    h6 {
        font-size: 8pt;
        font-weight: normal;
    }*/
}