-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
63 lines (58 loc) · 1.44 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
<!doctype html>
<head>
<meta charset="utf8"/>
<title>JS to C demo</title>
<link rel="stylesheet" href="public/node_modules/codemirror/lib/codemirror.css" />
<style>
html, body {
display: flex;
height: 100%;
flex: 1;
font-family: sans-serif;
}
.main, .code {
display: flex;
flex: 1;
}
.main {
flex-direction: column;
}
.editor, .output {
flex: 1;
}
.output {
width: 50%;
border-left: 1px solid #ccc;
padding-left: 1em;
}
.code {
flex-direction: row;
}
.CodeMirror {
height: auto;
}
h1 {
font-size: 1em;
font-weight: normal;
display: inline;
}
header {
margin-bottom: 1ex;
}
</style>
</head>
<body>
<div class="main">
<header>
<h1><a href="https://github.com/timruffles/js-to-c/">JS to C</a></h1>
<span>
by <a href="https://timr.co">Tim Ruffles</a>, see my blog for the <a href="https://timr.co">dev log</a>.
</span>
</header>
<div class="code">
<div class="editor"></div>
<div class="output"></div>
</div>
</div>
<script defer src="public/build/demo.built.js"></script>
</body>