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

pull/14/head
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 { html {
touch-action: none; touch-action: none;
} }

View File

@ -7,6 +7,17 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pokemon Rogue Battle</title> <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" /> <link rel="stylesheet" type="text/css" href="index.css" />
</head> </head>