Skip to content
Snippets Groups Projects
Commit e5135da9 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

host fonts locally

parent a08b1be3
No related branches found
No related tags found
No related merge requests found
File added
/* bebas-neue-regular - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Bebas Neue';
font-style: normal;
font-weight: 400;
src: url('./bebas-neue-v10-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
File added
File added
File added
File added
/* source-serif-4-regular - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Source Serif 4';
font-style: normal;
font-weight: 400;
src: url('./source-serif-4-v7-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-italic - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Source Serif 4';
font-style: italic;
font-weight: 400;
src: url('./source-serif-4-v7-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-700 - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Source Serif 4';
font-style: normal;
font-weight: 700;
src: url('./source-serif-4-v7-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-700italic - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Source Serif 4';
font-style: italic;
font-weight: 700;
src: url('./source-serif-4-v7-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
...@@ -28,7 +28,11 @@ ...@@ -28,7 +28,11 @@
<link rel="stylesheet" type="text/css" href="{% static 'fonts/pirati-ui/style.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'fonts/pirati-ui/style.css' %}">
<link <link
rel="stylesheet" rel="stylesheet"
href="https://gfonts.pirati.cz/css2?family=Bebas+Neue&family=Source+Serif+4:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" href="{% static 'fonts/bebas-neue/style.css' %}"
>
<link
rel="stylesheet"
href="{% static 'fonts/source-serif/style.css' %}"
> >
<link rel="icon" type="image/png" href="{% static 'images/logo_big.png' %}"> <link rel="icon" type="image/png" href="{% static 'images/logo_big.png' %}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment