-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfonts.css
More file actions
96 lines (84 loc) · 2.79 KB
/
Copy pathfonts.css
File metadata and controls
96 lines (84 loc) · 2.79 KB
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
/* ============================================================
fonts.css. Simon Ives / Phronesis
Self-hosted only. No third-party requests: every font file is
served from this origin. See README "Fonts" for where to get
the files and which weights are required.
============================================================ */
/* ----- Cormorant Garamond: display -----
H1/H2/H3, hero copy, pull quotes, the Φ mark, drop caps, ordinals.
Weights used: 500 (all headings and the Φ mark at 600), plus
400 italic for pull quotes. */
@font-face {
font-family: 'Cormorant Garamond';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('fonts/cormorant-garamond/CormorantGaramond-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Cormorant Garamond';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('fonts/cormorant-garamond/CormorantGaramond-Medium.woff2') format('woff2');
}
@font-face {
font-family: 'Cormorant Garamond';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('fonts/cormorant-garamond/CormorantGaramond-SemiBold.woff2') format('woff2');
}
@font-face {
font-family: 'Cormorant Garamond';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url('fonts/cormorant-garamond/CormorantGaramond-Italic.woff2') format('woff2');
}
/* ----- Inter: body and UI -----
Body copy, navigation, labels, metadata, buttons, form fields.
Weights used: 400, 500. */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('fonts/inter/Inter-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('fonts/inter/Inter-Medium.woff2') format('woff2');
}
/* ----- Material Symbols: iconography -----
Already present on the material-design-poc branch. Iconography,
not type: does not count against the two-family rule.
Used for: menu, contrast (theme toggle), arrow_outward. */
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 100 700;
font-display: block;
src: url('fonts/material-symbols/MaterialSymbolsOutlined-Variable.woff2') format('woff2');
}
.material-symbols {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
user-select: none;
}
/* STYLE_GUIDE.md §2 permits two families only, and --font-display is
Cormorant Garamond, not Roboto or Roboto Flex. Do not declare them. */