summaryrefslogtreecommitdiff
path: root/provider/css/math.css
blob: 4dc0dd7ea688857afdbd0e4ea7b85789633178b2 (plain)
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
span.inline-math {
    display:inline;
}

span.display-math {
    display:block;
    text-align:center;
    margin-top:0.2em;
    margin-bottom:0.2em;
}

div.theorem, div.lemma, div.definition, div.corollary, div.proof {
    margin-left: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

div.theorem > p:first-child:before {
    content: "Theorem. ";
    font-weight: bold;
}

div.lemma > p:first-child:before {
    content: "Lemma. ";
    font-weight: bold;
}

div.definition > p:first-child:before {
    content: "Definition. ";
    font-weight: bold;
}

div.corollary > p:first-child:before {
    content: "Corollary. ";
    font-weight: bold;
}

div.proof > p:first-child:before {
    content: "Proof. ";
    font-style: italic;
}

div.proof > p:last-child:after {
    content: " ∎";
}

div.theorem + div.proof {
    margin-top: -1em;
}