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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
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;