diff --git a/fonts/webfonts/Platypi-Italic[wght].woff2 b/fonts/Platypi-Italic[wght].woff2 similarity index 100% rename from fonts/webfonts/Platypi-Italic[wght].woff2 rename to fonts/Platypi-Italic[wght].woff2 diff --git a/fonts/webfonts/Platypi[wght].woff2 b/fonts/Platypi[wght].woff2 similarity index 100% rename from fonts/webfonts/Platypi[wght].woff2 rename to fonts/Platypi[wght].woff2 diff --git a/fonts/variable/Platypi-Italic[wght].ttf b/fonts/variable/Platypi-Italic[wght].ttf deleted file mode 100644 index 82be21e..0000000 Binary files a/fonts/variable/Platypi-Italic[wght].ttf and /dev/null differ diff --git a/fonts/variable/Platypi[wght].ttf b/fonts/variable/Platypi[wght].ttf deleted file mode 100644 index ebcd999..0000000 Binary files a/fonts/variable/Platypi[wght].ttf and /dev/null differ diff --git a/fonts/webfonts/Platypi-Bold.woff2 b/fonts/webfonts/Platypi-Bold.woff2 deleted file mode 100644 index e698e53..0000000 Binary files a/fonts/webfonts/Platypi-Bold.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-BoldItalic.woff2 b/fonts/webfonts/Platypi-BoldItalic.woff2 deleted file mode 100644 index 570033b..0000000 Binary files a/fonts/webfonts/Platypi-BoldItalic.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-ExtraBold.woff2 b/fonts/webfonts/Platypi-ExtraBold.woff2 deleted file mode 100644 index 7c9fda6..0000000 Binary files a/fonts/webfonts/Platypi-ExtraBold.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-ExtraBoldItalic.woff2 b/fonts/webfonts/Platypi-ExtraBoldItalic.woff2 deleted file mode 100644 index 269daf0..0000000 Binary files a/fonts/webfonts/Platypi-ExtraBoldItalic.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-Italic.woff2 b/fonts/webfonts/Platypi-Italic.woff2 deleted file mode 100644 index c04d21d..0000000 Binary files a/fonts/webfonts/Platypi-Italic.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-Light.woff2 b/fonts/webfonts/Platypi-Light.woff2 deleted file mode 100644 index f50c620..0000000 Binary files a/fonts/webfonts/Platypi-Light.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-LightItalic.woff2 b/fonts/webfonts/Platypi-LightItalic.woff2 deleted file mode 100644 index 9db81ca..0000000 Binary files a/fonts/webfonts/Platypi-LightItalic.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-Medium.woff2 b/fonts/webfonts/Platypi-Medium.woff2 deleted file mode 100644 index 1019aaf..0000000 Binary files a/fonts/webfonts/Platypi-Medium.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-MediumItalic.woff2 b/fonts/webfonts/Platypi-MediumItalic.woff2 deleted file mode 100644 index 5a3090c..0000000 Binary files a/fonts/webfonts/Platypi-MediumItalic.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-Regular.woff2 b/fonts/webfonts/Platypi-Regular.woff2 deleted file mode 100644 index b6d68c7..0000000 Binary files a/fonts/webfonts/Platypi-Regular.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-SemiBold.woff2 b/fonts/webfonts/Platypi-SemiBold.woff2 deleted file mode 100644 index be2ebca..0000000 Binary files a/fonts/webfonts/Platypi-SemiBold.woff2 and /dev/null differ diff --git a/fonts/webfonts/Platypi-SemiBoldItalic.woff2 b/fonts/webfonts/Platypi-SemiBoldItalic.woff2 deleted file mode 100644 index 0dae05c..0000000 Binary files a/fonts/webfonts/Platypi-SemiBoldItalic.woff2 and /dev/null differ diff --git a/print/print_style.css b/print/print_style.css index 223169b..d51ef4f 100644 --- a/print/print_style.css +++ b/print/print_style.css @@ -11,13 +11,15 @@ @font-face { font-family: 'Platypi'; - src: url('../fonts/webfonts/Platypi-Regular.woff2'); + src: url('../fonts/Platypi[wght].woff2'); + font-weight: 300 800; font-style: normal; } @font-face { font-family: 'Platypi'; - src: url('../fonts/webfonts/Platypi-Italic.woff2'); + src: url('../fonts/Platypi-Italic[wght].woff2'); + font-weight: 300 800; font-style: italic; } notes{ @@ -105,7 +107,8 @@ body .margin-note{ white-space: pre-wrap; } body{ - font-family: 'Platypi-Regular','platypi' ; + font-family: 'Platypi',serif ; + font-synthesis: none; line-height: 1.3; font-size: 9pt; letter-spacing: -0.1px; diff --git a/style.css b/style.css index b3a25d2..cb5cb4d 100644 --- a/style.css +++ b/style.css @@ -1,18 +1,21 @@ @font-face { - font-family: 'Platypi-Regular'; - src: url('./fonts/webfonts/Platypi-Regular.woff2'); + font-family: 'Platypi'; + src: url('../fonts/Platypi[wght].woff2'); + font-weight: 300 800; font-style: normal; } @font-face { - font-family: 'Platypi-Bold'; - src: url('./fonts/webfonts/Platypi-Bold.woff2'); - font-style: bold; + font-family: 'Platypi'; + src: url('../fonts/Platypi-Italic[wght].woff2'); + font-weight: 300 800; + font-style: italic; } body { background-color: #fffdfb; - font-family: 'Platypi-Regular', serif; + font-family: 'Platypi', serif; + font-synthesis: none; font-size: 41px; line-height: 3.5rem; margin: 0; @@ -44,14 +47,13 @@ body { } h1 { - font-family: 'Platypi-Bold', serif; + font-weight: 700; font-size: 50px; max-width: 20%; margin: 0; } .container h2 { - font-family: 'Platypi-Regular', serif; font-size: 40px; max-width: 30%; margin: 0;