-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (128 loc) · 2.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Terminal - x</title>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width,minimum-scale=1,maximum-scale=5,user-scalable=yes"
/>
<meta http-equiv="cache-control" content="max-age=3600" />
<style>
body {
position: relative;
padding-top: 1rem;
margin: 0;
letter-spacing: 0.1rem;
background-color: rgb(40, 40, 40);
font-family: monospace;
background: rgb(40, 40, 40),
linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
rgba(0, 255, 0, 0.02),
rgba(0, 0, 255, 0.06)
);
color: rgba(51, 255, 0, 1);
text-shadow: 0 0 0.5rem rgba(51, 255, 0, 1), 2px 0 1px rgba(0, 0, 255, 1),
-1px 0 1px rgba(255, 0, 0, 1);
}
.cursor {
animation: blinker 0.5s linear infinite;
}
.prompt {
color: rgb(255, 176, 0);
text-shadow: none;
text-shadow: 0 0 0.5rem rgb(255, 176, 0), 1px 0 1px rgba(255, 0, 0, 1),
-1px 0 1px rgba(0, 0, 255, 1);
}
@keyframes blinker {
50% {
opacity: 0;
}
}
.input {
margin: 0 1rem 0 1rem;
}
pre {
margin-left: 0;
}
a {
text-decoration-line: unset;
color: rgba(51, 255, 0, 1);
}
::selection {
background: #0080ff;
text-shadow: none;
}
.scanlines {
top: 0;
bottom: 0;
position: fixed;
overflow: hidden;
width: 100%;
}
.scanlines:before,
.scanlines:after {
display: block;
pointer-events: none;
content: "";
position: absolute;
}
.scanlines:before {
width: 100%;
height: 2px;
z-index: 2147483649;
background: rgba(0, 0, 0, 0.3);
opacity: 0.75;
-webkit-animation: scanline 6s linear infinite;
animation: scanline 6s linear infinite;
}
.scanlines:after {
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 2147483648;
background: linear-gradient(
to bottom,
transparent 50%,
rgba(0, 0, 0, 0.2) 50%
);
background-size: 100% 3px;
animation: scanlines 1s steps(60) infinite;
}
@keyframes scanline {
0% {
transform: translate3d(0, 200000%, 0);
}
}
@keyframes scanlines {
0% {
background-position: 0 50%;
}
}
</style>
</head>
<body>
<main>
<div class="scanlines"></div>
<div class="input" id="display"></div>
<div class="input" id="input"></div>
</main>
</body>
<script async src="terminal.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-139851154-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-139851154-1");
</script>
</html>