Skip to content

Commit

Permalink
Adding a Print Stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya Manian committed Mar 20, 2010
1 parent eb04e1a commit ecd87f7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions css/print.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
* { background:transparent !important; color:#444 !important; text-shadow:none; }

a, a:visited { color:#444 !important; text-decoration:underline; }

a:after { content:" (" attr(href) ")"; }

abbr:after { content: " (" attr(title) ")"; }

pre, blockquote { border:1px solid #999; page-break-inside:avoid; }

@page { margin: 0.5cm; }

p, h2, h3 { orphans:3; widows:3; }

h2, h3{ page-break-after:avoid; }

0 comments on commit ecd87f7

Please sign in to comment.