From Baldur's Gate 3 Wiki
Jump to navigation
Jump to search
|
Tags: Blanking Manual revert |
Line 1: |
Line 1: |
| /* -*- Mode: CSS; tab-width: 2; indent-tabs-mode:nil; c-basic-offset: 2 -*- */
| |
| /* vim: set ts=2 et sw=2 tw=80: */
| |
| /* This Source Code Form is subject to the terms of the Mozilla Public
| |
| * License, v. 2.0. If a copy of the MPL was not distributed with this
| |
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
| |
| /* Retrieved from https://github.com/fred-wang/webextension-native-mathml/blob/master/content-scripts/mediawiki.css */
| |
|
| |
|
| /* Reset some CSS properties set by MediaWiki and hide the image fallback */
| |
| .mwe-math-mathml-a11y {
| |
| clip: auto;
| |
| overflow: visible;
| |
| position: static;
| |
| width: auto;
| |
| height: auto;
| |
| opacity: 1;
| |
| display: inherit;
| |
| }
| |
|
| |
| body.mediawiki .ve-ce-mwLatexNode .mwe-math-mathml-a11y {
| |
| /* override https://phabricator.wikimedia.org/diffusion/EMAT/browse/master/modules/ve-math/ve.ce.MWLatexNode.css */
| |
| display: inherit;
| |
| }
| |
| /* Support where MediaWiki lazy loaded images */
| |
| .mwe-math-mathml-inline ~ .lazy-image-placeholder,
| |
| .mwe-math-mathml-display ~ .lazy-image-placeholder,
| |
| /* Support where MediaWiki doesn't lazy load images */
| |
| .mwe-math-mathml-inline + .mwe-math-fallback-image-inline,
| |
| .mwe-math-mathml-display + .mwe-math-fallback-image-display {
| |
| display: none;
| |
| }
| |
Latest revision as of 21:57, 23 November 2023