-
Notifications
You must be signed in to change notification settings - Fork 16
/
tilecode.html
123 lines (104 loc) · 3.79 KB
/
tilecode.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
---
# 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;
}
#simframe {
position: absolute;
top:0;
left:0;
padding: 0px;
margin: 0px;
width: 100%;
height: calc(100% - 2em);
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;
}
</style>
</head>
<body id="root">
<iframe title="simulator" id="simframe" sandbox="allow-popups allow-forms allow-scripts allow-same-origin"></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
</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>