Skip to content

Commit

Permalink
Merge pull request #95 from nyuhsl/feature/90-styling-for-print
Browse files Browse the repository at this point in the history
Add CSS for print
  • Loading branch information
ianlamb77 authored Jul 3, 2018
2 parents 7ecff0e + 9e0711c commit 213d606
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions web/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -685,3 +685,44 @@ p#phone_number strong a {
#footer-copyright { position: absolute; left: 20px; bottom: 40px; }


@media print {
*{transition:none!important;}

body {
font-size:18px;
width:100%;
}
nav.nav-links {
display:none !important;
}
a[href]:after {
content: none !important;
}
#page-header {
margin:1em 4em;
margin-bottom: 2em;
}
#search-header {
display:none !important;
}
#dataset-full-view-container {
width:95% !important;
margin-left:7em !important;
margin-bottom:5em;
}
dt {
margin-top:2em;
}
span.pagetitle {
display:inline-block;
background:white;
margin-left:3em;
}
div.update-dataset-link {
display:none;
}
div#suggest-dataset-link {
display:none;
}

}

0 comments on commit 213d606

Please sign in to comment.