-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (64 loc) · 1.73 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Stranger Things - Text-Based Adventure Game</title>
<style media="screen">
@font-face {
font-family: 'Print Char 21';
src: url('./fonts/PrintChar21.eot');
src: url('./fonts/PrintChar21.eot?#iefix') format('embedded-opentype'),
url('./fonts/PrintChar21.woff') format('woff'),
url('./fonts/PrintChar21.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
html {
background: #444;
}
#console {
background: #111;
font-size: 16px;
font-family: 'Print Char 21', 'Lucida Console', monospace;
color: #38CB00;
width: 554px;
height: 378px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
padding: 8px;
}
#console>.overlay {
width: 100%;
height: 100%;
position: absolute;
background: linear-gradient(#0000 0%, #0000 50%, #11111178 50%, #11111178 100%);
background-size: 100% 2px;
}
.options {
padding: 0;
margin: 0;
}
.options>li {
list-style-type: none;
}
.options>li:before {
content: '█ ';
color: #111111;
}
.options>li.active:before {
color: inherit;
}
</style>
</head>
<body>
<div id="console">
<div class="overlay"></div>
<span class="description"></span>
<ul class="options"></ul>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="./js/main.js" charset="utf-8"></script>
</body>
</html>