-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
59 lines (58 loc) · 1.37 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
<html>
<head>
<style>
html {
font-family: 'Courier New', Courier, monospace;
width: 100%;
height: 100%;
margin: 0;
text-align: center;
color: white;
background-color: gray;
}
body {
margin-top: 10px
}
pre {
text-align: left;
white-space: pre-line;
}
select {
background-color: black;
color: white;
border: 0;
width: 350px;
}
a:link, a:visited {
color: rgb(255, 255, 255);
background-color: transparent;
text-decoration: none;
font-size: 12px;
font-weight: bold;
}
a:hover, a:active {
color: rgb(255, 255, 255);
background-color: transparent;
text-decoration: underline;
}
#display {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
#rom-info {
width: 600px;
display: inline-block;
}
</style>
</head>
<body class="container">
<select id="rom-selector"></select>
<button id="load-rom-btn">Load</button>
<button id="turbo-btn">Turbo</button>
<br /><br />
<canvas id="display" width="64" height="32" style="width: 512px; height: 256px"></canvas>
<br /><br />
<span id="rom-info"></span>
<script src="build/bundle.js"></script>
</body>
</html>