Skip to content

Commit 059b5db

Browse files
authored
Merge pull request #1134 from skaiwlkr/font-update
Font update
2 parents 3487306 + f20c103 commit 059b5db

19 files changed

+29
-85
lines changed

source/_partials/usercentrics.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script id="usercentrics-cmp" data-settings-id="65ynhGFvE" src="https://app.usercentrics.eu/browser-ui/latest/bundle.js" defer></script>
22
<style id="usercentrics-styles">
33
[data-testid="uc-container"] {
4-
--font-family: 'Brandon Text', 'Brandon', 'Arial', sans-serif;
4+
--font-family: 'Inter Text', 'Arial', sans-serif;
55
--primary-color: #189eff;
66
--primary-color-fade: #189eff11;
77
--primary-color-fade-hover: #189eff22;

source/assets/css/_imports/api-badge.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151

5252
span {
53-
font: @main-font 'Brandon', Arial, sans-serif;
53+
font: @main-font 'Inter', Arial, sans-serif;
5454
font-weight: inherit;
5555
font-size: inherit;
5656
color: inherit;
Lines changed: 18 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,20 @@
1+
// Inter
12
@font-face {
2-
font-family: 'Brandon';
3-
src: url('../../fonts/2D7E1D_1_0.eot');
4-
src: url('../../fonts/2D7E1D_1_0.eot?#iefix') format('embedded-opentype'),
5-
url('../../fonts/2D7E1D_1_0.woff2') format('woff2'),
6-
url('../../fonts/2D7E1D_1_0.woff') format('woff'),
7-
url('../../fonts/2D7E1D_1_0.ttf') format('truetype'),
8-
url('../../fonts/2D7E1D_1_0.svg#wf') format('svg');
9-
10-
font-weight: 600;
11-
font-style: normal;
12-
}
13-
14-
@font-face {
15-
font-family: 'Brandon';
16-
src: url('../../fonts/2D7E1D_3_0.eot');
17-
src: url('../../fonts/2D7E1D_3_0.eot?#iefix') format('embedded-opentype'),
18-
url('../../fonts/2D7E1D_3_0.woff2') format('woff2'),
19-
url('../../fonts/2D7E1D_3_0.woff') format('woff'),
20-
url('../../fonts/2D7E1D_3_0.ttf') format('truetype'),
21-
url('../../fonts/2D7E1D_3_0.svg#wf') format('svg');
22-
23-
font-weight: 800;
24-
font-style: normal;
25-
}
26-
27-
@font-face {
28-
font-family: 'Brandon';
29-
src: url('../../fonts/2D7E1D_5_0.eot');
30-
src: url('../../fonts/2D7E1D_5_0.eot?#iefix') format('embedded-opentype'),
31-
url('../../fonts/2D7E1D_5_0.woff2') format('woff2'),
32-
url('../../fonts/2D7E1D_5_0.woff') format('woff'),
33-
url('../../fonts/2D7E1D_5_0.ttf') format('truetype'),
34-
url('../../fonts/2D7E1D_5_0.svg#wf') format('svg');
35-
36-
font-weight: 200;
37-
font-style: normal;
38-
}
39-
40-
@font-face {
41-
font-family: 'Brandon';
42-
src: url('../../fonts/2D7E1D_7_0.eot');
43-
src: url('../../fonts/2D7E1D_7_0.eot?#iefix') format('embedded-opentype'),
44-
url('../../fonts/2D7E1D_7_0.woff2') format('woff2'),
45-
url('../../fonts/2D7E1D_7_0.woff') format('woff'),
46-
url('../../fonts/2D7E1D_7_0.ttf') format('truetype'),
47-
url('../../fonts/2D7E1D_7_0.svg#wf') format('svg');
48-
49-
font-weight: 300;
50-
font-style: normal;
51-
}
52-
53-
@font-face {
54-
font-family: 'Brandon';
55-
src: url('../../fonts/2D7E1D_8_0.eot');
56-
src: url('../../fonts/2D7E1D_8_0.eot?#iefix') format('embedded-opentype'),
57-
url('../../fonts/2D7E1D_8_0.woff2') format('woff2'),
58-
url('../../fonts/2D7E1D_8_0.woff') format('woff'),
59-
url('../../fonts/2D7E1D_8_0.ttf') format('truetype'),
60-
url('../../fonts/2D7E1D_8_0.svg#wf') format('svg');
61-
62-
font-weight: 400;
63-
font-style: normal;
64-
}
65-
66-
@font-face {
67-
font-family: 'Brandon';
68-
src: url('../../fonts/2D7E1D_A_0.eot');
69-
src: url('../../fonts/2D7E1D_A_0.eot?#iefix') format('embedded-opentype'),
70-
url('../../fonts/2D7E1D_A_0.woff2') format('woff2'),
71-
url('../../fonts/2D7E1D_A_0.woff') format('woff'),
72-
url('../../fonts/2D7E1D_A_0.ttf') format('truetype'),
73-
url('../../fonts/2D7E1D_A_0.svg#wf') format('svg');
74-
font-weight: 100;
3+
font-family: Inter;
754
font-style: normal;
76-
}
5+
font-weight: 100 900;
6+
font-display: swap;
7+
src: local('Inter'),
8+
url('../../fonts/InterVariable.woff2') format('woff2');
9+
}
10+
11+
@font-face {
12+
font-family: Inter;
13+
font-style: italic;
14+
font-weight: 100 900;
15+
font-display: swap;
16+
src: local('Inter Italic'),
17+
url('../../fonts/InterVariable-Italic.woff2') format('woff2');
18+
}
19+
20+
@font-family-default: 'Inter', Arial, Helvetica, sans-serif;

source/assets/css/_imports/start.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
will-change: padding, opacity;
1111

1212
h1, h2, h3, h4 {
13-
font-family: 'Brandon', sansserif;
13+
font-family: 'Inter', sansserif;
1414
font-weight: 600;
1515
line-height: 140%;
1616
}
@@ -20,7 +20,7 @@
2020
}
2121

