-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
81 lines (77 loc) · 2.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>BaqJS</title>
</head>
<body>
<style>
body {
background: #f1db19;
font-family: sans-serif;
}
#main {
text-align: center;
}
#main h1{
font-size: 50px;
color: white;
text-shadow: 1px 1px 4px #000000;
font-weight: normal;
margin-bottom: 80px;
}
#main .console{
margin: auto;
max-width: 800px;
min-width: 400px;
height: 350px;
/* font-family: "InputMono", "Consolas", "Lucida Console", "Courier", monospace; */
font-family: "Lucida Console", "Lucida Sans Typewriter", monaco, "Bitstream Vera Sans Mono", monospace;
color: #fdfdfd;
font-size: 24px;
background-color: black;
border-radius: 6px;
box-shadow: 0px 29px 110px 0px rgba(0,0,0,0.6);
text-align: left;
border-color: rgb(51, 51, 51);
}
.console p{
padding: 16px;
}
.console .bar{
font-family: sans-serif;
padding-top: 10px;
text-align: center;
font-size: 12px;
color: rgb(201, 201, 201);
}
.console svg {
float: left;
padding-left: 10px;
}
.console .header{
margin: 16px;
font-weight: bold;
font-size: 22px;
margin-bottom: -25px;
}
iframe {
margin-top: 80px;
border-radius: 6px;
box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.6);
}
</style>
<div id="main"></div>
<script type="module">
import { header } from './header.js';
import { consoleTempl } from './htmlConsole.js';
const template = `
<div>
${ header }
${ consoleTempl }
</div>
`;
document.getElementById("main").innerHTML = template;
</script>
</body>
</html>