Skip to content

Commit 0df36ea

Browse files
author
Steven Joseph (asyncmind)
committed
fix: switch to inter fonts
1 parent da10c5a commit 0df36ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+158
-33
lines changed

assets/css/main.css

+8-29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/* CSS */
2+
:root {
3+
font-family: Inter, sans-serif;
4+
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
5+
}
6+
@supports (font-variation-settings: normal) {
7+
:root { font-family: InterVariable, sans-serif; }
8+
}
19
.header h1 {
210
font-size: 5em;
311
}
@@ -138,12 +146,6 @@ button {
138146
font-weight: bold;
139147
color: red;
140148
}
141-
@font-face {
142-
font-family: 'Roboto';
143-
font-style: normal;
144-
font-weight: 400;
145-
src: url(/assets/js/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype');
146-
}
147149

148150
#table-of-contents{
149151
float: right;
@@ -170,13 +172,6 @@ button {
170172
}
171173

172174

173-
/*#text-table-of-contents > ul > li > a:after {
174-
content: 'Damage Tokens';
175-
font-size:5em;
176-
}
177-
#text-table-of-contents > ul > li > a {
178-
font-size:0;
179-
}*/
180175

181176
#kycForm{
182177
width: 30em;
@@ -201,22 +196,6 @@ a{
201196
a:hover {
202197
text-decoration: underline;
203198
}
204-
/*pre {
205-
background: #f4f4f4;
206-
border: 1px solid #ddd;
207-
border-left: 3px solid #55aa00;
208-
color: #666;
209-
page-break-inside: avoid;
210-
font-family: monospace;
211-
font-size: 15px;
212-
line-height: 1.6;
213-
margin-bottom: 1.6em;
214-
max-width: 100%;
215-
overflow: auto;
216-
padding: 0.4em 1.5em;
217-
display: block;
218-
word-wrap: break-word;
219-
}*/
220199

221200
/* https://codepen.io/Umer_Farooq/pen/eYJgKGN */
222201
body.dark {background-color: #292c35;} /* #9b59b6 */

assets/inter/Inter-Black.woff2

109 KB
Binary file not shown.

assets/inter/Inter-BlackItalic.woff2

116 KB
Binary file not shown.

assets/inter/Inter-Bold.woff2

112 KB
Binary file not shown.

assets/inter/Inter-BoldItalic.woff2

119 KB
Binary file not shown.

assets/inter/Inter-ExtraBold.woff2

112 KB
Binary file not shown.
119 KB
Binary file not shown.

assets/inter/Inter-ExtraLight.woff2

110 KB
Binary file not shown.
117 KB
Binary file not shown.

assets/inter/Inter-Italic.woff2

115 KB
Binary file not shown.

assets/inter/Inter-Light.woff2

110 KB
Binary file not shown.

assets/inter/Inter-LightItalic.woff2

117 KB
Binary file not shown.

assets/inter/Inter-Medium.woff2

112 KB
Binary file not shown.

assets/inter/Inter-MediumItalic.woff2

118 KB
Binary file not shown.

assets/inter/Inter-Regular.woff2

109 KB
Binary file not shown.

assets/inter/Inter-SemiBold.woff2

112 KB
Binary file not shown.
119 KB
Binary file not shown.

assets/inter/Inter-Thin.woff2

107 KB
Binary file not shown.

assets/inter/Inter-ThinItalic.woff2

114 KB
Binary file not shown.

assets/inter/InterDisplay-Black.woff2

108 KB
Binary file not shown.
114 KB
Binary file not shown.

assets/inter/InterDisplay-Bold.woff2

111 KB
Binary file not shown.
118 KB
Binary file not shown.
111 KB
Binary file not shown.
Binary file not shown.
110 KB
Binary file not shown.
Binary file not shown.
114 KB
Binary file not shown.

assets/inter/InterDisplay-Light.woff2

110 KB
Binary file not shown.
117 KB
Binary file not shown.
111 KB
Binary file not shown.
118 KB
Binary file not shown.
106 KB
Binary file not shown.
111 KB
Binary file not shown.
118 KB
Binary file not shown.

assets/inter/InterDisplay-Thin.woff2

106 KB
Binary file not shown.
113 KB
Binary file not shown.
379 KB
Binary file not shown.

assets/inter/InterVariable.woff2

344 KB
Binary file not shown.

assets/inter/inter.css

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
/* Variable fonts usage:
2+
:root { font-family: "Inter", sans-serif; }
3+
@supports (font-variation-settings: normal) {
4+
:root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
5+
} */
6+
@font-face {
7+
font-family: InterVariable;
8+
font-style: normal;
9+
font-weight: 100 900;
10+
font-display: swap;
11+
src: url("InterVariable.woff2") format("woff2");
12+
}
13+
@font-face {
14+
font-family: InterVariable;
15+
font-style: italic;
16+
font-weight: 100 900;
17+
font-display: swap;
18+
src: url("InterVariable-Italic.woff2") format("woff2");
19+
}
20+
21+
/* static fonts */
22+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("Inter-Thin.woff2") format("woff2"); }
23+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("Inter-ThinItalic.woff2") format("woff2"); }
24+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("Inter-ExtraLight.woff2") format("woff2"); }
25+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("Inter-ExtraLightItalic.woff2") format("woff2"); }
26+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("Inter-Light.woff2") format("woff2"); }
27+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("Inter-LightItalic.woff2") format("woff2"); }
28+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("Inter-Regular.woff2") format("woff2"); }
29+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("Inter-Italic.woff2") format("woff2"); }
30+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("Inter-Medium.woff2") format("woff2"); }
31+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("Inter-MediumItalic.woff2") format("woff2"); }
32+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("Inter-SemiBold.woff2") format("woff2"); }
33+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("Inter-SemiBoldItalic.woff2") format("woff2"); }
34+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("Inter-Bold.woff2") format("woff2"); }
35+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("Inter-BoldItalic.woff2") format("woff2"); }
36+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("Inter-ExtraBold.woff2") format("woff2"); }
37+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("Inter-ExtraBoldItalic.woff2") format("woff2"); }
38+
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("Inter-Black.woff2") format("woff2"); }
39+
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2") format("woff2"); }
40+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 100; font-display: swap; src: url("InterDisplay-Thin.woff2") format("woff2"); }
41+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 100; font-display: swap; src: url("InterDisplay-ThinItalic.woff2") format("woff2"); }
42+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2") format("woff2"); }
43+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2"); }
44+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 300; font-display: swap; src: url("InterDisplay-Light.woff2") format("woff2"); }
45+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2") format("woff2"); }
46+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 400; font-display: swap; src: url("InterDisplay-Regular.woff2") format("woff2"); }
47+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 400; font-display: swap; src: url("InterDisplay-Italic.woff2") format("woff2"); }
48+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 500; font-display: swap; src: url("InterDisplay-Medium.woff2") format("woff2"); }
49+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 500; font-display: swap; src: url("InterDisplay-MediumItalic.woff2") format("woff2"); }
50+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBold.woff2") format("woff2"); }
51+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2"); }
52+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 700; font-display: swap; src: url("InterDisplay-Bold.woff2") format("woff2"); }
53+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 700; font-display: swap; src: url("InterDisplay-BoldItalic.woff2") format("woff2"); }
54+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBold.woff2") format("woff2"); }
55+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2"); }
56+
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 900; font-display: swap; src: url("InterDisplay-Black.woff2") format("woff2"); }
57+
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 900; font-display: swap; src: url("InterDisplay-BlackItalic.woff2") format("woff2"); }
58+
59+
@font-feature-values InterVariable {
60+
@character-variant {
61+
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
62+
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
63+
alt-1: 1; /* Alternate one */
64+
alt-3: 9; /* Flat-top three */
65+
open-4: 2; /* Open four */
66+
open-6: 3; /* Open six */
67+
open-9: 4; /* Open nine */
68+
lc-l-with-tail: 5; /* Lower-case L with tail */
69+
simplified-u: 6; /* Simplified u */
70+
alt-double-s: 7; /* Alternate German double s */
71+
uc-i-with-serif: 8; /* Upper-case i with serif */
72+
uc-g-with-spur: 10; /* Capital G with spur */
73+
single-story-a: 11; /* Single-story a */
74+
compact-lc-f: 12; /* Compact f */
75+
compact-lc-t: 13; /* Compact t */
76+
}
77+
@styleset {
78+
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
79+
open-digits: 1; /* Open digits */
80+
disambiguation: 2; /* Disambiguation (with zero) */
81+
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
82+
round-quotes-and-commas: 3; /* Round quotes & commas */
83+
square-punctuation: 7; /* Square punctuation */
84+
square-quotes: 8; /* Square quotes */
85+
circled-characters: 5; /* Circled characters */
86+
squared-characters: 6; /* Squared characters */
87+
}
88+
}
89+
@font-feature-values Inter {
90+
@character-variant {
91+
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
92+
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
93+
alt-1: 1; /* Alternate one */
94+
alt-3: 9; /* Flat-top three */
95+
open-4: 2; /* Open four */
96+
open-6: 3; /* Open six */
97+
open-9: 4; /* Open nine */
98+
lc-l-with-tail: 5; /* Lower-case L with tail */
99+
simplified-u: 6; /* Simplified u */
100+
alt-double-s: 7; /* Alternate German double s */
101+
uc-i-with-serif: 8; /* Upper-case i with serif */
102+
uc-g-with-spur: 10; /* Capital G with spur */
103+
single-story-a: 11; /* Single-story a */
104+
compact-lc-f: 12; /* Compact f */
105+
compact-lc-t: 13; /* Compact t */
106+
}
107+
@styleset {
108+
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
109+
open-digits: 1; /* Open digits */
110+
disambiguation: 2; /* Disambiguation (with zero) */
111+
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
112+
round-quotes-and-commas: 3; /* Round quotes & commas */
113+
square-punctuation: 7; /* Square punctuation */
114+
square-quotes: 8; /* Square quotes */
115+
circled-characters: 5; /* Circled characters */
116+
squared-characters: 6; /* Squared characters */
117+
}
118+
}
119+
@font-feature-values InterDisplay {
120+
@character-variant {
121+
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
122+
cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
123+
alt-1: 1; /* Alternate one */
124+
alt-3: 9; /* Flat-top three */
125+
open-4: 2; /* Open four */
126+
open-6: 3; /* Open six */
127+
open-9: 4; /* Open nine */
128+
lc-l-with-tail: 5; /* Lower-case L with tail */
129+
simplified-u: 6; /* Simplified u */
130+
alt-double-s: 7; /* Alternate German double s */
131+
uc-i-with-serif: 8; /* Upper-case i with serif */
132+
uc-g-with-spur: 10; /* Capital G with spur */
133+
single-story-a: 11; /* Single-story a */
134+
compact-lc-f: 12; /* Compact f */
135+
compact-lc-t: 13; /* Compact t */
136+
}
137+
@styleset {
138+
ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
139+
open-digits: 1; /* Open digits */
140+
disambiguation: 2; /* Disambiguation (with zero) */
141+
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
142+
round-quotes-and-commas: 3; /* Round quotes & commas */
143+
square-punctuation: 7; /* Square punctuation */
144+
square-quotes: 8; /* Square quotes */
145+
circled-characters: 5; /* Circled characters */
146+
squared-characters: 6; /* Squared characters */
147+
}
148+
}

header.org

+1-3

sitemap.org

+1-1

0 commit comments

Comments
 (0)