-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (126 loc) · 3.94 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>atom-factory</title>
<base href="/">
<meta name="description" content="Learning materials about IT work, technology and programming.">
<meta name="keywords" content="atom factory mini online web game atomix clone technology programming tutorial tips guide career advice blog how-to web apache java javascript linux database mariadb nginx php ruby security selenium testing sqlite typescript vagrant virtualization windows">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all">
<meta name="MSNBot-Media" content="noindex" />
<meta name="robots" content="max-snippet:160" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16x16.png">
<link rel="manifest" href="assets/images/favicon/site.webmanifest">
<link rel="mask-icon" href="assets/images/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script src="./dist/esbuild/browser.js"></script>
<style>
body, html {
margin: 0;
padding: 0;
background-color: black;
width: 100%;
height: 100%;
font-family: Verdana, sans-serif;
font-weight: 400;
}
main {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
header {
background-color: white;
height: auto;
padding: 12px;
}
header img {
height: 60px;
}
header h1 {
position: absolute;
right: 0;
top: 0;
margin-right: 12px;
font-weight: 400;
color: #b72424;
}
header h1:before {
content: "›";
margin-right: 6px;
font-weight: 600;
color: #3d7385;
}
section#display {
flex-grow: 1;
display: flex;
justify-content: center;
width: 100%;
height: 100%;
overflow: hidden;
box-sizing: border-box;
background: rgb(33,68,120);
background: linear-gradient(180deg, rgba(33,68,120,1) 0%, rgba(44,90,160,1) 100%);
}
section#display svg#scene {
align-self: center;
object-fit: fill;
justify-content: center;
width: auto;
height: 100%;
}
.hidden {
display: none;
visibility: hidden;
}
svg #arrow-u, svg #arrow-r, svg #arrow-d, svg #arrow-l {
z-index: 100;
cursor: pointer;
}
.title-bg {
background: #0b1728 !important;
}
#sound-text, #sound-box, #start-text, #start, #skip, #skip-text, #next, #next-text, #eraser, #tunnel, #ok, #ok-text {
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
svg text {
pointer-events: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.pointer {
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>
</head>
<body>
<main>
<header><img src="assets/images/kodenkel-logo.png"/><h1>atom-factory</h1></header>
<section id="display">
<svg id="scene"></svg>
</section>
</main>
<audio id="music"></audio>
</body>
</html>