/* Print stylesheet.
   Selectors target PaperMod's actual markup (header.header > nav.header-nav >
   div.logo + ul#menu, main.main, article.post-single, footer.footer). The
   pre-migration version still targeted the old Jekyll/Bootstrap ids (#header,
   #footer, #disqus_thread, div#content, #logo), none of which exist any more,
   so printing a page emitted the whole site chrome. */

body,
.main,
.post-single,
.post-content,
.highlight,
.chroma,
pre,
code {
    background-color: white !important;
    background-image: none !important;
}

body {
    padding-left: 20px;
}

/* Navigation chrome: nothing that is only useful on screen should print. */
.header #menu,
.header .logo-switches,
.footer,
.breadcrumbs,
.post-meta,
.post-tags,
.share-buttons,
.paginav,
.entry-hint,
.anchor,
#top-link,
#theme-toggle,
.giscus,
iframe.giscus-frame,
#searchbox,
#searchResults {
    display: none !important;
}

/* Keep the site name at the top of the printed page (the old stylesheet kept
   #logo for the same reason). */
.header,
.header-nav,
.logo {
    display: block !important;
    border: none !important;
}

html, a, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp,
sub, sup, tt, var, dd, dl, dt, li, ol, ul, form, fieldset, input, textarea, label,
table, legend, caption, tbody, tfoot, thead, tr, th, td, .highlight, .chroma {
    color: black;
    text-align: left;
}

blockquote {
    font-style: italic;
    border-left-width: 0px;
}

.main,
.post-single {
    margin: 0 auto 1em;
    max-width: 100%;
    padding: 1em;
}

a {
    font-size: inherit;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: black;
}

.post-content ul li,
.post-content ol li {
    list-style-type: disc;
    background-image: none;
}

article {
    display: block;
}

img {
    max-width: 100% !important;
    page-break-inside: avoid;
}
