Move font face back to html to fix font sometimes not loading
parent
295505ca7f
commit
9230bf8827
10
index.css
10
index.css
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
11
index.html
11
index.html
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue