font cleaning up

master
Stephen Kerr 5 months ago
parent 1d32c37c47
commit dc39fff145

Binary file not shown.

Binary file not shown.

@ -11,13 +11,15 @@
@font-face { @font-face {
font-family: 'Platypi'; font-family: 'Platypi';
src: url('../fonts/webfonts/Platypi-Regular.woff2'); src: url('../fonts/Platypi[wght].woff2');
font-weight: 300 800;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Platypi'; font-family: 'Platypi';
src: url('../fonts/webfonts/Platypi-Italic.woff2'); src: url('../fonts/Platypi-Italic[wght].woff2');
font-weight: 300 800;
font-style: italic; font-style: italic;
} }
notes{ notes{
@ -105,7 +107,8 @@ body .margin-note{
white-space: pre-wrap; white-space: pre-wrap;
} }
body{ body{
font-family: 'Platypi-Regular','platypi' ; font-family: 'Platypi',serif ;
font-synthesis: none;
line-height: 1.3; line-height: 1.3;
font-size: 9pt; font-size: 9pt;
letter-spacing: -0.1px; letter-spacing: -0.1px;

@ -1,18 +1,21 @@
@font-face { @font-face {
font-family: 'Platypi-Regular'; font-family: 'Platypi';
src: url('./fonts/webfonts/Platypi-Regular.woff2'); src: url('../fonts/Platypi[wght].woff2');
font-weight: 300 800;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Platypi-Bold'; font-family: 'Platypi';
src: url('./fonts/webfonts/Platypi-Bold.woff2'); src: url('../fonts/Platypi-Italic[wght].woff2');
font-style: bold; font-weight: 300 800;
font-style: italic;
} }
body { body {
background-color: #fffdfb; background-color: #fffdfb;
font-family: 'Platypi-Regular', serif; font-family: 'Platypi', serif;
font-synthesis: none;
font-size: 41px; font-size: 41px;
line-height: 3.5rem; line-height: 3.5rem;
margin: 0; margin: 0;
@ -44,14 +47,13 @@ body {
} }
h1 { h1 {
font-family: 'Platypi-Bold', serif; font-weight: 700;
font-size: 50px; font-size: 50px;
max-width: 20%; max-width: 20%;
margin: 0; margin: 0;
} }
.container h2 { .container h2 {
font-family: 'Platypi-Regular', serif;
font-size: 40px; font-size: 40px;
max-width: 30%; max-width: 30%;
margin: 0; margin: 0;

Loading…
Cancel
Save