From 8c310bccd9e2aca0bffd8117aeaf70fc905f5cac Mon Sep 17 00:00:00 2001 From: Jordan Danielewski Date: Fri, 22 Jan 2016 15:00:59 +0100 Subject: [PATCH] No background for in

---
 themes/prism-coy.css      | 4 ++++
 themes/prism-dark.css     | 4 ++++
 themes/prism-okaidia.css  | 4 ++++
 themes/prism-tomorrow.css | 4 ++++
 themes/prism-twilight.css | 4 ++++
 themes/prism.css          | 4 ++++
 6 files changed, 24 insertions(+)

diff --git a/themes/prism-coy.css b/themes/prism-coy.css
index dbfd66d157..1e05a8ee50 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 3c956f54fb..dac6023295 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 676b0705e2..2a72b133c0 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 a4e7873497..03bcc13b35 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 09b8dfffaa..5893ce967b 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 2918f11563..960ee3e110 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;