-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
131 lines (128 loc) · 3.95 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>fo-hacking</title>
<base href="/">
<meta name="description" content="Learning materials about IT work, technology and programming.">
<meta name="keywords" content="fallout hacking mini online web game 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>
@font-face {
font-family: 'VCR_OSD_MONO_1.001';
src: url('assets/fonts/VCR_OSD_MONO_1.001.ttf');
}
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;
padding: 12px;
justify-content: center;
}
section#display #border {
border: 55px ridge gray;
align-self: center;
object-fit: fill;
width: 80vh;
}
section#display canvas {
align-self: center;
object-fit: fill;
width: 80vh;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
#fps {
color: white;
display: block;
position: fixed;
right: 10px;
top: 100px;
}
#letters {
position: fixed;
right: 10px;
top: 130px;
width: 110px;
}
#reset, #help {
position: fixed;
right: 10px;
top: 160px;
width: 110px;
text-align: left;
}
#help {
top: 190px;
}
</style>
</head>
<body>
<main>
<header><img src="assets/images/kodenkel-logo.png"/><h1>fo-hacking</h1></header>
<section id="display">
<span id="fps"></span>
<select id="letters">
<option value="4">4 letter words</option>
<option value="5" selected>5 letter words</option>
<option value="6">6 letter words</option>
<option value="7">7 letter words</option>
<option value="8">8 letter words</option>
<option value="9">9 letter words</option>
</select>
<button id="reset">🔃 Reset</button>
<button id="help">📖 How to play</button>
<div id="border"></div>
</section>
</main>
</body>
</html>