fixes font src url
This commit is contained in:
parent
e5466d8de9
commit
46c0a96540
@ -1,8 +1,8 @@
|
||||
@font-face {
|
||||
font-family: 'EB Garamond 12';
|
||||
src: local('EB Garamond 12 Italic'), local('EBGaramond12-Italic'),
|
||||
url('EBGaramond12-Italic.woff2') format('woff2'),
|
||||
url('EBGaramond12-Italic.woff') format('woff');
|
||||
url('/fonts/EBGaramond12-Italic.woff2') format('woff2'),
|
||||
url('/fonts/EBGaramond12-Italic.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
@ -11,8 +11,8 @@
|
||||
@font-face {
|
||||
font-family: 'EB Garamond 12';
|
||||
src: local('EB Garamond 12 Regular'), local('EBGaramond12-Regular'),
|
||||
url('EBGaramond12-Regular.woff2') format('woff2'),
|
||||
url('EBGaramond12-Regular.woff') format('woff');
|
||||
url('/fonts/EBGaramond12-Regular.woff2') format('woff2'),
|
||||
url('/fonts/EBGaramond12-Regular.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@ -21,8 +21,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka'),
|
||||
url('Iosevka.woff2') format('woff2'),
|
||||
url('Iosevka.woff') format('woff');
|
||||
url('/fonts/Iosevka.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@ -31,8 +31,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka Bold'), local('Iosevka-Bold'),
|
||||
url('Iosevka-Bold.woff2') format('woff2'),
|
||||
url('Iosevka-Bold.woff') format('woff');
|
||||
url('/fonts/Iosevka-Bold.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@ -41,8 +41,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka Bold Italic'), local('Iosevka-Bold-Italic'),
|
||||
url('Iosevka-Bold-Italic.woff2') format('woff2'),
|
||||
url('Iosevka-Bold-Italic.woff') format('woff');
|
||||
url('/fonts/Iosevka-Bold-Italic.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka-Bold-Italic.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
@ -51,8 +51,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka Light'), local('Iosevka-Light'),
|
||||
url('Iosevka-Light.woff2') format('woff2'),
|
||||
url('Iosevka-Light.woff') format('woff');
|
||||
url('/fonts/Iosevka-Light.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka-Light.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@ -61,8 +61,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka Light Italic'), local('Iosevka-Light-Italic'),
|
||||
url('Iosevka-Light-Italic.woff2') format('woff2'),
|
||||
url('Iosevka-Light-Italic.woff') format('woff');
|
||||
url('/fonts/Iosevka-Light-Italic.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka-Light-Italic.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
@ -71,8 +71,8 @@
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: local('Iosevka Oblique'), local('Iosevka-Oblique'),
|
||||
url('Iosevka-Oblique.woff2') format('woff2'),
|
||||
url('Iosevka-Oblique.woff') format('woff');
|
||||
url('/fonts/Iosevka-Oblique.woff2') format('woff2'),
|
||||
url('/fonts/Iosevka-Oblique.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
|
@ -1,2 +1,2 @@
|
||||
$font-garamond: 'EB Garamond 12', serif;
|
||||
$font-iosevka: 'Iosevka', monospace;
|
||||
$font-garamond: 'EB Garamond 12', 'Garamond', 'Baskerville', 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif;
|
||||
$font-iosevka: 'Iosevka', Consolas, 'Liberation Mono', Menlo, monospace;
|
||||
|
Loading…
x
Reference in New Issue
Block a user