-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathabout.html
121 lines (108 loc) · 3.74 KB
/
about.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>About 2048 Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap" rel="stylesheet">
<style>
html, body {
height: 100%;
}
body {
font-family: "Poppins", sans-serif;
background-color: #faf8ef;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
}
.container {
width: 500px;
max-width: 90%;
margin: auto;
padding: 20px;
border-radius: 10px;
background-color: #bbada0;
box-shadow: 0 0 15px rgba(0,0,0,0.2);
overflow: hidden;
}
@media (max-width: 700px) {
.container {
width: 90%;
padding: 10px;
}
#title {
font-size: 44px !important;
}
#subtitle {
font-size: 20px !important;
}
#scoreContainer {
font-size: 20px !important;
}
}
h1 {
font-size: 60px;
font-weight: bold;
color: #655b56;
}
p {
font-size: 20px;
color: #655b56;
}
a {
color: #776e65;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.buttons {
background-color: #8f7a66;
color: #f9f6f2;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-family: "Poppins", sans-serif;
font-size: 18px;
font-weight: 600;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
.buttons:hover {
background-color: #9e8b77;
transform: scale(1.05);
}
.buttons:active {
transform: scale(0.95);
}
</style>
</head>
<body>
<div class="container" style="text-align: center">
<a id="title" style="text-decoration: none" href="../index.html"><h1>About 2048</h1></a>
<p>
<strong>What is 2048?</strong><br>
2048 is a single-player sliding block puzzle game. The game's objective is to slide numbered tiles on a grid to combine them and create a tile with the number 2048. However, you can continue to play the game after reaching the goal to create higher numbers.
</p>
<p>
<strong>How to play:</strong><br>
Use the arrow keys on your keyboard or swipe on your device to move the tiles. When two tiles with the same number touch, they merge into one!
</p>
<p>
<strong>About the Creator:</strong><br>
Visit my GitHub: <a href="https://github.com/hoangsonww">GitHub Profile</a><br>
Check out the MovieVerse app: <a href="https://movie-verse.com">MovieVerse</a><br>
Check out the StickyNotes app: <a href="https://hoangsonww.github.io/The-StickyNotes-App/">StickyNotes</a><br>
Check out the RecipeGenie app: <a href="https://hoangsonww.github.io/RecipeGenie-App/">RecipeGenie</a><br>
Check out the WeatherMate app: <a href="https://hoangsonww.github.io/WeatherMate-App/">WeatherMate</a><br>
</p>
<button class="buttons" onclick="window.location.href='../index.html'">Back to Game</button>
</div>
</body>
</html>