Skip to content

Commit

Permalink
Remove shadow from code
Browse files Browse the repository at this point in the history
  • Loading branch information
ianobermiller committed Oct 9, 2019
1 parent 57a882a commit f78462c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
16 changes: 2 additions & 14 deletions src/templates/prism-dark.scss
Expand Up @@ -8,21 +8,9 @@
code[class*='language-'],
pre[class*='language-'] {
color: white;
text-shadow: 0 -0.1em 0.2em black;
white-space: pre-wrap;
line-height: 1.5;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

@media print {
code[class*='language-'],
pre[class*='language-'] {
text-shadow: none;
}
line-height: 1.5;
white-space: pre-wrap;
}

.token.comment,
Expand Down
16 changes: 2 additions & 14 deletions src/templates/prism-light.scss
Expand Up @@ -8,21 +8,9 @@
code[class*='language-'],
pre[class*='language-'] {
color: black;
text-shadow: 0 1px white;
white-space: pre-wrap;
line-height: 1.5;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

@media print {
code[class*='language-'],
pre[class*='language-'] {
text-shadow: none;
}
line-height: 1.5;
white-space: pre-wrap;
}

.token.comment,
Expand Down

0 comments on commit f78462c

Please sign in to comment.