Commit 16f6f39fac84cf31742e852f3696cb4f07c57d86

Andreas Rohner 2016-02-19T23:11:10

Remove direction-property from themes Remove direction-property from all themes, because it is incompatible with the EPUB-format. This was reported in issue #902.

diff --git a/themes/prism-coy.css b/themes/prism-coy.css
index 147b59b..cc871d3 100644
--- a/themes/prism-coy.css
+++ b/themes/prism-coy.css
@@ -9,7 +9,6 @@ pre[class*="language-"] {
 	color: black;
 	background: none;
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-dark.css b/themes/prism-dark.css
index 8d5c291..7f45728 100644
--- a/themes/prism-dark.css
+++ b/themes/prism-dark.css
@@ -10,7 +10,6 @@ pre[class*="language-"] {
 	background: none;
 	text-shadow: 0 -.1em .2em black;
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-funky.css b/themes/prism-funky.css
index e4d676d..dd3be06 100644
--- a/themes/prism-funky.css
+++ b/themes/prism-funky.css
@@ -7,7 +7,6 @@
 code[class*="language-"],
 pre[class*="language-"] {
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-okaidia.css b/themes/prism-okaidia.css
index d7c6bb7..3e0da35 100644
--- a/themes/prism-okaidia.css
+++ b/themes/prism-okaidia.css
@@ -10,7 +10,6 @@ pre[class*="language-"] {
 	background: none;
 	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-solarizedlight.css b/themes/prism-solarizedlight.css
index 4418410..bad7703 100644
--- a/themes/prism-solarizedlight.css
+++ b/themes/prism-solarizedlight.css
@@ -32,7 +32,6 @@ code[class*="language-"],
 pre[class*="language-"] {
 	color: #657b83; /* base00 */
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-tomorrow.css b/themes/prism-tomorrow.css
index 5c19274..6add2d2 100644
--- a/themes/prism-tomorrow.css
+++ b/themes/prism-tomorrow.css
@@ -9,7 +9,6 @@ pre[class*="language-"] {
 	color: #ccc;
 	background: none;
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;
diff --git a/themes/prism-twilight.css b/themes/prism-twilight.css
index f70e5c5..1d81946 100644
--- a/themes/prism-twilight.css
+++ b/themes/prism-twilight.css
@@ -7,7 +7,6 @@ code[class*="language-"],
 pre[class*="language-"] {
 	color: white;
 	background: none;
-	direction: ltr;
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
 	text-align: left;
 	text-shadow: 0 -.1em .2em black;
diff --git a/themes/prism.css b/themes/prism.css
index f677cdf..83ef295 100644
--- a/themes/prism.css
+++ b/themes/prism.css
@@ -10,7 +10,6 @@ pre[class*="language-"] {
 	background: none;
 	text-shadow: 0 1px white;
 	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
-	direction: ltr;
 	text-align: left;
 	white-space: pre;
 	word-spacing: normal;