-
Notifications
You must be signed in to change notification settings - Fork 0
/
juego.html
87 lines (77 loc) · 4.21 KB
/
juego.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style/reset.css" />
<link rel="stylesheet" href="./style/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon" />
<link href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&display=swap" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
<title>Juego del Ahorcado</title>
</head>
<body>
<img src="./assets/images/fondo.jpg" alt="fondo"
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-screen max-h-screen" />
<div class="flex h-screen justify-center md:items-center items-start md:mt-0 mt-3 absolute inset-0">
<div class="flex md:flex-row flex-col bg-white items-center rounded-xl sm:max-w-7xl sm:px-5 shadow-lg">
<div class="flex-1 justify-center">
<h1 class="m-5 md:mb-10 mb-4 text-gray-800font-bold md:text-7xl text-5xl text-center amatic-font">
Juego del Ahorcado
</h1>
<div class="relative mx-auto md:w-96 md:h-96">
<div class="md:h-96 md:w-96 p-6 bg-white rounded-xl shadow-lg flex items-center space-x-4"
id="image">
<!-- img -->
</div>
<div class="absolute top-2 right-2 flex flex-row items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-filled icon-tabler icon-tabler-heart"
width="34" height="34" viewBox="0 0 24 24" stroke-width="2" stroke="#EF4444" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M19.5 13.572l-7.5 7.428-7.5-7.428m0 0a5 5 0 1 1 7.5-6.566 5 5 0 1 1 7.5 6.572" />
</svg>
<h2 class="md:text-4xl text-3xl">
<span id="nro-vidas"> </span>
</h2>
</div>
</div>
<div class="md:text-6xl text-4xl text-center md:p-5 p-1 amatic-font font-bold md:m-5 m-2" id="letters">
<!-- letters -->
</div>
</div>
<div class="flex flex-col">
<div class="md:w-96 w-80 md:mx-5 mx-5 rounded-xl md:mb-0 mb-2 bg-gray-900">
<h2 class="md:text-7xl text-4xl text-center p-3 amatic-font font-bold md:-mb-5" id="alphabet">
<!-- span alphabet -->
</h2>
<div id="play-again" class="text-center md:mt-5 mt-2 mb-6 amatic-font md:text-5xl text-2xl">
<!-- button play again -->
</div>
</div>
<h2 class="md:text-7xl text-4xl text-gray-800 text-center amatic-font h-10 md:mb-0 mb-3" id="history">
<!-- span history -->
</h2>
</div>
</div>
</div>
<footer class="w-full text-center md:block hidden">
<div class="absolute inset-x-0 bottom-0">
<div class="flex flex-row space-x-2 text-gray-800 text-center p-4 justify-center">
<span> Made with </span>
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-filled icon-tabler icon-tabler-heart"
width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="#EF4444" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M19.5 13.572l-7.5 7.428-7.5-7.428m0 0a5 5 0 1 1 7.5-6.566 5 5 0 1 1 7.5 6.572" />
</svg>
<span> by oktubr3 </span>
</div>
</div>
</footer>
<script src="./scripts/app.js"></script>
</body>
</html>