Spaces:
Running
Running
Update index.html
Browse files- index.html +20 -15
index.html
CHANGED
|
@@ -328,26 +328,32 @@
|
|
| 328 |
</div>
|
| 329 |
</section>
|
| 330 |
|
| 331 |
-
<style>
|
| 332 |
-
/* Su mobile, forziamo l'iframe a essere il 140% più grande
|
| 333 |
-
e poi lo scaliamo giù al 71%.
|
| 334 |
-
Risultato: Vedi più area di gioco (zoom out) e le scritte non si tagliano. */
|
| 335 |
.game-zoom-container {
|
| 336 |
width: 100%;
|
| 337 |
height: 100%;
|
| 338 |
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
}
|
|
|
|
| 340 |
.game-zoom-frame {
|
| 341 |
width: 100%;
|
| 342 |
height: 100%;
|
| 343 |
border: none;
|
|
|
|
|
|
|
| 344 |
}
|
| 345 |
|
| 346 |
@media (max-width: 768px) {
|
|
|
|
| 347 |
.game-zoom-frame {
|
| 348 |
-
width:
|
| 349 |
-
height:
|
| 350 |
-
transform: scale(0.
|
| 351 |
transform-origin: top left;
|
| 352 |
}
|
| 353 |
}
|
|
@@ -362,11 +368,11 @@
|
|
| 362 |
</h2>
|
| 363 |
<p class="font-mono text-xs md:text-sm opacity-70 max-w-lg mx-auto">
|
| 364 |
// Mobile Detected. <br>
|
| 365 |
-
// <span class="text-[#00ff41]">Mission:</span> TAP per saltare.
|
| 366 |
</p>
|
| 367 |
</div>
|
| 368 |
|
| 369 |
-
<div id="game-monitor" class="relative w-full aspect-[3/4] md:aspect-[
|
| 370 |
|
| 371 |
<div class="absolute top-0 left-0 w-full h-8 bg-[#0a0a0a] border-b border-[#00ff41]/50 flex items-center justify-between px-4 z-20 select-none pointer-events-none">
|
| 372 |
<div class="flex items-center gap-2">
|
|
@@ -381,8 +387,8 @@
|
|
| 381 |
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="#00ff41" stroke="none"><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>
|
| 382 |
</div>
|
| 383 |
<p class="text-[#00ff41] font-mono text-xs md:text-sm tracking-widest uppercase font-bold text-center px-4">
|
| 384 |
-
TAP TO
|
| 385 |
-
<span class="text-[10px] opacity-70 font-normal normal-case mt-2 block">
|
| 386 |
</p>
|
| 387 |
</div>
|
| 388 |
|
|
@@ -393,7 +399,6 @@
|
|
| 393 |
class="game-zoom-frame"
|
| 394 |
scrolling="no"
|
| 395 |
loading="lazy"
|
| 396 |
-
style="touch-action: none;"
|
| 397 |
title="Innovation Run Game">
|
| 398 |
</iframe>
|
| 399 |
</div>
|
|
@@ -401,13 +406,13 @@
|
|
| 401 |
<div class="absolute inset-0 pointer-events-none z-10 bg-[linear-gradient(rgba(18,16,16,0)_50%,rgba(0,0,0,0.1)_50%),linear-gradient(90deg,rgba(255,0,0,0.03),rgba(0,255,0,0.01),rgba(0,0,255,0.03))] bg-[length:100%_2px,3px_100%] opacity-50"></div>
|
| 402 |
</div>
|
| 403 |
|
| 404 |
-
<div class="mt-4 flex justify-between items-center px-2 max-w-sm md:max-w-
|
| 405 |
<p class="text-[10px] text-[#00ff41]/50 font-mono">
|
| 406 |
-
[
|
| 407 |
</p>
|
| 408 |
<div class="flex gap-4 text-[10px] text-[#00ff41]/50 font-mono">
|
| 409 |
<span>INPUT: TAP</span>
|
| 410 |
-
<span>
|
| 411 |
</div>
|
| 412 |
</div>
|
| 413 |
|
|
|
|
| 328 |
</div>
|
| 329 |
</section>
|
| 330 |
|
| 331 |
+
<style>
|
|
|
|
|
|
|
|
|
|
| 332 |
.game-zoom-container {
|
| 333 |
width: 100%;
|
| 334 |
height: 100%;
|
| 335 |
overflow: hidden;
|
| 336 |
+
/* BLOCCO TOTALE DEI GESTI SUL CONTENITORE */
|
| 337 |
+
touch-action: none;
|
| 338 |
+
-ms-touch-action: none;
|
| 339 |
+
user-select: none;
|
| 340 |
+
-webkit-user-select: none;
|
| 341 |
}
|
| 342 |
+
|
| 343 |
.game-zoom-frame {
|
| 344 |
width: 100%;
|
| 345 |
height: 100%;
|
| 346 |
border: none;
|
| 347 |
+
/* BLOCCO GESTI SULL'IFRAME */
|
| 348 |
+
touch-action: none;
|
| 349 |
}
|
| 350 |
|
| 351 |
@media (max-width: 768px) {
|
| 352 |
+
/* MODIFICA ZOOM: Rimpicciolito ancora del 20% circa */
|
| 353 |
.game-zoom-frame {
|
| 354 |
+
width: 182%; /* Più è alto questo numero, più "mondo" vedi */
|
| 355 |
+
height: 182%;
|
| 356 |
+
transform: scale(0.55); /* Più è basso questo, più "lontano" vedi */
|
| 357 |
transform-origin: top left;
|
| 358 |
}
|
| 359 |
}
|
|
|
|
| 368 |
</h2>
|
| 369 |
<p class="font-mono text-xs md:text-sm opacity-70 max-w-lg mx-auto">
|
| 370 |
// Mobile Detected. <br>
|
| 371 |
+
// <span class="text-[#00ff41]">Mission:</span> TAP per saltare. Doppio Tap disabilitato.
|
| 372 |
</p>
|
| 373 |
</div>
|
| 374 |
|
| 375 |
+
<div id="game-monitor" class="relative w-full aspect-[3/4] md:aspect-[14/9] rounded-xl overflow-hidden border-2 border-[#00ff41] shadow-[0_0_40px_rgba(0,255,65,0.15)] bg-black group transition-all hover:shadow-[0_0_60px_rgba(0,255,65,0.25)] mx-auto max-w-sm md:max-w-4xl">
|
| 376 |
|
| 377 |
<div class="absolute top-0 left-0 w-full h-8 bg-[#0a0a0a] border-b border-[#00ff41]/50 flex items-center justify-between px-4 z-20 select-none pointer-events-none">
|
| 378 |
<div class="flex items-center gap-2">
|
|
|
|
| 387 |
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="#00ff41" stroke="none"><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>
|
| 388 |
</div>
|
| 389 |
<p class="text-[#00ff41] font-mono text-xs md:text-sm tracking-widest uppercase font-bold text-center px-4">
|
| 390 |
+
TAP TO INITIALIZE<br>
|
| 391 |
+
<span class="text-[10px] opacity-70 font-normal normal-case mt-2 block">Interfaccia Bloccata per Gaming</span>
|
| 392 |
</p>
|
| 393 |
</div>
|
| 394 |
|
|
|
|
| 399 |
class="game-zoom-frame"
|
| 400 |
scrolling="no"
|
| 401 |
loading="lazy"
|
|
|
|
| 402 |
title="Innovation Run Game">
|
| 403 |
</iframe>
|
| 404 |
</div>
|
|
|
|
| 406 |
<div class="absolute inset-0 pointer-events-none z-10 bg-[linear-gradient(rgba(18,16,16,0)_50%,rgba(0,0,0,0.1)_50%),linear-gradient(90deg,rgba(255,0,0,0.03),rgba(0,255,0,0.01),rgba(0,0,255,0.03))] bg-[length:100%_2px,3px_100%] opacity-50"></div>
|
| 407 |
</div>
|
| 408 |
|
| 409 |
+
<div class="mt-4 flex justify-between items-center px-2 max-w-sm md:max-w-4xl mx-auto">
|
| 410 |
<p class="text-[10px] text-[#00ff41]/50 font-mono">
|
| 411 |
+
[WIDE VIEW ACTIVE]
|
| 412 |
</p>
|
| 413 |
<div class="flex gap-4 text-[10px] text-[#00ff41]/50 font-mono">
|
| 414 |
<span>INPUT: TAP</span>
|
| 415 |
+
<span>ZOOM: 55%</span>
|
| 416 |
</div>
|
| 417 |
</div>
|
| 418 |
|