-
Notifications
You must be signed in to change notification settings - Fork 2
/
homePage.html
94 lines (83 loc) · 2.14 KB
/
homePage.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
<!DOCTYPE html>
<html>
<head>
<meta charset=UTF-8 />
<title>Computer Graphics Project</title>
<link rel="shortcut icon" href="favicon_io/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
</head>
<body>
<div class="text-box">
<div class="heading">MOON PHASES</div>
<div class="text">Geísa and Lívia computer graphics project</div>
<div class="button-wrapper">
<a href="phase1.html">
<div class="button">Start Game</div>
</a>
<a href="https://github.com/Geisa-mg/Fases_da_lua" target="_blank" rel="noopener noreferrer">
<div class="button">Source Code</div>
</a>
</div>
</div>
<script src="js/three.min.js"></script>
<script src="js/mainHomePage.js"></script>
<style>
body {
width: 100vw;
height: 100vh;
margin: 0;
background: black;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.text-box {
font-size: 60px;
font-family: 'Raleway', sans-serif;
letter-spacing: 7px;
word-spacing: 12px;
text-transform: uppercase;
color: rgb(238, 238, 238);
}
.text {
font-size: 10px;
font-family: 'Raleway', sans-serif;
letter-spacing: 5px;
word-spacing: 10px;
text-transform: uppercase;
color: rgb(238, 238, 238);
}
.button-wrapper {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
flex-direction: row;
}
.button {
display: inline-block;
font-size: 16px;
font-weight: bold;
padding: 15px;
margin-left: 20px;
margin-right: 20px;
word-spacing: normal;
letter-spacing: 5px;
border: 1px solid white;
background: black;
cursor: pointer;
flex-direction: row;
}
a:hover {
color: rgb(238, 238, 238);
}
</style>
</body>
</html>