-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (89 loc) · 2.8 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
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Megamania Star Wars</title>
<link rel="icon" href="millennium-icon.ico">
<style>
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Jost:wght@300&family=Montserrat+Alternates:wght@200&family=Open+Sans:wght@300&family=Questrial&family=Quicksand:wght@300&family=Raleway:wght@300&display=swap');
body{
background-image: url(https://lumiere-a.akamaihd.net/v1/images/star-wars-backgrounds-29_9e72b83c.png?download=true);
background-size: cover;
margin: 0px;
}
canvas{
border: 1px solid black;
display: block;
margin: auto;
background-color: black;
cursor: none;
}
header img{
width: 300px;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 50px;
}
h1{
font: 70px 'Press Start 2P', cursive;
color: #ffcd22;
text-align: center;
}
h2{
font: 40px 'Press Start 2P', cursive;
color: #000000;
padding: 0px;
margin: 10px;
}
header{
margin: auto;
}
section{
margin: 50px;
font: 24px Arial;
background-color: #ffcd22;
padding: 5px;
border: solid 3px #ffcd22;
border-radius: 0px 10px 10px 10px;
margin: 10px;
}
div{
padding-left: 2%;
}
p{
padding: 0.5%;
margin: 0px;
}
footer{
color: white;
background-color: black;
font-family: 'Raleway', sans-serif;
font-size: 20px;
padding: 100px;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>MEGAMANIA</h1>
<img src="titulo.png">
</header>
<canvas width="1500" height="900" id="game"></canvas>
<section>
<h2>Como jogar</h2>
<div>
<p><b style="font-size: 24px;">Mover a Millennium Falcon: </b>movimentar o mouse</p>
<p><b style="font-size: 24px;">Atirar: </b>espaço</p>
<p>*Caso o jogo não carregue de primeira, aperte F5 para recarregar a página</p>
</div>
</section>
<footer>
<p>Criado por Maria Eduarda Carmona Banhos</p>
</footer>
<script src="script.js"></script>
</body>
</html>