damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.67k stars 416 forks source link

How can I change the CSS style definition for the MathJax_Display DIV? #521

Closed halloleo closed 4 years ago

halloleo commented 4 years ago

I want to left align MathJax formua (instead of centering them).

In the HTML of a RISE slideshow i find a DIV like

<div class="MathJax_Display" style="text-align: center;"
. . .
</div>

around the MathJax stuff. I think that modifying the style of the div to style="text-align: left;" should give the result I desire. (I might than add somemargin-left` to indent it a bit as well.)

But the big question is: How can I change this CSS style?

parmentelat commented 4 years ago

your answer is in the doc here: https://rise.readthedocs.io/en/maint-5.5/customize.html#adding-custom-css

parmentelat commented 4 years ago

I'm closing but feel free to re-open if needed of course