custom font definiton moved to src style
This commit is contained in:
1 parent
9992c9dbb7
commit
726fa1dd33
3 files changed
+9
-13
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user