/** 
 * Project     : MkDocs Book Binder
 * File        : doc/docs/assets/styles/pdf-utils.css
 * Type        : Stylesheet - CSS
 * Description : This file is used to customise colors in the PDF
 * Author      : BRT - Briard Thibaud, <thibaud.brrd@eduge.ch>
**/

.pdf-page-break {
    display: none;
}

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

@media print {
    img {
        max-height: 8.5in;
        width: auto;
    }
}

@media print {
    em {
        font-family: 'Arial', sans-serif;   /* The default font of mkdocs-with-pdf does not allow italic */
        font-style: italic !important;      /* ensure italic */
    }
}

/* Hide images for dark mode */
.md-typeset img[src$="#only-dark"],
.md-typeset figure img[src$="#only-dark"] {
    display: none;
}
