Skip to content

Commit

Permalink
hiding elements in print view
Browse files Browse the repository at this point in the history
  • Loading branch information
e2tha-e committed Jul 7, 2017
1 parent e326e29 commit 824f514
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fepper/_styles/bld/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,13 @@ div.error,
div.error a {
color: #f00;
}
@media print {
header.header,
form,
footer[role="contentinfo"] {
display: none;
}
}
article h1,
aside h1,
nav h1,
Expand Down
7 changes: 7 additions & 0 deletions source/_styles/bld/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,13 @@ div.error,
div.error a {
color: #f00;
}
@media print {
header.header,
form,
footer[role="contentinfo"] {
display: none;
}
}
article h1,
aside h1,
nav h1,
Expand Down
6 changes: 6 additions & 0 deletions source/_styles/src/stylus/0-base/04-global.styl
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ aside
div.error,
div.error a
color: $error
/* Hide elements in print view */
@media print
header.header,
form,
footer[role="contentinfo"]
display: none

0 comments on commit 824f514

Please sign in to comment.