diff --git a/_sass/_print.scss b/_sass/_print.scss index 5d25f2ea..828d02e1 100644 --- a/_sass/_print.scss +++ b/_sass/_print.scss @@ -1,11 +1,31 @@ // Print overrides .usds-site { + text-align: left !important; + h2, h3, h4 { font-weight: 700; //color: #205493; } + h1, h2, h3, h4, h5 { + font-weight: bold; + page-break-after: avoid; + page-break-inside:avoid; + } + + h1+p, h2+p, h3+p { + page-break-before: avoid; + } + + table, figure { + page-break-inside: avoid; + } + + .usa-grid { + padding: 0; + } + header#fixed-header { position: relative; @@ -33,10 +53,46 @@ display: none; } -} // + // Staff + .slick-track { + transform: none; + width: auto !important; + } -.usa-grid { - .usds-sidebar { - display: none; + .staffer { + padding: 0 !important; + width: 100% !important; + + img { + width: 50px; + height: 50px; + margin-top: 1.5em + } + + h3 { + margin-top: .5em; + } + } + + // Print Links + p a::after, + .story a::after { + content:" (" attr(href) ") "; + font-size:0.8em; + font-weight:normal; } -} + + // Hide Items + .usa-grid .usds-sidebar, + iframe[src~="youtube"], + iframe[allowfullscreen], + .slick-dots, + .jumbotron-text img { + display: none !important; + } + + .infographic-container { + text-align: left; + } + +} //