-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_fonts.scss
48 lines (42 loc) · 1.53 KB
/
_fonts.scss
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
/* SPDX-License-Identifier: MPL-2.0 */
/* Copyright © 2020 Jamie Nguyen
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// SSansPro and SSerifPro have been manually subsetted from the original
// OTF files using FontForge. The Google Fonts versions don't include small
// caps, which we need to style the word LORD properly.
@font-face {
font-family: "FSans";
font-style: normal;
font-weight: 400;
font-display: block;
src: url("../../media/FSans-Regular.woff2") format("woff2"),
url("../../media/FSans-Regular.woff") format("woff");
}
@font-face {
font-family: "SSansPro";
font-style: normal;
font-weight: 400;
font-display: block;
src: url("../../media/SSansPro-Regular.woff2") format("woff2"),
url("../../media/SSansPro-Regular.woff") format("woff");
}
@font-face {
font-family: "SSerifPro";
font-style: normal;
font-weight: 400;
font-display: block;
src: url("../../media/SSerifPro-Regular.woff2") format("woff2"),
url("../../media/SSerifPro-Regular.woff") format("woff");
}
// Only used for the headings on the About and Contact pages.
@font-face {
font-family: "Source Serif Pro";
font-style: normal;
font-weight: 700;
font-display: block;
src: local("Source Serif Pro Bold"), local("SourceSerifPro-Bold"),
url("../../media/SourceSerifPro-Bold.woff2") format("woff2"),
url("../../media/SourceSerifPro-Bold.woff") format("woff");
}