Skip to content

Commit 0ad1837

Browse files
Local fonts, remove unincluted header template
1 parent 66e2c20 commit 0ad1837

File tree

7 files changed

+56
-12
lines changed

7 files changed

+56
-12
lines changed
45.1 KB
Binary file not shown.
7.63 KB
Binary file not shown.
8.39 KB
Binary file not shown.
8.46 KB
Binary file not shown.
7.7 KB
Binary file not shown.

_static/pyos.css

Lines changed: 56 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
/* Darkmode Adjustments*/
1111
--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;
1217
}
1318

1419
html, body {
@@ -32,7 +37,6 @@ html, body {
3237

3338
html, body {
3439
font-size: 1.02rem;
35-
font-family: 'Poppins', sans-serif!important;
3640
}
3741

3842
body p {
@@ -43,14 +47,10 @@ body p {
4347
margin-bottom: 70px!important;
4448
}
4549

46-
h2, h3, h4 {
47-
font-family: 'Poppins', sans-serif!important;
48-
}
49-
5050
h1 {
5151
margin-top: 10px;
5252
margin-bottom: 40px;
53-
font-family: 'Itim' !important;
53+
font-family: var(--pyos-font-family-h1) !important;
5454
color: var(--pyos-h1-color);
5555
}
5656
h2 {
@@ -198,3 +198,53 @@ html[data-theme=dark] {
198198
--pst-color-link-hover: var(--pyos-dm-color-primary);
199199
--pyos-h1-color: var(--pyos-color-light);
200200
}
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+

_templates/header.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)