-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
153 lines (131 loc) · 4.57 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
---
# this is an empty front matter
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Microsoft TileCode</title>
<meta name="description" content="{{ site.github.project_tagline }}" />
<meta name="author" content="{{ site.github.owner_name }}">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="/" />
<meta name="twitter:title" content="{{ site.github.project_tagline }}" />
<meta name="twitter:description" content="{{ site.github.project_tagline }}" />
<meta name="twitter:image" content="./icon.png" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Microsoft TileCode">
<meta name="apple-mobile-web-app-status-bar-style" content="translucent-black">
<meta name="format-detection" content="telephone=no">
<meta name="application-name" content="Microsoft TileCode">
<meta name="theme-color" content="#000">
<meta property="og:title" content="Microsoft TileCode" />
<meta property="og:site_name" content="Microsoft TileCode" />
<meta property="og:description" content="{{ site.github.project_tagline }}" />
<meta property="og:image" content="./icon.png" />
<link rel="apple-touch-icon" href="./icon.png">
<link rel="icon" type="image/png" href="./icon.png">
<link rel="shortcut icon" href="./icon.png">
<script type="text/javascript" src="./assets/js/loader.js?v={{ site.github.build_revision }}"></script>
<style>
body {
cursor: default;
background: black;
color: white;
font-family: monospace;
overflow: hidden;
font-size: 14pt;
}
#manual {
position: absolute;
left: 0px;
top: 0px;
height: calc(100% - 330px);
margin: 0px;
width: 100%;
visibility: inherit;
}
#divider {
position: absolute;
left: 642px;
top: 0px;
background: gray;
margin: 0px;
width: 8px;
height: 100%;
}
#simframe {
position: absolute;
bottom:30px;
left:0;
padding: 0px;
margin: 0px;
width: 100%;
height: 300px;
visibility: inherit;
}
.embed {
background: transparent;
}
.nofooter iframe {
height: 100%;
}
footer {
color: grey;
position: absolute;
bottom: 0;
width: 100%;
left: 0;
z-index: 100;
text-align: center;
font-size: 1em;
margin-bottom: 0.25em;
}
footer a {
color: grey;
}
.embed footer,
.embed footer a {
color: black;
}
#fullscreen {
position: absolute;
right: 0.25rem;
bottom: 0;
cursor: pointer;
}
</style>
</head>
<body id="root">
<iframe title="simulator" id="simframe" allowfullscreen="allowfullscreen" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></iframe>
<!-- <div id="divider"></div> -->
<iframe title="manual" id="manual" src="https://microsoft.github.io/tilecode/doc/manual"></iframe>
<div id="bottom"></div>
<footer id="footer">
<a target="_blank" href="https://makecode.com/privacy">Privacy</a>
<a target="_blank" href="https://makecode.com/termsofuse">Terms Of Use</a>
<a target="_blank" href="https://makecode.com/trademarks">Trademarks</a>
© 2020 Microsoft
<div id="fullscreen">⇲</div>
</footer>
<script type="text/javascript">
makeCodeRun({ js: "./assets/js/binary.js?v={{ site.github.build_revision }}" });
if (window.location && window.location.search) {
var noFooter = /nofooter=1/i.test(window.location.search);
var embed = /embed=1/i.test(window.location.search);
var root = document.querySelector("#root");
if (noFooter) {
var footer = document.querySelector("#footer");
if (root)
root.className += " nofooter";
if (footer)
footer.remove();
}
if (embed && root) {
root.className += " embed";
}
}
</script>
</body>
</html>