ArcadeLab Football
by RocketComet33130 lines2.9 KB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>ArcadeLab Football</title>
<style>
:root {
--bg-dark: #090e1a;
--bg-panel: rgba(16, 24, 42, 0.92);
--border: rgba(255, 255, 255, 0.12);
--accent: #22c55e;
--accent-glow: rgba(34, 197, 94, 0.35);
--text: #f8fafc;
--muted: #94a3b8;
}
* {
box-sizing: border-box;
user-select: none;
-webkit-user-select: none;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
background: radial-gradient(circle at top, #132238 0%, var(--bg-dark) 70%);
color: var(--text);
font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#app {
width: 100%;
height: 100%;
max-width: 1280px;
max-height: 820px;
display: flex;
flex-direction: column;
position: relative;
padding: 10px 14px;
gap: 10px;
}
/* HUD supérieur */
#hud {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 14px;
padding: 8px 16px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
z-index: 10;
min-height: 58px;
}
.team-badge {
display: flex;
align-items: center;
gap: 10px;
min-width: 165px;
}
.team-badge.right {
justify-content: flex-end;
text-align: right;
}
.kit-swatch {
width: 22px;
height: 22px;
border-radius: 6px;
border: 2px solid rgba(255, 255, 255, 0.8);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
flex-shrink: 0;
}
.team-name {
font-weight: 800;
font-size: 0.95rem;
letter-spacing: 0.5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 140px;
}
.scoreboard {
display: flex;
align-items: center;
gap: 14px;
background: rgba(2, 6, 23, 0.75);
padding: 5px 18px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.score-num {
font-size: 1.45rem;
font-weight: 900;
font-variant-numeric: tabular-nums;
color: #fff;
}
.match-meta {
display: flex;
flex-direction: column;
align-items: center;
line-height: 1.1;
}
#clock {
font-size: 0.95rem;
font-weight: 800;
color: #4ade80;
font-variant-numeric: tabular-nums;
}
#mode-tag {
font-size: 0.65rem;
text-transform: uppercase;Game Source: ArcadeLab Football
Creator: RocketComet33
Libraries: none
Complexity: moderate (130 lines, 2.9 KB)
The full source code is displayed above on this page.
Remix Instructions
To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: arcadelab-football-rocketcomet33" to link back to the original. Then publish at arcadelab.ai/publish.