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

+43 -29
View File
@@ -123,6 +123,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; }
body {
background: var(--bg);
color: var(--text);
@@ -131,9 +142,8 @@
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
overflow-x: hidden;
padding: 4px;
height: 100%;
padding: 6px;
transition: background 0.3s ease, color 0.3s ease;
}
@@ -141,13 +151,14 @@
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 14px;
padding: 10px 14px;
padding: 8px 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1);
display: flex;
flex-direction: column;
align-items: center;
max-width: 540px;
width: 100%;
flex-shrink: 0;
}
.top-controls {
@@ -155,18 +166,17 @@
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 12px;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 6px;
gap: 8px;
}
.level-select {
background: var(--panel-box);
color: var(--text);
border: 1px solid var(--border);
padding: 6px 10px;
padding: 4px 8px;
border-radius: 6px;
font-size: 12px;
font-size: 11.5px;
cursor: pointer;
}
@@ -174,9 +184,9 @@
background: var(--panel-box);
color: var(--text);
border: 1px solid var(--border);
padding: 6px 12px;
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
font-size: 11.5px;
cursor: pointer;
display: inline-flex;
align-items: center;
@@ -198,33 +208,33 @@
background: var(--panel-box);
border: 2px solid var(--border);
border-radius: 8px;
padding: 8px 14px;
padding: 4px 12px;
width: 100%;
margin-bottom: 12px;
margin-bottom: 6px;
}
.digital-counter {
background: var(--display-bg);
color: var(--display-text);
font-family: 'Courier New', Courier, monospace;
font-size: 26px;
font-size: 22px;
font-weight: 900;
padding: 2px 10px;
padding: 2px 8px;
border-radius: 4px;
border: 1px solid var(--border);
letter-spacing: 2px;
min-width: 70px;
min-width: 62px;
text-align: center;
text-shadow: 0 0 6px currentColor;
}
.face-btn {
font-size: 26px;
font-size: 22px;
background: var(--cell-up);
border: 2px outset var(--cell-border-light);
border-radius: 50%;
width: 44px;
height: 44px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
@@ -237,10 +247,9 @@
}
.board-wrap {
overflow: auto;
overflow: hidden !important;
max-width: 100%;
max-height: 400px;
padding: 4px;
padding: 3px;
border-radius: 8px;
background: var(--display-bg);
border: 2px solid var(--border);
@@ -256,14 +265,14 @@
}
.cell {
width: 23px;
height: 23px;
width: var(--cell-size, 18px);
height: var(--cell-size, 18px);
background: var(--cell-up);
border: 2px outset var(--cell-border-light);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-size: var(--cell-font, 11px);
font-weight: 800;
cursor: pointer;
user-select: none;
@@ -287,11 +296,12 @@
.c-8 { color: #6b7280; }
.instructions {
font-size: 11.5px;
font-size: 11px;
color: var(--muted);
margin-top: 12px;
margin-top: 6px;
text-align: center;
line-height: 1.4;
line-height: 1.35;
padding: 2px 4px;
}
</style>
</head>
@@ -486,7 +496,11 @@
const gridEl = document.getElementById('mineGrid');
gridEl.innerHTML = '';
gridEl.style.gridTemplateColumns = `repeat(${cols}, 23px)`;
const cellSize = cols > 16 ? 15 : (cols > 9 ? 18 : 24);
const cellFont = cols > 16 ? '10px' : (cols > 9 ? '11px' : '13px');
document.documentElement.style.setProperty('--cell-size', cellSize + 'px');
document.documentElement.style.setProperty('--cell-font', cellFont);
gridEl.style.gridTemplateColumns = `repeat(${cols}, ${cellSize}px)`;
board = [];
for (let r = 0; r < rows; r++) {