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

+36 -30
View File
@@ -93,6 +93,17 @@
font-family: 'Courier New', monospace !important;
}
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; }
* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
body {
background: var(--bg);
@@ -102,21 +113,22 @@
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
overflow: hidden;
padding: 4px;
height: 100%;
padding: 6px;
transition: background 0.3s ease, color 0.3s ease;
}
.arcade-wrap {
display: flex;
gap: 14px;
flex-direction: row !important;
gap: 12px;
align-items: flex-start;
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 14px;
padding: 12px;
padding: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(92, 167, 255, 0.1);
position: relative;
flex-shrink: 0;
transition: all 0.3s ease;
}
.canvas-container {
@@ -133,21 +145,21 @@
.sidebar {
display: flex;
flex-direction: column;
gap: 8px;
width: 154px;
gap: 6px;
width: 146px;
}
.panel-box {
background: var(--panel-box);
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
padding: 5px;
text-align: center;
}
.stats-box {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 2px;
padding: 6px 2px;
padding: 4px 2px;
}
.stat-col {
display: flex;
@@ -155,14 +167,14 @@
align-items: center;
}
.stat-col h3 {
font-size: 10px;
font-size: 9.5px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--muted);
margin-bottom: 2px;
}
.stat-col .value {
font-size: 15px;
font-size: 14px;
font-weight: 700;
color: var(--blue);
font-family: "Courier New", Courier, monospace;
@@ -177,16 +189,16 @@
.btn-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
gap: 5px;
}
.btn {
background: var(--blue);
color: var(--blue-btn-text);
border: 0;
border-radius: 6px;
padding: 7px 8px;
padding: 6px 6px;
font-weight: 700;
font-size: 12px;
font-size: 11.5px;
cursor: pointer;
transition: all .15s ease;
width: 100%;
@@ -200,21 +212,21 @@
}
.btn.secondary:hover { opacity: 0.85; }
.controls-help {
font-size: 10.5px;
font-size: 9.5px;
color: var(--muted);
line-height: 1.45;
line-height: 1.35;
background: rgba(0,0,0,0.12);
border-radius: 6px;
padding: 6px 8px;
padding: 5px 6px;
border: 1px solid var(--border);
}
.controls-help kbd {
background: var(--panel-box);
color: var(--text);
border: 1px solid var(--border);
padding: 1px 4px;
padding: 1px 3px;
border-radius: 3px;
font-size: 10px;
font-size: 9px;
font-family: monospace;
}
.touch-controls {
@@ -239,12 +251,6 @@
touch-action: manipulation;
}
.touch-btn:active { background: var(--blue); color: var(--blue-btn-text); }
@media (max-width: 360px) {
.arcade-wrap { flex-direction: column; align-items: center; padding: 6px; }
.sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
.sidebar .panel-box { flex: 1; min-width: 80px; }
.touch-controls { display: grid; }
}
.overlay-msg {
position: absolute;
inset: 0;
@@ -269,7 +275,7 @@
<div class="arcade-wrap">
<div class="canvas-container">
<canvas id="tetris" width="240" height="480"></canvas>
<canvas id="tetris" width="220" height="440"></canvas>
<div id="gameOverlay" class="overlay-msg" style="display:none">
<h2 id="overlayTitle">GAME OVER</h2>
<div id="overlayScore" style="color:var(--blue);font-size:16px;font-weight:700">Score: 0</div>
@@ -278,9 +284,9 @@
</div>
<div class="sidebar">
<div class="panel-box" style="padding:6px">
<h3 id="labelNext" style="font-size:10px;margin-bottom:4px">Prochaine</h3>
<canvas id="next" class="preview-canvas" width="80" height="74"></canvas>
<div class="panel-box" style="padding:5px">
<h3 id="labelNext" style="font-size:9.5px;margin-bottom:3px">Prochaine</h3>
<canvas id="next" class="preview-canvas" width="74" height="66"></canvas>
</div>
<div class="panel-box stats-box">
<div class="stat-col">
@@ -606,7 +612,7 @@
const COLS = 10;
const ROWS = 20;
const BLOCK = 24;
const BLOCK = 22;
const COLORS = [
null,