-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
72 lines (57 loc) · 1.06 KB
/
custom.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
/* requires fonts to be installed locally */
@font-face {
font-family: "Minion Pro";
font-style: normal;
src: url("/Users/nkashya1/Library/Fonts/MinionPro-Regular.otf");
}
@font-face {
font-family: "Minion Pro";
font-style: italic;
src: url("/Users/nkashya1/Library/Fonts/MinionPro-It.otf");
}
@font-face {
font-family: "Avenir";
font-style: normal;
src: url("/System/Library/Fonts/Avenir Next.ttc");
}
html {
font-family: "Minion Pro";
font-size: 11pt;
}
@page {
size: A4;
margin: 1in;
@top-right {
content: string(doctitle) ' / ' counter(page);
margin: 30pt 0 10pt 0;
font-size: 1rem;
}
}
@page :first {
@top-right {
content: '';
}
}
h1 {
string-set: doctitle content();
}
h1, h2, h3, h4, h5 {
/* font-family: helveticaneue; */
font-family: "Avenir";
font-style: normal;
font-weight: 600;
page-break-after: avoid;
font-size: 1.25rem;
}
h1:first-of-type {
margin-bottom: 2em;
}
p:first-of-type {
margin-top: 0;
}
table, figure {
page-break-inside: avoid;
}
p {
line-height: 2rem;
}