-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathfonts.css
114 lines (102 loc) · 3.29 KB
/
fonts.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
110
111
112
113
114
@font-face {
font-family: 'typeofweb-fallback-sans';
src: local('Arial'), local('Helvetica');
advance-override: 146%;
ascent-override: 93.5%;
descent-override: 26.5%;
line-gap-override: 0%;
}
@font-face {
font-family: 'typeofweb-fallback-serif';
src: local('Times New Roman'), local('Times');
advance-override: calc(291.4% / 2);
ascent-override: calc(196.8% / 2);
descent-override: calc(54.6% / 2);
line-gap-override: 0%;
}
@font-face {
font-family: 'typeofweb-fallback-mono';
src: local('Courier New'), local('Courier');
advance-override: 60%;
ascent-override: 93.5%;
descent-override: 26.5%;
line-gap-override: 0;
}
html:not(.fonts-loaded) {
& .font-sans,
& .prose ol > li::before {
font-family: 'typeofweb-fallback-sans', sans-serif !important;
letter-spacing: 0.1px !important;
word-spacing: 0.2px !important;
}
& .font-serif,
& .prose [class~='lead'],
& .prose p,
& .prose ol > li {
font-family: 'typeofweb-fallback-serif', serif !important;
letter-spacing: 1.93px !important;
word-spacing: -2px !important;
font-weight: 600;
}
& .font-mono {
font-family: 'typeofweb-fallback-mono', monospace !important;
letter-spacing: 0 !important;
word-spacing: 0 !important;
}
}
@font-face {
font-family: 'Merriweather';
src: local('Merriweather Regular'), local('Merriweather-Regular'), local('Merriweather'),
url('/fonts/merriweather-12ptregular-typeofweb.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Merriweather';
src: local('Merriweather Italic'), local('Merriweather-Italic'), local('Merriweather'),
url('/fonts/merriweather-12ptitalic-typeofweb.woff2') format('woff2');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Merriweather';
src: local('Merriweather Bold'), local('Merriweather-Bold'), local('Merriweather'),
url('/fonts/merriweather-12ptbold-typeofweb.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Merriweather';
src: local('Merriweather Bold Italic'), local('Merriweather-Bold-Italic'), local('Merriweather'),
url('/fonts/merriweather-12ptbolditalic-typeofweb.woff2') format('woff2');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Fira Sans';
src: local('FiraSans Regular'), local('FiraSans-Regular'), local('Fira Sans Regular'), local('Fira-Sans-Regular'),
local('Fira Sans'), local('Fira-Sans'), url('/fonts/firasans-regular-typeofweb.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fira Sans';
src: local('FiraSans Semibold'), local('FiraSans-Semibold'), local('Fira Sans Semibold'), local('Fira-Sans-Semibold'),
local('Fira Sans'), local('Fira-Sans'), url('/fonts/firasans-semibold-typeofweb.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fira Mono';
src: local('FiraMono Regular'), local('FiraMono-Regular'), local('Fira Mono Regular'), local('Fira-Mono-Regular'),
local('Fira Mono'), url('/fonts/firamono-regular-typeofweb.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}