-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmath.css
109 lines (96 loc) · 1.7 KB
/
math.css
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.eq {
font-family: serif;
display: inline-flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.eq sup, span.var sup {
font-size: 60%;
}
.group {
display: inline-flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.eq.full_line {
display: flex;
font-size: 125%;
}
.frac {
display: flex;
flex-direction: column;
margin-left: 0.1em;
margin-right: 0.1em;
align-items: stretch;
justify-content: center;
}
.frac > :first-child {
border-bottom: 0.75px solid black;
padding-bottom: 0.1em;
}
.frac > :last-child {
border-top: 0.75px solid black;
padding-top: 0.1em;
}
.var {
display: inline;
font-style: italic;
font-family: serif;
margin-left: 0.05em;
margin-right: 0.05em;
}
p > span.var, p>span.sym, p>.num {
font-family: serif;
margin-left: 0.05em;
margin-right: 0.05em;
}
.num {
display: inline;
font-style: normal;
}
.sym {
display: inline;
margin-left: 0.2em;
margin-right: 0.2em;
}
.paren {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.paren::before {
content: "(";
}
.paren::after {
content: ")";
}
.paren.tall {
margin-left: 0.1em;
margin-right: 0.1em;
}
.paren.tall::before, .paren.tall::after {
transform: scale(1, 3.2);
padding-bottom: 0.1em;
}
/*
.paren_tall {
border-left: 2px solid black;
border-right: 2px solid black;
border-radius: 5px;
}
*/
.isolate::before {
content: "\200a";
font-size: 50%;
}
.isolate::after {
content: "\200a";
font-size: 50%;
}
table {
border-spacing: 0.5em;
border-collapse: separate;
}