-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (72 loc) · 2.07 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Robot Simulator</title>
<script src="https://cdn.babylonjs.com/babylon.max.js"></script>
<script src="https://preview.babylonjs.com/gui/babylon.gui.min.js"></script>
<script src="https://cdn.babylonjs.com/cannon.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Recursive:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
}
#UIBar {
background-color: black;
padding: 10px 15px 10px 15px;
margin: 0 0 0 0;
}
#title {
display: inline;
color: aliceblue;
font-family: "Recursive";
font-size: 25px;
margin-right: 4%;
}
.button {
padding: 5px 10px 5px 10px;
margin-right: 4%;
margin-left: 4%;
font-family: "Recursive", sans-serif;
letter-spacing: 1px;
text-decoration: none;
color: aliceblue;
text-shadow: 5px 0px 50px #FFFFFF;
/* border: 1px solid aliceblue; */
}
.button:hover {
transition: 0.5s;
background-color: aliceblue;
color: black;
}
#UIBar p {
padding-top: 10px;
margin: 0;
color: rgb(207, 207, 207);
font-family: "Recursive", sans-serif;
font-size: 12px;
float: right;
}
#canvasRight {
float: right;
}
canvas {
margin: -0px -4px -4px -4px;
}
</style>
</head>
<body>
<div id="UIBar">
<h3 id="title">Speed Soccer</h3>
<a href="index.html" class="button">START/RESTART</a>
<a href="practiceRoom.html" class="button">GO TO PRACTICE ROOM</a>
<p>scroll down to hide this bar</p>
</div>
<!-- <canvas id="canvasLeft"></canvas> -->
<canvas id="canvasRight"></canvas>
<!-- <canvas id="canvas"></canvas> -->
<script src="soccerRoom.js"></script>
</body>
</html>