-
Notifications
You must be signed in to change notification settings - Fork 0
/
terminal.css
107 lines (96 loc) · 1.8 KB
/
terminal.css
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
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;
white-space: pre-wrap;
word-wrap: break-word;
text-align: justify;
}
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%;
}
}