From bc519c22f4e75ba3b2891884fa8c9812885da7a4 Mon Sep 17 00:00:00 2001 From: "physikerwelt (Moritz Schubotz)" Date: Sun, 20 Jul 2014 02:02:28 +0200 Subject: [PATCH] Move @namespace css style to top According to PHPStrom the @namespace css element must be before normal css rules Change-Id: I43eb10e976446bf846856f9c4f462a5be034062f --- modules/ext.math.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ext.math.css b/modules/ext.math.css index b427a16..63866f5 100644 --- a/modules/ext.math.css +++ b/modules/ext.math.css @@ -5,15 +5,16 @@ Description: Shows browser-dependent math output. */ +@namespace m url('http://www.w3.org/1998/Math/MathML'); /* Default style for MathML. */ .mwe-math-mathml-inline { display: none; } .mwe-math-mathml-display { display: none; margin-left: auto; margin-right: auto; } -@namespace m url('http://www.w3.org/1998/Math/MathML'); m|math { /* Try OpenType MATH fonts, the WOFF fallback and the old math fonts */ font-family: Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, MathJax_Main, STIXGeneral, serif; } + @font-face { /* WOFF version of Latin Modern Math. See https://github.com/fred-wang/MathFonts */