|
| 1 | +/* See FiraSans-LICENSE.txt for the Fira Sans license. */ |
1 | 2 | @font-face {
|
2 | 3 | font-family: 'Fira Sans';
|
3 | 4 | font-style: normal;
|
4 | 5 | font-weight: 400;
|
5 |
| - src: local('Fira Sans'), url("FiraSans-Regular.woff") format('woff'); |
| 6 | + src: local('Fira Sans'), |
| 7 | + url("FiraSans-Regular.woff2") format("woff2"), |
| 8 | + url("FiraSans-Regular.woff") format('woff'); |
6 | 9 | font-display: swap;
|
7 | 10 | }
|
8 | 11 | @font-face {
|
9 | 12 | font-family: 'Fira Sans';
|
10 | 13 | font-style: normal;
|
11 | 14 | font-weight: 500;
|
12 |
| - src: local('Fira Sans Medium'), url("FiraSans-Medium.woff") format('woff'); |
| 15 | + src: local('Fira Sans Medium'), |
| 16 | + url("FiraSans-Medium.woff2") format("woff2"), |
| 17 | + url("FiraSans-Medium.woff") format('woff'); |
13 | 18 | font-display: swap;
|
14 | 19 | }
|
| 20 | + |
| 21 | +/* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */ |
15 | 22 | @font-face {
|
16 |
| - font-family: 'Source Serif Pro'; |
| 23 | + font-family: 'Source Serif 4'; |
17 | 24 | font-style: normal;
|
18 | 25 | font-weight: 400;
|
19 |
| - src: local('Source Serif Pro'), url("SourceSerifPro-Regular.ttf.woff") format('woff'); |
| 26 | + src: local('Source Serif 4'), url("SourceSerif4-Regular.ttf.woff") format('woff'); |
20 | 27 | font-display: swap;
|
21 | 28 | }
|
22 | 29 | @font-face {
|
23 |
| - font-family: 'Source Serif Pro'; |
| 30 | + font-family: 'Source Serif 4'; |
24 | 31 | font-style: italic;
|
25 | 32 | font-weight: 400;
|
26 |
| - src: url("SourceSerifPro-It.ttf.woff") format('woff'); |
| 33 | + src: local('Source Serif 4 Italic'), url("SourceSerif4-It.ttf.woff") format('woff'); |
27 | 34 | font-display: swap;
|
28 | 35 | }
|
29 | 36 | @font-face {
|
30 |
| - font-family: 'Source Serif Pro'; |
| 37 | + font-family: 'Source Serif 4'; |
31 | 38 | font-style: normal;
|
32 | 39 | font-weight: 700;
|
33 |
| - src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.ttf.woff") format('woff'); |
| 40 | + src: local('Source Serif 4 Bold'), url("SourceSerif4-Bold.ttf.woff") format('woff'); |
34 | 41 | font-display: swap;
|
35 | 42 | }
|
| 43 | + |
| 44 | +/* See SourceCodePro-LICENSE.txt for the Source Code Pro license. */ |
36 | 45 | @font-face {
|
37 | 46 | font-family: 'Source Code Pro';
|
38 | 47 | font-style: normal;
|
39 | 48 | font-weight: 400;
|
40 | 49 | /* Avoid using locally installed font because bad versions are in circulation:
|
41 | 50 | * see https://github.com/rust-lang/rust/issues/24355 */
|
42 |
| - src: url("SourceCodePro-Regular.woff") format('woff'); |
| 51 | + src: url("SourceCodePro-Regular.ttf.woff") format('woff'); |
| 52 | + font-display: swap; |
| 53 | +} |
| 54 | +@font-face { |
| 55 | + font-family: 'Source Code Pro'; |
| 56 | + font-style: italic; |
| 57 | + font-weight: 400; |
| 58 | + src: url("SourceCodePro-It.ttf.woff") format('woff'); |
| 59 | + font-display: swap; |
| 60 | +} |
| 61 | +@font-face { |
| 62 | + font-family: 'Source Code Pro'; |
| 63 | + font-style: normal; |
| 64 | + font-weight: 600; |
| 65 | + src: url("SourceCodePro-Semibold.ttf.woff") format('woff'); |
43 | 66 | font-display: swap;
|
44 | 67 | }
|
45 | 68 |
|
|
55 | 78 | background-color: white;
|
56 | 79 | margin: 0 auto;
|
57 | 80 | padding: 0 15px;
|
58 |
| - font-family: "Source Serif Pro", Georgia, Times, "Times New Roman", serif; |
| 81 | + font-family: "Source Serif 4", Georgia, Times, "Times New Roman", serif; |
59 | 82 | font-size: 18px;
|
60 | 83 | color: #333;
|
61 | 84 | line-height: 1.428571429;
|
|
0 commit comments