forked from NoLog.cz/public-web
Move fonts to repository
This commit is contained in:
parent
d6109451e3
commit
ab4f82f28e
7 changed files with 25 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" }}
|
||||||
|
|
BIN
static/fonts/SplineSans-Bold.woff2
Normal file
BIN
static/fonts/SplineSans-Bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/SplineSans-Light.woff2
Normal file
BIN
static/fonts/SplineSans-Light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/SplineSans-Medium.woff2
Normal file
BIN
static/fonts/SplineSans-Medium.woff2
Normal file
Binary file not shown.
BIN
static/fonts/SplineSans-Regular.woff2
Normal file
BIN
static/fonts/SplineSans-Regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/SplineSans-SemiBold.woff2
Normal file
BIN
static/fonts/SplineSans-SemiBold.woff2
Normal file
Binary file not shown.
Reference in a new issue