Skip to content

Commit

Permalink
Merge pull request #78 from nathanathan/gh-pages
Browse files Browse the repository at this point in the history
Special formatting rules for printing
  • Loading branch information
sofish committed Apr 3, 2014
2 parents 256f6ca + 876d663 commit 6f1d6a4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@
#hinted:before{content: '\e816';}

#fork{position:fixed;right:0;top:0;}

/*
When the webpage is printed
this media query hides extra elements,
and makes the text content fit the page.
*/
@media print {
#fork, #toolbar {
display: none;
}
body {
width: 94%;
padding-top: 1em;
font-size: 12px;
}
html {
border-top: 0;
}
}
</style>
<link rel="stylesheet" href="src/pen.css" />
</head>
Expand Down

0 comments on commit 6f1d6a4

Please sign in to comment.