-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (69 loc) · 2.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Games</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<style>
body {
display: flex;
flex-direction: column; /* Change to column to stack elements */
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
h1 {
margin-bottom: 20px; /* Space between title and grid */
font-size: 24px; /* Title font size */
color: #333; /* Title color */
}
.grid {
display: grid;
grid-template-columns: repeat(4, 100px);
grid-template-rows: repeat(4, 100px);
gap: 10px;
}
.button {
display: flex;
justify-content: center;
align-items: center;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
height: 100%; /* Make the button fill the grid cell */
width: 100%; /* Make the button fill the grid cell */
}
.button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<h1>Games</h1>
<div class="grid">
<button class="button" onclick="location.href='/games/3D.city'">3D.city</button>
<button class="button" onclick="location.href='/games/2048/'">2048</button>
<button class="button" onclick="location.href='/games/Maze3D'">Maze3D</button>
<button class="button" onclick="location.href='/games/Cookie%20Clicker'">Cookie Clicker</button>
<button class="button" onclick="location.href='/games/Cube%20Engine'">Cube Engine</button>
<button class="button" onclick="location.href='/games/Hextris'">Hextris</button>
<button class="button" onclick="location.href='/games/Orbium'">Orbium</button>
<button class="button" onclick="location.href='/games/#8'">8</button>
<button class="button" onclick="location.href='/games/#9'">9</button>
<button class="button" onclick="location.href='/games/#10'">10</button>
<button class="button" onclick="location.href='/games/#11'">11</button>
<button class="button" onclick="location.href='/games/#12'">12</button>
<button class="button" onclick="location.href='/games/#13'">13</button>
<button class="button" onclick="location.href='/games/#14'">14</button>
<button class="button" onclick="location.href='/games/#15'">15</button>
<button class="button" onclick="location.href='/games/#16'">16</button>
</div>
</body>
</html>