Move fonts to repository

This commit is contained in:
Ondřej 2022-10-27 14:58:41 +02:00
parent d6109451e3
commit ab4f82f28e
7 changed files with 25 additions and 3 deletions

View file

@ -871,6 +871,10 @@ video {
font-weight: 500; font-weight: 500;
} }
.italic {
font-style: italic;
}
.leading-normal { .leading-normal {
line-height: 1.5; line-height: 1.5;
} }

View file

@ -1,6 +1,24 @@
<link rel="preconnect" href="https://fonts.googleapis.com" /> <style>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> @font-face {
<link href="https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet" /> font-family: "Spline Sans";
src: url({{ "fonts/SplineSans-Regular.woff2" | relURL }}) format('woff');
font-weight: 400;
}
@font-face {
font-family: "Spline Sans";
src: url({{ "fonts/SplineSans-Medium.woff2" | relURL }}) format('woff');
font-weight: 500;
}
@font-face {
font-family: "Spline Sans";
src: url({{ "fonts/SplineSans-Bold.woff2" | relURL }}) format('woff');
font-weight: 700;
}
</style>
<link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet" /> <link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet" />
{{ $style := resources.Get "style.css" }} {{ $style := resources.Get "style.css" }}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.