Skip to content

Commit

Permalink
Add support for CommonHTML Jax output + Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Dec 23, 2018
1 parent 360a4d5 commit 52032b5
Show file tree
Hide file tree
Showing 16 changed files with 5,354 additions and 9,148 deletions.
10 changes: 10 additions & 0 deletions dist/arabic.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/arabic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 71 additions & 0 deletions dist/unpacked/arabic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/* CommonHTML Output Jax CSS */
.MathJax_CHTML .mfliph {
display: inline-block !important;
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph;
filter: fliph;
}

.MathJax_CHTML .mar {
font-style: normal !important;
}

.MathJax_CHTML .mar > span {
font-style: normal !important;
}

.mfliph > .mjx-char {
direction: rtl;
text-align: right;
}

.mfliph .MJXc-TeX-unknown-I, .mfliph.MJXc-TeX-unknown-I {
font-style: normal !important;
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border: solid transparent;
border-width: 0.45em 0;
}

.mjx-mn > .mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border-width: 0;
}

.mjx-stack > .mjx-sup > span > .mfliph.mar > .MJXc-TeX-unknown-I {
border-bottom-width: 0.85em;
}

.MJXc-stacked > .mjx-numerator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-top: 0.6em;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph > .mjx-char.MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
}


/* HTML-CSS Output Jax CSS */
.MathJax .mfliph {
display: inline-block !important;
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph;
filter: fliph;
}

.MathJax .mar {
font-style: normal !important;
}
.MathJax .mar > span {
font-style: normal !important;
}
Loading

0 comments on commit 52032b5

Please sign in to comment.