custom font definiton moved to src style

This commit is contained in:
tmshv committed 2021-09-26 21:34:49 +03:00
1 parent 9992c9dbb7
commit 726fa1dd33
3 files changed
+9 -13

No files matched your search

-5
View File
@@ -38,11 +38,6 @@ export default class MyApp extends App {
href="/feed.xml"
/>
<link
href="/static/shadow-font/style.css"
rel="stylesheet"
/>
{/* Google Fonts */}
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap"
-8
View File
@@ -1,8 +0,0 @@
@font-face {
font-family: "Shadow";
font-display: swap;
src: url("Shadow-Regular.eot");
src: url("Shadow-Regular.woff") format("woff"),
url("Shadow-Regular.otf") format("opentype"),
url("Shadow-Regular.svg") format("svg");
}
+9
View File
@@ -1,3 +1,12 @@
@font-face {
font-family: "Shadow";
font-display: swap;
src: url("/static/shadow-font/Shadow-Regular.eot");
src: url("/static/shadow-font/Shadow-Regular.woff") format("woff"),
url("/static/shadow-font/Shadow-Regular.otf") format("opentype"),
url("/static/shadow-font/Shadow-Regular.svg") format("svg");
}
:root {
/* FONTS */
--title-font: Shadow, Georgia, serif;