2222
a {
23-
font-family: 'Brandon', sansserif;
23+
font-family: 'Inter', sansserif;
2424
}
2525

2626
.wrapper {
@@ -145,7 +145,7 @@
145145
color: #FFF;
146146
font-weight: 600;
147147
text-align: left;
148-
font: 600 380% 'Brandon', sansserif;
148+
font: 600 380% 'Inter', sansserif;
149149
border-right: .1em solid rgba(255, 255, 255, 0.2);
150150
width: 11em;
151151
width: 11ch;

source/assets/css/basic.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* — Minor Section Heading —
2828
*/
2929
html, body {
30-
font: @main-font 'Brandon', Arial, sans-serif;
30+
font: @main-font 'Inter', Arial, sans-serif;
3131
color: @text-color;
3232
font-weight: 300;
3333
background: #FFF;
@@ -460,7 +460,7 @@ nav.navi--main:after {
460460
}
461461

462462
.navi--backlink-mobile {
463-
font-family: 'Brandon', Arial, sans-serif;
463+
font-family: 'Inter', Arial, sans-serif;
464464
font-weight: 400;
465465
display: block;
466466
height: 60px;
@@ -477,7 +477,7 @@ nav.navi--main:after {
477477
bottom: 0;
478478

479479
a {
480-
font-family: 'Brandon', Arial, sans-serif;
480+
font-family: 'Inter', Arial, sans-serif;
481481
display: block;
482482
height: 60px;
483483
line-height: 60px;
@@ -517,7 +517,7 @@ nav.navi--main:after {
517517
}
518518

519519
.navi--backlink {
520-
font-family: 'Brandon', Arial, sans-serif;
520+
font-family: 'Inter', Arial, sans-serif;
521521
font-weight: 400;
522522
display: block;
523523
height: 60px;
@@ -534,7 +534,7 @@ nav.navi--main:after {
534534
bottom: 0;
535535

536536
a {
537-
font-family: 'Brandon', Arial, sans-serif;
537+
font-family: 'Inter', Arial, sans-serif;
538538
display: block;
539539
height: 60px;
540540
line-height: 60px;
@@ -701,7 +701,7 @@ input#search-query {
701701
color: rgba(255, 255, 255, 1);
702702
font-weight: 400;
703703
background: rgba(205, 221, 247, 0.15);
704-
font-family: 'Brandon';
704+
font-family: 'Inter';
705705

706706
&::-ms-clear {
707707
display: none;
-28.6 KB
Binary file not shown.
-21.5 KB
Binary file not shown.
-28.1 KB
Binary file not shown.
-21.2 KB
Binary file not shown.
-28.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)