diff --git a/docs/scripts/mathjaxhelper.js b/docs/scripts/mathjaxhelper.js index f6f67c462b3594fa5ef6c51cdaca373892c05746..b948d6e652731a0a18b9954ee9f92bd076dd9085 100644 --- a/docs/scripts/mathjaxhelper.js +++ b/docs/scripts/mathjaxhelper.js @@ -1,5 +1,5 @@ MathJax.Hub.Config({ - jax: ["input/TeX", "output/CommonHTML" , "output/SVG"], + jax: ["input/TeX" , "output/SVG"], tex2jax: { inlineMath: [ ['$','$'] ], processEscapes: true diff --git a/docs/styles/mathjax_overflowfix.css b/docs/styles/mathjax_overflowfix.css index cf3a6a305f380ebc869cca07d19db6b134ca2045..08cfa652ccecf0e7cf79844f47eab2b5d483dce3 100644 --- a/docs/styles/mathjax_overflowfix.css +++ b/docs/styles/mathjax_overflowfix.css @@ -1,4 +1,4 @@ .mjx-chtml { - overflow-x: auto; /* Horizontally scroll long equations. */ - overflow-y: hidden; + overflow-y: hidden; + overflow-x: auto; } diff --git a/docs/styles/thebelab.css b/docs/styles/thebelab.css deleted file mode 100644 index a437162dc2d35a08174075aca58b3ffdf82bbadd..0000000000000000000000000000000000000000 --- a/docs/styles/thebelab.css +++ /dev/null @@ -1,50 +0,0 @@ -.thebelab-cell .thebelab-input pre { - z-index: 0; -} - -.thebelab-code, .thebelab-init-code { - display: none; -} - -.thebelab-button { - position: relative; - display: inline-block; - box-sizing: border-box; - border: none; - border-radius: .1rem; - padding: 0 2rem; - margin: .5rem .1rem; - min-width: 64px; - height: 1.6rem; - vertical-align: middle; - text-align: center; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.8); - background-color: rgba(0, 0, 0, 0.07); - overflow: hidden; - outline: none; - cursor: pointer; - transition: background-color 0.2s; -} - -.thebelab-button:hover { - background-color: rgba(0, 0, 0, 0.12); -} - -.thebelab-button:active { - background-color: rgba(0, 0, 0, 0.15); - color: rgba(0, 0, 0, 1) -} - -#thebelab-activate-button { - font-size: 1rem; - margin-left: 0.4rem; -} - -#thebelab-activate-button.thebelab-active { - color: rgb(83, 109, 254); -} - -.thebelab-button.thebelab-restart-button { - display: none; -} diff --git a/mkdocs.yml b/mkdocs.yml index b84783d5ce6f52914f4a667318a0727b76c0c4a7..ce5ef81e497fce26b69e517f68320abeb5efb47f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -56,7 +56,7 @@ extra_css: - 'styles/mathjax_overflowfix.css' extra_javascript: - - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML' + - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_SVG' - 'scripts/mathjaxhelper.js' copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."