@page { margin: 1cm; } :root { --font-size-base: 12pt; } // Hide unnessecary elements for printing .noprint, .citizen-header, .citizen-sitenotice-container, .page-actions, #citizen-page-header-sticky-sentinel, #citizen-page-header-sticky-placeholder, .citizen-page-footer, .citizen-page-sidebar, #footer-desc, #footer-places, .citizen-overflow-nav { display: none; } a { color: #000; border-bottom: 1px solid #aaa; } table, img, svg { break-inside: avoid; } /* HACK: Move footer to the top */ .citizen-page-container { display: flex; flex-direction: column; } .citizen-footer { order: -1; padding-top: var( --space-md ); padding-bottom: var( --space-md ); margin-bottom: var( --space-md ); border-bottom: 1px solid #aaa; } .citizen-footer__container { display: flex; align-items: center; justify-content: space-between; } #footer-tagline { font-size: 9pt; } #firstHeading { margin: 0; } .printfooter { margin-top: 1em; font-size: 9pt; border-top: 1px solid #aaa; }