Files
mario/index.html
Gilles Soulier e95f6bb052 24/12
2025-12-27 21:18:23 +01:00

67 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-fullscreen">
<meta name="theme-color" content="#000000">
<!-- Force landscape orientation for PWA -->
<meta name="screen-orientation" content="landscape">
<meta name="x5-orientation" content="landscape">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<title>Mario Runner - Jeu Mobile</title>
<link rel="shortcut icon" href="/icons/favicon.ico">
<!-- PWA Manifest -->
<link rel="manifest" href="/manifest.json">
<!-- Icons pour iOS -->
<link rel="apple-touch-icon" href="/icons/icon-192.png">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
touch-action: none;
-webkit-user-select: none;
user-select: none;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
#game-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<div id="game-container"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>