-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.html
74 lines (74 loc) · 2.05 KB
/
menu.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
<!doctype html>
<meta charset="utf-8">
<title>Play a Level</title>
<script src="third-party/phaser.min.js"></script>
<style>
body { margin: 0; }
@font-face { font-family: 'Bebas'; src: url('fonts/bebasbold.ttf') format('truetype');}
@font-face { font-family: 'bebaslight'; src: url('fonts/bebaslight.ttf') format('truetype');}
body { font-family: 'bebaslight';}.fontLoader { position: absolute; left: -1000px;}
.fontLoader2 { font-family: 'Bebas'; position: absolute; left: -1000px;}
#popup {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .5);
display: none;
padding: 24px;
padding-left:660px;
cursor: pointer;
color: #ffffff;
}
pre {
font: 12px consolas, monospace;
}
option {
background-color: black;
}
#slvl{
border: 0 !important; /*Removes border*/
-webkit-appearance: none; /*Removes default chrome and safari style*/
-moz-appearance: none; /* Removes Default Firefox style*/
appearance:none;
background: rgba(0,0,0,0);
width: 130px; /*Width of select dropdown to give space for arrow image*/
font-family:bebaslight;
font-size:24px;
text-indent: 0.01px; /* Removes default arrow from firefox*/
text-overflow: ""; /*Removes default arrow from firefox*/ /*My custom style for fonts*/
color: #00ffff;
border-radius: 0px;
margin-top:10px;
}
#popCredits {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .5);
display: none;
padding: 24px;
padding-left:660px;
cursor: pointer;
color: #ffffff;
}
.title{
font-size:56px;
font-family:Bebas;
}
</style>
<body>
<div id="popup"></div>
<div id="popCredits"></div>
<script src="src/config.js"></script>
<script src="src/editor.js"></script>
<!--<script src="src/main.js"></script>-->
<script src="src/levels.js"></script>
<script src="src/membrane.js"></script>
<script src="src/utils.js"></script>
<script src="src/startmenu.js"></script>
<span class="fontLoader">.</span>
<span class="fontLoader2">.</span>