forked from goessner/mdmath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtexmath.css
More file actions
28 lines (26 loc) · 805 Bytes
/
texmath.css
File metadata and controls
28 lines (26 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* style for html inside of browsers */
/* align KaTeX font-size to surrounding text */
.katex { font-size: 1em !important; }
/* supress effect of display formulas with eqno having bigger margin */
.katex-display { margin:0 !important; }
/* overwrite github-markdown.css asymmetric margin values */
.markdown-body blockquote, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul {
margin-top: 8px;
margin-bottom: 8px;
}
eq { display: inline-block; }
eqn { display: block; margin: 0; }
section.eqno {
display: flex;
flex-direction: row;
align-content: space-between;
align-items: center;
}
section.eqno > eqn {
width: 100%;
margin-left: 3em;
}
section.eqno > span {
width:3em;
text-align:right;
}