1
0

More font styles and formats

This commit is contained in:
2021-12-02 13:09:11 +01:00
parent d4f9870a56
commit 30ba45ccb1
10 changed files with 23 additions and 2 deletions

View File

@ -1,12 +1,33 @@
@font-face {
font-family: spectral;
src: url("/fonts/spectral-regular.ttf") format("truetype");
font-style: normal;
font-weight: 400;
src: url("/fonts/spectral-regular.woff2") format("woff2"),
url("/fonts/spectral-regular.woff") format("woff"),
url("/fonts/spectral-regular.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: normal;
font-weight: 700;
src: url("/fonts/spectral-bold.woff2") format("woff2"),
url("/fonts/spectral-bold.woff") format("woff"),
url("/fonts/spectral-bold.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: italic;
font-weight: 400;
src: url("/fonts/spectral-italic.woff2") format("woff2"),
url("/fonts/spectral-italic.woff") format("woff"),
url("/fonts/spectral-italic.ttf") format("truetype");
}
body {
font-family: spectral, serif;
text-rendering: optimizeLegibility;
font-size: 12pt;
font-size: 18px;
line-height: 1.5;
max-width: 60em;