mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 21:26:58 +00:00
Update KaTeX to v0.13.18
This commit is contained in:
@@ -124,15 +124,17 @@
|
||||
line-height: 1.2;
|
||||
text-indent: 0;
|
||||
text-rendering: auto;
|
||||
border-color: currentColor;
|
||||
}
|
||||
.katex * {
|
||||
-ms-high-contrast-adjust: none !important;
|
||||
border-color: currentColor;
|
||||
}
|
||||
.katex .katex-version::after {
|
||||
content: "0.12.0";
|
||||
content: "0.13.18";
|
||||
}
|
||||
.katex .katex-mathml {
|
||||
/* Accessibility hack to only show to screen readers
|
||||
Found at: http://a11yproject.com/posts/how-to-hide-content/ */
|
||||
position: absolute;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
padding: 0;
|
||||
@@ -151,6 +153,8 @@
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
width: -webkit-min-content;
|
||||
width: -moz-min-content;
|
||||
width: min-content;
|
||||
}
|
||||
.katex .strut {
|
||||
@@ -266,16 +270,12 @@
|
||||
min-width: 2px;
|
||||
}
|
||||
.katex .vbox {
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
align-items: baseline;
|
||||
}
|
||||
.katex .hbox {
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -352,6 +352,8 @@
|
||||
border-bottom-style: dashed;
|
||||
}
|
||||
.katex .sqrt > .root {
|
||||
/* These values are taken from the definition of `\r@@t`,
|
||||
`\mkern 5mu` and `\mkern -10mu`. */
|
||||
margin-left: 0.27777778em;
|
||||
margin-right: -0.55555556em;
|
||||
}
|
||||
@@ -982,6 +984,9 @@
|
||||
.katex .x-arrow-pad {
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
.katex .cd-arrow-pad {
|
||||
padding: 0 0.55556em 0 0.27778em;
|
||||
}
|
||||
.katex .x-arrow,
|
||||
.katex .mover,
|
||||
.katex .munder {
|
||||
@@ -1006,6 +1011,42 @@
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 0.08em;
|
||||
}
|
||||
.katex .angl {
|
||||
box-sizing: border-box;
|
||||
border-top: 0.049em solid;
|
||||
border-right: 0.049em solid;
|
||||
margin-right: 0.03889em;
|
||||
}
|
||||
.katex .anglpad {
|
||||
padding: 0 0.03889em 0 0.03889em;
|
||||
}
|
||||
.katex .eqn-num::before {
|
||||
counter-increment: katexEqnNo;
|
||||
content: "(" counter(katexEqnNo) ")";
|
||||
}
|
||||
.katex .mml-eqn-num::before {
|
||||
counter-increment: mmlEqnNo;
|
||||
content: "(" counter(mmlEqnNo) ")";
|
||||
}
|
||||
.katex .mtr-glue {
|
||||
width: 50%;
|
||||
}
|
||||
.katex .cd-vert-arrow {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
.katex .cd-label-left {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: calc(50% + 0.3em);
|
||||
text-align: left;
|
||||
}
|
||||
.katex .cd-label-right {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: calc(50% + 0.3em);
|
||||
text-align: right;
|
||||
}
|
||||
.katex-display {
|
||||
display: block;
|
||||
margin: 1em 0;
|
||||
@@ -1032,4 +1073,7 @@
|
||||
text-align: left;
|
||||
padding-left: 2em;
|
||||
}
|
||||
body {
|
||||
counter-reset: katexEqnNo mmlEqnNo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user