Fix @font-face to woff fonts

This commit is contained in:
Kujiu 2020-07-12 02:00:34 +02:00
parent 43bf3b0ac8
commit f2e0921a3c
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
6 changed files with 13 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -8,56 +8,56 @@
font-family: Hack; font-family: Hack;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src: url("fonts/hack/Hack-Regular.ttf"); src: url("fonts/hack/Hack-Regular.woff");
} }
@font-face { @font-face {
font-family: Hack; font-family: Hack;
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
src: url("fonts/hack/Hack-Bold.ttf"); src: url("fonts/hack/Hack-Bold.woff");
} }
@font-face { @font-face {
font-family: Hack; font-family: Hack;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
src: url("fonts/hack/Hack-BoldItalic.ttf"); src: url("fonts/hack/Hack-BoldItalic.woff");
} }
@font-face { @font-face {
font-family: Hack; font-family: Hack;
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
src: url("fonts/hack/Hack-Italic.ttf"); src: url("fonts/hack/Hack-Italic.woff");
} }
@font-face { @font-face {
font-family: Luciole; font-family: Luciole;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src: url("fonts/luciole/Luciole-Regular.ttf"); src: url("fonts/luciole/Luciole-Regular.woff");
} }
@font-face { @font-face {
font-family: Luciole; font-family: Luciole;
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
src: url("fonts/luciole/Luciole-Bold.ttf"); src: url("fonts/luciole/Luciole-Bold.woff");
} }
@font-face { @font-face {
font-family: Luciole; font-family: Luciole;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
src: url("fonts/luciole/Luciole-Bold-Italic.ttf"); src: url("fonts/luciole/Luciole-Bold-Italic.woff");
} }
@font-face { @font-face {
font-family: Luciole; font-family: Luciole;
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
src: url("fonts/luciole/Luciole-Regular-Italic.ttf"); src: url("fonts/luciole/Luciole-Regular-Italic.woff");
} }
html, body { html, body {