diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css new file mode 100644 index 000000000..c71ea1281 --- /dev/null +++ b/docs/_static/css/custom.css @@ -0,0 +1,3 @@ +div.math { + flex-direction: row; +} diff --git a/docs/conf.py b/docs/conf.py index d312b5efd..adc13cf10 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -211,7 +211,11 @@ def new_process_docstring(app, what, name, obj, options, lines): # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = [] + +html_static_path = ['_static'] +html_css_files = [ + 'css/custom.css', +] # -- Options for myst ------------------------------------------------------- nb_execution_mode = 'force'