-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
177 lines (156 loc) · 5.73 KB
/
index.html
File metadata and controls
177 lines (156 loc) · 5.73 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Games App | Play Free Games</title>
<link rel="icon" type="image/x-icon" href="https://www.famral.com/favicon.png">
<link rel="stylesheet" href="https://games.sciencebaba.com/styles.css">
<style>
/* Basic Reset & Body */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
margin: 0;
background-color: #f4f4f9;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header and Navbar */
header {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
font-size: 1.5rem;
font-weight: bold;
color: #5a67d8; /* A nice blue/purple */
text-decoration: none;
}
.nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.nav-links li {
margin-left: 25px;
}
.nav-links a {
text-decoration: none;
color: #555;
font-weight: 500;
padding: 5px 10px;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
.nav-links a:hover {
background-color: #eef2ff;
color: #4c51bf;
}
/* Featured Games Section */
.featured-games {
padding: 40px 0;
}
.featured-games .container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 25px;
}
.game-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
overflow: hidden;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
/* Footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
</style>
</head>
<body>
<header>
<div class="container">
<nav class="navbar">
<a href="/" class="brand">Games</a>
</nav>
</div>
</header>
<section class="featured-games">
<div class="container">
<div class="game-card">
<img src="images/math-game.png" alt="Math Game">
<h2>Math Game</h2>
<a href="/math-game" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/pipe-flow.png" alt="Pipe Flow">
<h2>Pipe Flow</h2>
<a href="https://demonisblack.com/code/2019/pipeflow/game/" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/crypto-crush.png" alt="Crypto Crush">
<h2>Crypto Crush</h2>
<a href="https://previews.customer.envatousercontent.com/files/371022481/index.html" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/real-chess.png" alt="Real Chess">
<h2>Real Chess</h2>
<a href="https://demonisblack.com/code/2022/playchess/game/" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/word-guessing.png" alt="Word Guessing">
<h2>Word Guessing</h2>
<a href="/word-guessing" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/card-match.png" alt="card-match">
<h2>Card Matching</h2>
<a href="/card-match" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/word-scramble.png" alt="word-scramble">
<h2>Word Scramble</h2>
<a href="/word-scramble" class="btn">Play Now</a>
</div>
<div class="game-card">
<img src="images/ludo.png" alt="ludo-game">
<h2>Ludo</h2>
<a href="/ludo" class="btn">Play Now</a>
</div>
<!-- Add more game cards here -->
</div>
</section>
<footer>
<div class="container">
<p>Freedom to play!</p>
</div>
</footer>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"2cd32cebdb74443f9bd712c9468d34ac","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
</body>
</html>