9
9
10
10
/* Darkmode Adjustments*/
11
11
--pyos-dm-color-primary : # C483E0 ;
12
+
13
+ /* Fonts (overrides base theme) */
14
+ --pst-font-family-heading : 'Poppins' , sans-serif;
15
+ --pst-font-family-base : 'Poppins' , sans-serif;
16
+ --pyos-font-family-h1 : 'Itim' , serif;
12
17
}
13
18
14
19
html , body {
@@ -32,7 +37,6 @@ html, body {
32
37
33
38
html , body {
34
39
font-size : 1.02rem ;
35
- font-family : 'Poppins' , sans-serif!important ;
36
40
}
37
41
38
42
body p {
@@ -43,14 +47,10 @@ body p {
43
47
margin-bottom : 70px !important ;
44
48
}
45
49
46
- h2 , h3 , h4 {
47
- font-family : 'Poppins' , sans-serif!important ;
48
- }
49
-
50
50
h1 {
51
51
margin-top : 10px ;
52
52
margin-bottom : 40px ;
53
- font-family : 'Itim' !important ;
53
+ font-family : var ( --pyos-font-family-h1 ) !important ;
54
54
color : var (--pyos-h1-color );
55
55
}
56
56
h2 {
@@ -198,3 +198,53 @@ html[data-theme=dark] {
198
198
--pst-color-link-hover : var (--pyos-dm-color-primary );
199
199
--pyos-h1-color : var (--pyos-color-light );
200
200
}
201
+
202
+
203
+ /* -------------------------------------- */
204
+ /* Generated by https://gwfh.mranftl.com/ */
205
+
206
+ /* poppins-regular - latin */
207
+ @font-face {
208
+ font-display : swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
209
+ font-family : 'Poppins' ;
210
+ font-style : normal;
211
+ font-weight : 400 ;
212
+ src : url ('./fonts/poppins-v20-latin-regular.woff2' ) format ('woff2' ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
213
+ }
214
+
215
+ /* poppins-italic - latin */
216
+ @font-face {
217
+ font-display : swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
218
+ font-family : 'Poppins' ;
219
+ font-style : italic;
220
+ font-weight : 400 ;
221
+ src : url ('./fonts/poppins-v20-latin-italic.woff2' ) format ('woff2' ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
222
+ }
223
+
224
+ /* poppins-700 - latin */
225
+ @font-face {
226
+ font-display : swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
227
+ font-family : 'Poppins' ;
228
+ font-style : normal;
229
+ font-weight : 700 ;
230
+ src : url ('./fonts/poppins-v20-latin-700.woff2' ) format ('woff2' ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
231
+ }
232
+
233
+ /* poppins-700italic - latin */
234
+ @font-face {
235
+ font-display : swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
236
+ font-family : 'Poppins' ;
237
+ font-style : italic;
238
+ font-weight : 700 ;
239
+ src : url ('./fonts/poppins-v20-latin-700italic.woff2' ) format ('woff2' ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
240
+ }
241
+
242
+ /* itim-regular - latin */
243
+ @font-face {
244
+ font-display : swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
245
+ font-family : 'Itim' ;
246
+ font-style : normal;
247
+ font-weight : 400 ;
248
+ src : url ('./fonts/itim-v14-latin-regular.woff2' ) format ('woff2' ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
249
+ }
250
+
0 commit comments