-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
121 lines (107 loc) · 1.94 KB
/
styles.css
File metadata and controls
121 lines (107 loc) · 1.94 KB
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
@font-face {
font-family: "JetBrainsMonoNL";
src: url("fonts/JetBrainsMonoNL-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
:root {
--color: #00ff00;
--font: monospace;
}
body {
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: #000;
color: var(--color);
font-family: var(--font);
position: relative;
}
.terminal {
background: #000;
padding: 20px;
border: 1px solid var(--color);
border-radius: 5px;
width: 100%;
max-width: 100%;
height: 100vh;
overflow: auto;
box-sizing: border-box;
position: relative;
z-index: 1;
}
.terminal div {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#output,
#terminal,
.prompt,
.glow {
animation: glow 1s infinite alternate;
font-size: 13px;
}
.input-line {
display: flex;
align-items: center;
}
#terminal {
border: none;
background: transparent;
color: var(--color);
width: 100%;
font-family: var(--font);
outline: none;
}
pre {
font-family: var(--font);
}
.prompt {
color: var(--color);
}
.terminal::before,
.terminal::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: -1;
}
.terminal::before {
background: repeating-linear-gradient(
180deg,
transparent,
transparent 1px,
rgba(255, 255, 255, 0.1) 1px,
rgba(255, 255, 255, 0.1) 2px
);
}
.terminal::after {
background: rgba(0, 0, 0, 0.02);
animation: flicker 2s infinite;
}
@keyframes glow {
from {
text-shadow: 0 0 10px var(--color), 0 0 20px var(--color),
0 0 30px var(--color);
}
to {
text-shadow: 0 0 15px var(--color), 0 0 25px var(--color),
0 0 35px var(--color);
}
}
@keyframes flicker {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
}