Permalink
Browse files

Fixed text-shadows on print

  • Loading branch information...
1 parent 358fbbd commit 5a7654ebe59b941e238ee4cced32c836e0d8c3a4 @LeaVerou LeaVerou committed Jan 27, 2013
Showing with 14 additions and 0 deletions.
  1. +7 −0 prism-dark.css
  2. +7 −0 prism.css
View
@@ -24,6 +24,13 @@ pre[class*="language-"] {
hyphens: none;
}
+@media print {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+}
+
pre[class*="language-"],
:not(pre) > code[class*="language-"] {
background: hsl(30,20%,25%);
View
@@ -24,6 +24,13 @@ pre[class*="language-"] {
hyphens: none;
}
+@media print {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+}
+
/* Code blocks */
pre[class*="language-"] {
padding: 1em;

0 comments on commit 5a7654e

Please sign in to comment.