Remove Firefox specific CSS styles
The Firefox specific CSS changes require a special
setup of math fonts on the system. To avoid problems
OS dependent behavior, this browser specific modifications
are removed from the ext.math.css file.
There are a couple of places, where people can overwrite
their CSS rules individually.
For example from version 1.8 the plugin
cf. de1eec2f0d
Note that this change will make things worse for users
that chose the MathML rendering option and managed to
configure their font setup right.
Change-Id: I5a376904a01a46634eea2160e02736df74cd0b5f
This commit is contained in:
parent
3983dcb20b
commit
f071dbcf80
@ -38,26 +38,6 @@ generated by Mathoid. See https://gerrit.wikimedia.org/r/#/c/166213/ */
|
||||
.mwe-math-fallback-source-inline { display: inline; vertical-align: middle; }
|
||||
.mwe-math-fallback-source-display { display: block; margin-left: auto; margin-right: auto; }
|
||||
|
||||
/**
|
||||
* Browser-specific hacks are bad but let's use that for now...
|
||||
* See http://browserhacks.com/
|
||||
*/
|
||||
@-moz-document url-prefix() {
|
||||
/* For Gecko browsers, hide the SVG fallback and show the MathML instead.
|
||||
* We override the style for SVG and MathML above
|
||||
*/
|
||||
.mwe-math-mathml-a11y {
|
||||
clip: auto;
|
||||
overflow: visible;
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
opacity: 1;
|
||||
}
|
||||
.mwe-math-mathml-inline + .mwe-math-fallback-image-inline,
|
||||
.mwe-math-mathml-display + .mwe-math-fallback-image-display { display: none !important; }
|
||||
}
|
||||
|
||||
/* PNG related styles from core */
|
||||
img.tex {
|
||||
vertical-align: middle;
|
||||
|
Loading…
Reference in New Issue
Block a user