24/12
This commit is contained in:
32
index.html
32
index.html
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user