feature(css) add media print

This commit is contained in:
coderaiser 2014-01-30 11:06:27 -05:00
parent 06d737162a
commit d48b18075a
2 changed files with 29 additions and 18 deletions

View file

@ -33,21 +33,3 @@ a:focus { outline: thin dotted; }
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }
/* preformatted text */
.pre {white-space:pre}
/* ==== print styles =======================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* { background: transparent !important;
color: black !important; box-shadow:none !important; text-shadow: none !important;
filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
a, a:visited { text-decoration: underline; }
a[href]:after { content: " (" attr(href) ")"; }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
@page { margin: 0.5cm; }
}