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

This commit is contained in:
Flashfyre 2023-12-25 21:40:57 -05:00
parent 295505ca7f
commit 9230bf8827
2 changed files with 11 additions and 10 deletions

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;
}

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>