-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·78 lines (69 loc) · 2.38 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
<!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">
<title>RachitCaster</title>
</head>
<style>
body, html {
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-y: hidden;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #484a4a;
color: #f0f0f0;
}
.center {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
}
#window-title {
position: absolute;
top: 13px;
left: 50%;
padding: 0;
margin: 0;
transform: translate(-50%, -50%);
}
#window-controls {
background-color: #282626;
text-align: left;
padding-left: 9.5px;
padding-top: 6.5px;
height: 22.5px;
border-radius: 5px 5px 0px 0px;
}
</style>
<body>
<div class="center">
<div id="window-title">
<p>RachitCaster</p>
</div>
<div id="window-controls">
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg>
</div>
<canvas id="canvas">Your browser doesn't support HTML5 Canvas</canvas>
<fieldset>
<legend>Options</legend>
<div>
<input type="checkbox" id="textures" name="textures" checked>
<label for="textures">Textures enabled</label>
</div>
<div>
<input type="checkbox" id="fog" name="fog" checked>
<label for="fog">Fog enabled</label>
</div>
<div>
<input type="checkbox" id="map" name="map" checked>
<label for="map">Map enabled</label>
</div>
</fieldset>
</div>
<script type="module" src="raycaster.js" defer></script>
</body>
</html>