summaryrefslogtreecommitdiff
path: root/fonts.css
blob: e5447bcbef04696e89cdd702278e212d8764ece7 (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
/*
 * My favorite fonts packaged for the web
 */

@font-face {
    font-family: "Gelasio";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/gelasio-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Gelasio";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/gelasio-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Fira Math";
    src: url("fonts/FiraMath-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fira Code";
    src: url("fonts/FiraCode-VF.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --fontSerif: 'Gelasio', serif;
    --fontMono: 'Fira Code', monospace;
    --fontMath: 'Fira Math', serif;
}