diff --git a/_static/fonts/itim-v14-latin-regular.woff2 b/_static/fonts/itim-v14-latin-regular.woff2 new file mode 100644 index 000000000..985ecedff Binary files /dev/null and b/_static/fonts/itim-v14-latin-regular.woff2 differ diff --git a/_static/fonts/poppins-v20-latin-700.woff2 b/_static/fonts/poppins-v20-latin-700.woff2 new file mode 100644 index 000000000..bf022fc77 Binary files /dev/null and b/_static/fonts/poppins-v20-latin-700.woff2 differ diff --git a/_static/fonts/poppins-v20-latin-700italic.woff2 b/_static/fonts/poppins-v20-latin-700italic.woff2 new file mode 100644 index 000000000..70974d82d Binary files /dev/null and b/_static/fonts/poppins-v20-latin-700italic.woff2 differ diff --git a/_static/fonts/poppins-v20-latin-italic.woff2 b/_static/fonts/poppins-v20-latin-italic.woff2 new file mode 100644 index 000000000..11123368e Binary files /dev/null and b/_static/fonts/poppins-v20-latin-italic.woff2 differ diff --git a/_static/fonts/poppins-v20-latin-regular.woff2 b/_static/fonts/poppins-v20-latin-regular.woff2 new file mode 100644 index 000000000..b69e0091c Binary files /dev/null and b/_static/fonts/poppins-v20-latin-regular.woff2 differ diff --git a/_static/pyos.css b/_static/pyos.css index 5688b7e69..b47b9ec26 100644 --- a/_static/pyos.css +++ b/_static/pyos.css @@ -9,6 +9,12 @@ /* Darkmode Adjustments*/ --pyos-dm-color-primary: #C483E0; + + /* Fonts (overrides base theme) */ + --pst-font-family-heading: 'Poppins', sans-serif; + --pst-font-family-base: 'Poppins', sans-serif; + --pyos-font-family-h1: 'Itim', serif; + } html, body { @@ -32,7 +38,6 @@ html, body { html, body { font-size: 1.02rem; - font-family: 'Poppins', sans-serif!important; } body p { @@ -43,14 +48,10 @@ body p { margin-bottom: 70px!important; } -h2, h3, h4 { - font-family: 'Poppins', sans-serif!important; -} - h1 { margin-top: 10px; margin-bottom: 40px; - font-family: 'Itim' !important; + font-family: var(--pyos-font-family-h1) !important; color: var(--pyos-h1-color); } h2 { @@ -198,3 +199,52 @@ html[data-theme=dark] { --pst-color-link-hover: var(--pyos-dm-color-primary); --pyos-h1-color: var(--pyos-color-light); } + + +/* -------------------------------------- */ +/* Generated by https://gwfh.mranftl.com/ */ + +/* poppins-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + src: url('./fonts/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* poppins-italic - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Poppins'; + font-style: italic; + font-weight: 400; + src: url('./fonts/poppins-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* poppins-700 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Poppins'; + font-style: normal; + font-weight: 700; + src: url('./fonts/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* poppins-700italic - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Poppins'; + font-style: italic; + font-weight: 700; + src: url('./fonts/poppins-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* itim-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Itim'; + font-style: normal; + font-weight: 400; + src: url('./fonts/itim-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} diff --git a/_templates/header.html b/_templates/header.html deleted file mode 100644 index d261d884c..000000000 --- a/_templates/header.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -