mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-12 01:08:55 +00:00
c5b0b15d8f
* Removes the MathJax heuristics that decides if equations are centered or left-aligned. * Introduces the attribute display to specify if the math element is rendered in inline, display, or inline-displaystyle. * add css rules for display / inline math images Bug: 61051 Change-Id: Iba69903f781f0cb1606b8ddcffb90fb86c9b229b
12 lines
509 B
CSS
12 lines
509 B
CSS
/*
|
|
Document : ext.math
|
|
Created on : 23.09.2013, 13:55:00
|
|
Author : Physikerwelt (Moritz Schubotz)
|
|
Description:
|
|
Shows browser-dependent math output.
|
|
*/
|
|
|
|
.mwe-math-fallback-png-inline { display: inline; vertical-align: middle}
|
|
.mwe-math-fallback-png-display { display: block; margin-left: auto; margin-right: auto;}
|
|
.mwe-math-fallback-source-inline { display: inline; vertical-align: middle}
|
|
.mwe-math-fallback-source-display { display: block; margin-left: auto; margin-right: auto;} |