Skip to content

Commit

Permalink
Merge pull request #298 from stianjensen/better-print
Browse files Browse the repository at this point in the history
Hide navigation when printing
  • Loading branch information
cristeahub committed Dec 2, 2014
2 parents dd86da2 + bd49ae2 commit cb7aa88
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions wikipendium/wiki/static/css/master.css
Original file line number Diff line number Diff line change
Expand Up @@ -2686,3 +2686,27 @@ input[readonly=True]{
min-height: 300px;
padding: 5px 20px;
}

/*******************
* PRINTING
*******************/
@media print {
body.article .header-wrapper {
position: relative;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.header-logo-link .ikipendium {
display: inline;
}
body.article .header-wrapper nav {
display: none;
}
body.article #content {
padding-top: 0;
}
#page-footer .bottom-menu, .donation-appeal {
display: none;
}
}

0 comments on commit cb7aa88

Please sign in to comment.