.game-title font-size: 1.3rem; font-weight: 600; margin: 0.75rem 0 0.25rem;
footer text-align: center; margin-top: 4rem; font-size: 0.8rem; color: #4a5568; only.games.github
.game-card background: #11161f; border-radius: 1.5rem; padding: 1rem; transition: transform 0.1s ease, box-shadow 0.2s; border: 1px solid #2a2f3f; text-decoration: none; color: inherit; Core HTML (index
Your live URL will be: https://<your-username>.github.io/only.games.github only.games.github/ ├── index.html ├── style.css ├── games/ │ ├── snake/ │ │ ├── index.html │ │ ├── script.js │ │ └── style.css │ ├── tetris/ │ │ └── ... │ └── platformer/ │ └── ... ├── assets/ │ ├── favicon.ico │ └── placeholder.png └── README.md 4. Core HTML (index.html) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title>only.games — classic arcade</title> <link rel="stylesheet" href="style.css"> <link rel="icon" type="image/x-icon" href="assets/favicon.ico"> </head> <body> <header> <h1>🎮 only.games</h1> <p>no launchers. no logins. just games.</p> </header> <main class="game-grid" id="gameGrid"> <!-- dynamically loaded from games.json --> </main> <footer> <span>⚡ hosted on GitHub Pages</span> </footer> <script src="script.js"></script> </body> </html> 5. Style (style.css) * margin: 0; padding: 0; box-sizing: border-box; Style (style
.game-thumb width: 100%; aspect-ratio: 16 / 9; background: #1e2533; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 3rem;