APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-21 02:08:05 +01:00
1 parent d87b617a38
commit abf33b9929
8 files changed
+273 -182

No files matched your search

+26 -13
View File
@@ -150,6 +150,17 @@
--star-color: #00ff41;
}
html, body {
overflow: hidden !important;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
* { scrollbar-width: none !important; }
body {
background: var(--bg);
color: var(--text);
@@ -158,32 +169,32 @@
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
overflow: hidden;
padding: 10px;
height: 100%;
padding: 6px;
transition: background 0.3s ease, color 0.3s ease;
}
.game-card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 14px;
padding: 16px;
padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(92, 167, 255, 0.12);
position: relative;
max-width: 700px;
max-width: 660px;
width: 100%;
flex-shrink: 0;
transition: all 0.3s ease;
}
.header-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
font-size: 14px;
margin-bottom: 6px;
font-size: 13px;
color: var(--muted);
}
.scores {
font-size: 18px;
font-size: 17px;
font-weight: 700;
letter-spacing: 2px;
color: var(--blue);
@@ -207,17 +218,19 @@
canvas {
display: block;
width: 100%;
height: 220px;
height: 200px;
cursor: pointer;
}
.controls-hint {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 12px;
font-size: 12px;
margin-top: 6px;
font-size: 11px;
color: var(--muted);
flex-wrap: wrap;
gap: 6px;
}
gap: 8px;
}
.controls-hint kbd {
@@ -278,7 +291,7 @@
</div>
<div class="canvas-wrap" id="canvasWrap">
<canvas id="dinoCanvas" width="640" height="220"></canvas>
<canvas id="dinoCanvas" width="640" height="200"></canvas>
<div id="gameOverlay" class="overlay-message" style="display:none">
<h2 id="dinoGameOverText">G A M E &nbsp; O V E R</h2>
<button id="dinoRestartBtn" class="restart-btn" onclick="resetGame()">🔄 REJOUER (Espace)</button>
@@ -408,7 +421,7 @@
const overlay = document.getElementById('gameOverlay');
const canvasWrap = document.getElementById('canvasWrap');
const GROUND_Y = 180;
const GROUND_Y = 165;
let highScore = parseInt(localStorage.getItem('ap_dino_hi') || '0', 10);
hiScoreEl.textContent = String(highScore).padStart(5, '0');