diff --git a/resources/math.scss b/resources/math.scss deleted file mode 100644 index dac4680..0000000 --- a/resources/math.scss +++ /dev/null @@ -1,49 +0,0 @@ -.mwe-math-mathml-inline { - display: inline !important; -} - -.mwe-math-mathml-display { - display: block !important; - margin-left: auto; - margin-right: auto; -} - -.mwe-math-mathml-a11y { - clip: rect(1px, 1px, 1px, 1px); - overflow: hidden; - position: absolute; - width: 1px; - height: 1px; - opacity: 0; -} - -.mwe-math-fallback-image-inline { - display: inline-block; - vertical-align: middle; -} - -.mwe-math-fallback-image-display { - display: block; - margin-left: auto !important; - margin-right: auto !important; -} - -@font-face { - font-family: 'Latin Modern Math'; - src: url('libs/latinmodernmath/latinmodern-math.eot'); /* IE9 Compat Modes */ - src: local('Latin Modern Math'), local('LatinModernMath-Regular'), - url('libs/latinmodernmath/latinmodern-math.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('libs/latinmodernmath/latinmodern-math.woff2') format('woff2'), /* Modern Browsers */ - url('libs/latinmodernmath/latinmodern-math.woff') format('woff'), /* Modern Browsers */ - url('libs/latinmodernmath/latinmodern-math.ttf') format('truetype'); /* Safari, Android, iOS */ - font-weight: normal; - font-style: normal; -} - -math { - font-family: "Latin Modern Math"; -} - -img.inline-math { - display: inline; -} \ No newline at end of file diff --git a/resources/mathjax3_config.js b/resources/mathjax3_config.js index 0ea5c70..6748a69 100644 --- a/resources/mathjax3_config.js +++ b/resources/mathjax3_config.js @@ -1,4 +1,7 @@ window.MathJax = { + chtml: { + adaptiveCSS: false, + }, options: { ignoreHtmlClass: 'tex2jax_ignore', processHtmlClass: 'tex2jax_process', diff --git a/resources/style.scss b/resources/style.scss index 5fe41e2..93690d4 100644 --- a/resources/style.scss +++ b/resources/style.scss @@ -1,6 +1,5 @@ @import "base"; @import "table"; -@import "math"; @import "status"; @import "blog"; @import "problem"; diff --git a/templates/mathjax-load.html b/templates/mathjax-load.html index 487459e..bbbab52 100644 --- a/templates/mathjax-load.html +++ b/templates/mathjax-load.html @@ -1,2 +1,5 @@ - - + + +