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