Change the default Mathjax mode to SVG
SVG support in mathjax is far better than CSS tricks that depends on browser integration. In https://gitlab.com/frederic-zinelli/pyodide-mkdocs-theme/-/blob/main/pyodide_mkdocs_theme/templates/js-libs/mathjax-libs.js#L42 you should just add output/svg.
Thanks.