Added missing CSS from new ZIM type to cache

Former-commit-id: 98e128ba1ab4cfadf6f00b8dcf87985b243212d1 [formerly 198de12324e711972da980e7dcfeb1eb932f9d0e]
Former-commit-id: 1a82cf60d6b95d853412224e71fcab6e5eade40b
This commit is contained in:
Jaifroid 2017-08-11 07:13:44 +01:00
parent 438560f4b3
commit f9973cef3d
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,6 @@
/**
* Dummy stylesheet
*
* This sheet returns an empty css from the ZIM, so it is included here
* to prevent useless retrieval of empty data.
*/

View File

@ -0,0 +1 @@
@namespace m url(http:/www.w3.org/1998/Math/MathML);.mwe-math-mathml-inline{display:inline !important}.mwe-math-mathml-display{display:block !important;margin-left:auto;margin-right:auto}.mwe-math-mathml-a11y{clip:rect( 1px,1px,1px,1px );overflow:hidden;position:absolute;width:1px;height:1px;opacity:0}.mwe-math-fallback-image-inline{display:inline-block;vertical-align:middle}.mwe-math-fallback-image-display{display:block;margin-left:auto !important;margin-right:auto !important}.mwe-math-fallback-source-inline{display:inline;vertical-align:middle}.mwe-math-fallback-source-display{display:block;margin-left:auto;margin-right:auto}img.tex{vertical-align:middle}div.mwe-math-element{overflow-x:auto;max-width:100%}

View File

@ -60,6 +60,8 @@ define(['uiUtil'], function (uiUtil) {
zl.match(/-\/s\/css_modules\/mw.PopUpMediaTransform.css/i) ||
zl.match(/-\/s\/css_modules\/mw.MediaWikiPlayer.loader.css/i) ||
zl.match(/-\/s\/css_modules\/ext.tmh.thumbnail.styles.css/i) ||
zl.match(/-\/s\/css_modules\/ext.math.styles.css/i) ||
zl.match(/-\/s\/css_modules\/ext.math.scripts.css/i) ||
zl.match(/-\/s\/css_modules\/content.parsoid.css/i) ||
zl.match(/-\/s\/css_modules\/inserted_style_mobile.css/i) ||
zl.match(/-\/s\/css_modules\/mobile.css/i) ||