This commit is contained in:
Gilles Soulier
2025-12-27 21:18:23 +01:00
parent 0b5b3201e4
commit e95f6bb052
103 changed files with 2523 additions and 226 deletions

View File

@@ -7,6 +7,11 @@
<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">
@@ -47,33 +52,6 @@
align-items: center;
}
/* Forcer l'orientation paysage */
@media screen and (orientation: portrait) {
#game-container::before {
content: '↻';
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 80px;
color: white;
z-index: 9999;
}
#game-container::after {
content: 'Veuillez tourner votre téléphone en mode paysage';
position: fixed;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-family: Arial, sans-serif;
font-size: 18px;
text-align: center;
padding: 0 20px;
z-index: 9999;
}
}
canvas {
display: block;