Commit 8c310bccd9e2aca0bffd8117aeaf70fc905f5cac

Jordan Danielewski 2016-01-22T15:00:59

No background for <code> in <pre>

diff --git a/themes/prism-coy.css b/themes/prism-coy.css
index dbfd66d..1e05a8e 100644
--- a/themes/prism-coy.css
+++ b/themes/prism-coy.css
@@ -52,6 +52,10 @@ pre[class*="language-"] {
 	}
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 code[class*="language"] {
 	max-height: inherit;
 	height: 100%;
diff --git a/themes/prism-dark.css b/themes/prism-dark.css
index 3c956f5..dac6023 100644
--- a/themes/prism-dark.css
+++ b/themes/prism-dark.css
@@ -49,6 +49,10 @@ pre[class*="language-"] {
 	box-shadow: 1px 1px .5em black inset;
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 /* Inline code */
 :not(pre) > code[class*="language-"] {
 	padding: .15em .2em .05em;
diff --git a/themes/prism-okaidia.css b/themes/prism-okaidia.css
index 676b070..2a72b13 100644
--- a/themes/prism-okaidia.css
+++ b/themes/prism-okaidia.css
@@ -35,6 +35,10 @@ pre[class*="language-"] {
 	border-radius: 0.3em;
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 :not(pre) > code[class*="language-"],
 pre[class*="language-"] {
 	background: #272822;
diff --git a/themes/prism-tomorrow.css b/themes/prism-tomorrow.css
index a4e7873..03bcc13 100644
--- a/themes/prism-tomorrow.css
+++ b/themes/prism-tomorrow.css
@@ -34,6 +34,10 @@ pre[class*="language-"] {
 	overflow: auto;
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 :not(pre) > code[class*="language-"],
 pre[class*="language-"] {
 	background: #2d2d2d;
diff --git a/themes/prism-twilight.css b/themes/prism-twilight.css
index 09b8dff..5893ce9 100644
--- a/themes/prism-twilight.css
+++ b/themes/prism-twilight.css
@@ -51,6 +51,10 @@ pre[class*="language-"]::selection {
 	background: hsl(200, 4%, 16%); /* #282A2B */
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 /* Text Selection colour */
 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
 code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
diff --git a/themes/prism.css b/themes/prism.css
index 2918f11..960ee3e 100644
--- a/themes/prism.css
+++ b/themes/prism.css
@@ -53,6 +53,10 @@ pre[class*="language-"] {
 	overflow: auto;
 }
 
+pre[class*="language-"] > code {
+	background: none;
+}
+
 :not(pre) > code[class*="language-"],
 pre[class*="language-"] {
 	background: #f5f2f0;