This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1633 from 18F/print-stylesheet
Print stylesheet
- Loading branch information
Showing
13 changed files
with
225 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@media print { | ||
@import 'print/layout'; | ||
@import 'print/home'; | ||
@import 'print/about'; | ||
@import 'print/landing'; | ||
@import 'print/how-it-works'; | ||
@import 'print/content'; | ||
@import 'print/state-page'; | ||
@import 'print/page-breaks'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.bureau img, | ||
.bureau-img { | ||
width: 100px; | ||
} | ||
|
||
.article_img-60 { | ||
max-width: 30; | ||
width: 250px; | ||
|
||
|
||
&.article_img-centered { | ||
margin: 0; | ||
} | ||
} | ||
|
||
.about_intro-highlight { | ||
padding-left: 0; | ||
text-align: left; | ||
} | ||
|
||
.about_intro-callout { | ||
padding-left: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.layout-content { | ||
.container-left-7 { | ||
margin: 0; | ||
width: 100%; | ||
} | ||
|
||
.case_studies_intro-select { | ||
display: none !important; | ||
} | ||
|
||
.case_studies-maps { | ||
text-align: left; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.carousel, | ||
.eiti-tabs, | ||
.card-image_link, | ||
.eiti-tab-panel .explore_home-button, | ||
.home-bottom-links { | ||
display: none !important; | ||
} | ||
|
||
.card { | ||
display: block; | ||
float: none; | ||
height: inherit !important; | ||
|
||
img { | ||
display: none !important; | ||
} | ||
} | ||
|
||
.eiti-tab-panel { | ||
display: block; | ||
float: none; | ||
margin-bottom: $base-padding-jumbo; | ||
|
||
img { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
&[aria-hidden=true] { | ||
display: block !important; | ||
} | ||
} | ||
|
||
.header-image_link, | ||
.card > a, | ||
.explore_home-img { | ||
&::after { | ||
content: ''; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.revenues_page-footer, | ||
.revenues_subpage-involved_video, | ||
.break { | ||
display: none !important; | ||
} | ||
|
||
|
||
.revenues_subpage-steps_group { | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.landing-section, | ||
.landing-section_open { | ||
margin-top: 0; | ||
|
||
div[class^='landing-'] { | ||
background: initial !important; | ||
height: initial !important; | ||
} | ||
} | ||
|
||
.landing-section a, | ||
.landing-section_open a, | ||
.hero-right a, | ||
.landing-wrapper section a { | ||
&::after { | ||
content: ''; | ||
} | ||
} | ||
|
||
.hero-right_caption { | ||
padding-left: 0; | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.hero-right_square { | ||
border: 0; | ||
} | ||
|
||
.hero-right_image { | ||
text-align: left; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
section.banner, | ||
.header-nav, | ||
.header-bars, | ||
footer, | ||
#glossary, | ||
#nav-drawer, | ||
iframe, | ||
.term .icon-book, | ||
.carousel-button, | ||
[accordion-button], | ||
.hash_selector, | ||
.sticky_nav { | ||
display: none !important; | ||
} | ||
|
||
header, | ||
.container-outer { | ||
margin-left: 0; | ||
margin-right: 0; | ||
} | ||
|
||
@page { | ||
margin: 0.5cm; | ||
} | ||
|
||
img { | ||
max-width: 500px !important; | ||
} | ||
|
||
a::after{ | ||
@include font-size(1); | ||
content: ' (' attr(href) ') '; | ||
} | ||
|
||
.term { | ||
border-bottom: 0; | ||
} | ||
|
||
|
||
[accordion-content], | ||
[accordion-item] div[aria-hidden='true'] { | ||
display: block !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.chart-item, | ||
.row-container, | ||
tr, | ||
figure, | ||
figcaption, | ||
eiti-data-map, | ||
eiti-bar-chart, | ||
img { | ||
page-break-before: always; | ||
page-break-inside: avoid; | ||
} | ||
|
||
h1:not(#title), | ||
h2, | ||
h3 { | ||
page-break-after: avoid; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.layout-state-pages figure { | ||
min-height: 300px; | ||
} | ||
|
||
.chart-list { | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# Jekyll only builds Sass files with front matter | ||
--- | ||
|
||
// include reset | ||
@import 'reset'; | ||
|
||
// include Bourbon & Neat | ||
@import 'lib/bourbon/bourbon'; | ||
@import 'lib/neat/neat'; | ||
|
||
// include site specific base styles | ||
@import 'base'; | ||
|
||
// include fonts (and @import font-face declarations from /css/fonts) | ||
@import 'fonts'; | ||
|
||
// include FontAwesome Sass variables, etc. | ||
@import 'lib/font-awesome/font-awesome'; | ||
|
||
// include print stylesheet overrides | ||
@import 'print'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters