Move font face back to html to fix font sometimes not loading

This commit is contained in:
Flashfyre committed 2023-12-25 21:40:57 -05:00
1 parent 295505ca7f
commit 9230bf8827
2 files changed
+11 -10

No files matched your search

-10
View File
@@ -13,16 +13,6 @@
}
}
@font-face {
font-family: 'emerald';
src: url('fonts/pokemon-emerald-pro.ttf') format('truetype');
}
@font-face {
font-family: 'pkmnems';
src: url('fonts/pkmnems.ttf') format('truetype');
}
html {
touch-action: none;
}
+11
View File
@@ -7,6 +7,17 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pokemon Rogue Battle</title>
<style type="text/css">
@font-face {
font-family: 'emerald';
src: url('fonts/pokemon-emerald-pro.ttf') format('truetype');
}
@font-face {
font-family: 'pkmnems';
src: url('fonts/pkmnems.ttf') format('truetype');
}
</style>
<link rel="stylesheet" type="text/css" href="index.css" />
</head>