Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426921
ext.math.css
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
ext.math.css
View Options
/*
* Document : ext.math
* Created on : 23.09.2013, 13:55:00
* Author : Physikerwelt (Moritz Schubotz)
* 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
:
inline
!important
;
/* stylelint-disable-line declaration-no-important */
}
.
mwe-math-mathml-display
{
display
:
block
!important
;
/* stylelint-disable-line declaration-no-important */
margin-left
:
auto
;
margin-right
:
auto
;
}
.
mwe-math-mathml-a11y
{
/* We try to hide the MathML formula in a way that still makes it accessible to accessibility tools. */
clip
:
rect
(
1
px
,
1
px
,
1
px
,
1
px
);
overflow
:
hidden
;
position
:
absolute
;
width
:
1
px
;
height
:
1
px
;
opacity
:
0
;
}
/* Default style for the image fallback. */
/* Note: We had to use !important rules because of conflicts with the style
generated by Mathoid. See https://gerrit.wikimedia.org/r/#/c/166213/ */
.
mwe-math-fallback-image-inline
{
display
:
inline-block
;
vertical-align
:
middle
;
}
.
mwe-math-fallback-image-display
{
display
:
block
;
margin-left
:
auto
!important
;
/* stylelint-disable-line declaration-no-important */
margin-right
:
auto
!important
;
/* stylelint-disable-line declaration-no-important */
}
/* Default style for the source fallback. */
.
mwe-math-fallback-source-inline
{
display
:
inline
;
vertical-align
:
middle
;
}
.
mwe-math-fallback-source-display
{
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
}
/* the source rendering mode generates the class tex for backwards compatibility T348938 */
img
.
tex
{
vertical-align
:
middle
;
}
div
.
mwe-math-element
{
overflow-x
:
auto
;
max-width
:
100
%
;
}
/* Polyfill for MathML matrix elements with menclose https://github.com/w3c/mathml-core/issues/245 */
mtd
.
mwe-math-matrix-top
{
border-top
:
0.06
em
solid
;
}
mtd
.
mwe-math-matrix-bottom
{
border-bottom
:
0.06
em
solid
;
}
mtd
.
mwe-math-matrix-left
{
border-left
:
0.06
em
solid
;
}
mtd
.
mwe-math-matrix-right
{
border-right
:
0.06
em
solid
;
}
/* see https://github.com/w3c/mathml-core/issues/245#issuecomment-2410676518 */
menclose
.
menclose
{
position
:
relative
;
padding
:
0.5
ex
0
;
}
mrow
.
menclose-updiagonalstrike
{
display
:
inline-block
;
position
:
absolute
;
left
:
0.5
px
;
bottom
:
0
;
width
:
100
%
;
height
:
100
%
;
background-color
:
currentcolor
;
clip-path
:
polygon
(
0.05
em
100
%
,
0
calc
(
100
%
-
0.05
em
),
calc
(
100
%
-
0.05
em
)
0
,
100
%
0.05
em
);
}
mrow
.
menclose-downdiagonalstrike
{
display
:
inline-block
;
position
:
absolute
;
left
:
0.5
px
;
bottom
:
0
;
width
:
100
%
;
height
:
100
%
;
background-color
:
currentcolor
;
clip-path
:
polygon
(
0
0
,
0.05
em
0
,
100
%
100
%
,
calc
(
100
%
-
0.05
em
)
100
%
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 13:54 (1 d, 18 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
04/fe/b060b398834ae9ec15bc1efb7bad
Default Alt Text
ext.math.css (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment