Skip to content

Commit 1a0aa15

Browse files
committed
Update PT Sans script with latin-ext charset
1 parent 21e52c5 commit 1a0aa15

36 files changed

+83
-34235
lines changed

assets/css/editor-style.css

+62-30
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,50 @@
11
@font-face {
22
font-family: GrueneType;
3-
src: url("../fonts/GrueneType-BlackCondensedItalic.eot");
4-
src: url("../fonts/GrueneType-BlackCondensedItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/GrueneType-BlackCondensedItalic.woff2") format("woff2"), url("../fonts/GrueneType-BlackCondensedItalic.woff") format("woff"), url("../fonts/GrueneType-BlackCondensedItalic.ttf") format("truetype"), url("../fonts/GrueneType-BlackCondensedItalic.svg#GrueneType-BlackCondensedItalic") format("svg");
3+
src: url("assets/fonts/GrueneType-BlackCondensedItalic.woff2") format("woff2"), url("assets/fonts/GrueneType-BlackCondensedItalic.ttf") format("truetype");
54
font-weight: 900;
65
font-style: normal;
7-
font-display: swap; }
6+
font-display: swap;
7+
}
88

99
@font-face {
10-
font-family: PTSans;
11-
src: url("../fonts/PTSans-Regular.eot");
12-
src: url("../fonts/PTSans-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans-Regular.woff2") format("woff2"), url("../fonts/PTSans-Regular.woff") format("woff"), url("../fonts/PTSans-Regular.ttf") format("truetype"), url("../fonts/PTSans-Regular.svg#PTSans-Regular") format("svg");
10+
font-family: "PT Sans";
11+
font-style: normal;
1312
font-weight: 400;
13+
font-display: fallback;
14+
src: url('../fonts/pt-sans-v17-latin_latin-ext-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin_latin-ext-regular.ttf') format('truetype');
15+
font-stretch: normal;
16+
}
17+
18+
@font-face {
19+
font-family: "PT Sans";
20+
font-style: italic;
21+
font-weight: 400;
22+
font-display: fallback;
23+
src: url('../fonts/pt-sans-v17-latin_latin-ext-italic.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin_latin-ext-italic.ttf') format('truetype');
24+
font-stretch: normal;
25+
}
26+
27+
@font-face {
28+
font-family: "PT Sans";
1429
font-style: normal;
15-
font-display: swap; }
30+
font-weight: 700;
31+
font-display: fallback;
32+
src: url('../fonts/pt-sans-v17-latin_latin-ext-700.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin_latin-ext-700.ttf') format('truetype');
33+
font-stretch: normal;
34+
}
1635

1736
@font-face {
18-
font-family: PTSans;
19-
src: url("../fonts/PTSans-Bold.eot");
20-
src: url("../fonts/PTSans-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans-Bold.woff2") format("woff2"), url("../fonts/PTSans-Bold.woff") format("woff"), url("../fonts/PTSans-Bold.ttf") format("truetype"), url("../fonts/PTSans-Bold.svg#PTSans-Bold") format("svg");
37+
font-family: "PT Sans";
38+
font-style: italic;
2139
font-weight: 700;
22-
font-style: normal;
23-
font-display: swap; }
40+
font-display: fallback;
41+
src: url('../fonts/pt-sans-v17-latin_latin-ext-700italic.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin_latin-ext-700italic.ttf') format('truetype');
42+
font-stretch: normal;
43+
}
44+
2445

2546
.editor-styles-wrapper {
26-
font-family: "PTSans";
47+
font-family: "PT Sans", sans-serif;
2748
font-size: 1.1875rem;
2849
line-height: 1.5;
2950
}
@@ -118,20 +139,21 @@
118139
}
119140

120141
.wp-block-button__link {
121-
font-family: "PTSans";
142+
font-family: "PT Sans", sans-serif;
122143
background-color: #008939;
123144
color: #fff;
124145
text-transform: uppercase;
125146
font-size: 1rem;
126147
border-radius: 3px;
127148
}
128149

129-
.wp-block-pullquote{
150+
.wp-block-pullquote {
130151
border-top: 0;
131152
border-bottom: 0;
132153
}
133154

134-
.wp-block-media-text.person .wp-block-media-text__media img, .wp-block-media-text.person .wp-block-image img {
155+
.wp-block-media-text.person .wp-block-media-text__media img,
156+
.wp-block-media-text.person .wp-block-image img {
135157
border-top-left-radius: 3px;
136158
border-top-right-radius: 3px;
137159
border-bottom-left-radius: 0;
@@ -183,15 +205,17 @@
183205
font-size: 25px;
184206
}
185207

186-
.editor-styles-wrapper .has-white-background-color .h1, .h2, .h3 {
208+
.editor-styles-wrapper .has-white-background-color .h1,
209+
.h2,
210+
.h3 {
187211
color: #005437;
188212
}
189213

190214

191215
@media (min-width: 768px) {
216+
192217
.wrap h1,
193-
h1
194-
.h1,
218+
h1 .h1,
195219
.has-huge-font-size {
196220
font-size: 45px;
197221
line-height: 1.3em;
@@ -233,8 +257,8 @@
233257
}
234258

235259
.styled-layout .wp-block-group {
236-
padding-top: 100px;
237-
padding-bottom: 100px;
260+
padding-top: 100px;
261+
padding-bottom: 100px;
238262
}
239263

240264
/* Main column width */
@@ -260,10 +284,12 @@
260284
.same-height .wp-block-column .wp-block-image img {
261285
max-height: 230px;
262286
}
287+
263288
.wp-block-column {
264289
margin-bottom: 0;
265290
}
266291
}
292+
267293
.wp-block-column img {
268294
width: 100%;
269295
object-fit: cover;
@@ -310,11 +336,11 @@ p a {
310336
}
311337

312338
.theme--default .wp-block-rss .wp-block-rss__item-title {
313-
font-family: PTSans;
339+
font-family: "PT Sans", sans-serif;
314340
}
315341

316342
.theme--contrast .wp-block-rss .wp-block-rss__item-title {
317-
font-family: PTSans;
343+
font-family: "PT Sans", sans-serif;
318344
}
319345

320346
@media (min-width: 768px) {
@@ -372,7 +398,7 @@ p a {
372398
text-transform: uppercase;
373399
}
374400

375-
.editor-styles-wrapper .has-background.textbalken {
401+
.editor-styles-wrapper .has-background.textbalken {
376402
font-family: "GrueneType";
377403
}
378404

@@ -413,7 +439,8 @@ p a {
413439
gap: 0;
414440
}
415441

416-
.wp-block-columns .wp-block-column p.textbalken, .wp-block-columns .wp-block-column ul.textbalken {
442+
.wp-block-columns .wp-block-column p.textbalken,
443+
.wp-block-columns .wp-block-column ul.textbalken {
417444
padding: 0 0.5em;
418445
}
419446

@@ -471,9 +498,10 @@ p a {
471498
}
472499
}
473500

474-
.styled-layout .wp-block-group.wp-block-group-is-layout-flow > h2, .styled-layout .wp-block-group.wp-block-group-is-layout-flow > .h2,
475-
.styled-layout .wp-block-group .wp-block-group__inner-container > h2,
476-
.styled-layout .wp-block-group .wp-block-group__inner-container > .h2 {
501+
.styled-layout .wp-block-group.wp-block-group-is-layout-flow>h2,
502+
.styled-layout .wp-block-group.wp-block-group-is-layout-flow>.h2,
503+
.styled-layout .wp-block-group .wp-block-group__inner-container>h2,
504+
.styled-layout .wp-block-group .wp-block-group__inner-container>.h2 {
477505
margin-bottom: 70px;
478506
}
479507

@@ -485,6 +513,7 @@ p a {
485513
.wp-block-group {
486514
position: relative;
487515
}
516+
488517
.wp-block-group__inner-container {
489518
max-width: 1200px;
490519
position: relative;
@@ -495,7 +524,8 @@ p a {
495524
background-size: cover;
496525
background-position: top;
497526
}
498-
.sunflower-has-background-dim > * {
527+
528+
.sunflower-has-background-dim>* {
499529
z-index: 30;
500530
}
501531

@@ -510,6 +540,7 @@ p a {
510540
opacity: 0.3;
511541
background-color: #000;
512542
}
543+
513544
.wp-block-group.alignfull.has-background {
514545
width: 100vw;
515546
display: flex;
@@ -521,6 +552,7 @@ p a {
521552
padding-left: 5vw;
522553
padding-right: 5vw;
523554
}
555+
524556
.bg-white {
525-
background-color: #fff;
557+
background-color: #fff;
526558
}
-90.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)