mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-25 18:23:58 +01:00
Self-hosted fonts
This commit is contained in:
parent
07702c7b02
commit
6fb086475a
|
@ -1,4 +1,3 @@
|
|||
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@700&display=swap");
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,4 @@
|
|||
@import '_vars'
|
||||
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700&display=swap')
|
||||
|
||||
html
|
||||
scroll-behavior: smooth
|
||||
|
|
40
web/static/css/fonts.css
Normal file
40
web/static/css/fonts.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* syne-regular - latin */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Syne';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/static/fonts/syne-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
/* syne-500 - latin */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Syne';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('/static/fonts/syne-v16-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
/* syne-600 - latin */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Syne';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('/static/fonts/syne-v16-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
/* syne-700 - latin */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Syne';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('/static/fonts/syne-v16-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
/* syne-800 - latin */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Syne';
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: url('/static/fonts/syne-v16-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
BIN
web/static/fonts/syne-v16-latin-500.woff2
Normal file
BIN
web/static/fonts/syne-v16-latin-500.woff2
Normal file
Binary file not shown.
BIN
web/static/fonts/syne-v16-latin-600.woff2
Normal file
BIN
web/static/fonts/syne-v16-latin-600.woff2
Normal file
Binary file not shown.
BIN
web/static/fonts/syne-v16-latin-700.woff2
Normal file
BIN
web/static/fonts/syne-v16-latin-700.woff2
Normal file
Binary file not shown.
BIN
web/static/fonts/syne-v16-latin-800.woff2
Normal file
BIN
web/static/fonts/syne-v16-latin-800.woff2
Normal file
Binary file not shown.
BIN
web/static/fonts/syne-v16-latin-regular.woff2
Normal file
BIN
web/static/fonts/syne-v16-latin-regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in a new issue