forked from boa-dev/boa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (67 loc) · 1.39 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Boa Playground</title>
<link href="assets/bootstrap.min.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<style>
header {
display: flex;
align-items: center;
}
.demo__img {
width: 170px;
display: block;
margin-bottom: 16px;
margin-right: 3rem;
}
.textbox {
height: 250px;
border: 1px solid #8db5e4;
margin-bottom: 16px;
flex: 2;
margin-right: 16px;
}
.container {
margin: 0 auto;
}
.demo__repl {
display: flex;
font-family: monospace;
}
.output {
flex: 1;
border: 1px solid black;
padding: 8px;
font-size: 2rem;
}
@media (min-width: 320px) and (max-width: 1024px) {
.demo__img {
max-width: 100%;
}
.demo__repl {
flex-direction: column;
}
.textbox {
min-height: 279px;
}
.output {
min-height: 100px;
}
}
</style>
<body>
<div class="container">
<header>
<img class="demo__img" src="./assets/logo.svg" />
<h1>Boa Playground</h1>
</header>
<div class="demo__repl">
<div class="textbox"></div>
<p data-testid="output" class="output"></p>
</div>
</div>
</body>
</html>