/*****************************************************************
 www.charlesperry.info
 
 print.css

 printing css used by all pages in this site

 by charles perry

 last updated july 2020
*****************************************************************/

/* Printing fix for the Chrome browser */
body
{
    -webkit-print-color-adjust: exact;
}


/* Make buttons invisible */
.nav-button-div,
.gap-above-nav-buttons,
.gap-below-nav-buttons
{
    display: none;
}


/* Make these <div>s invisible when printing */
.non-printing-div
{
    display: none;
}


/* Center tables */
table
{
    margin-left: auto;
    margin-right: auto;
}


/* Center the page header */
.page-header
{
    /* Center the text */
    text-align: center;

    /* Add space under the heading */
    padding-bottom: 8mm;
}


/* Center images */
img
{
    /* Make the image a block element */
    display: block;
    
    /* Center the image */
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}


/* Center figure captions */
figcaption
{
    margin-left: 20mm;
    width: 500px;
}


/* A special printing fix for the yearly calendars */
.yearly-calendar-holiday-table
{
    margin-left: 0;
    width: 95%;
}


/* Make <footer> tags throw a page break */
footer 
{
    page-break-after: always;
}

/* End of file */
