Skip to content

Commit

Permalink
update print styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcunha committed Mar 23, 2017
1 parent 5ac6341 commit c9b2ff0
Showing 1 changed file with 61 additions and 5 deletions.
66 changes: 61 additions & 5 deletions _sass/_print.scss
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -33,10 +53,46 @@
display: none;
}

} // </.usds-site>
// 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;
}

} // </.usds-site>

0 comments on commit c9b2ff0

Please sign in to comment.