-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
67 lines (59 loc) · 1.23 KB
/
styles.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
body {
padding: 0;
margin: 0;
background: #000;
min-height: 100vh;
overflow: hidden;
background: linear-gradient(rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.7) 50%);
background-size: 100% 4px;
}
.terminal {
--size: 1.2;
height: 100vh;
font-family: 'Press Start 2P', cursive;
font-size: 12px;
color: #0f0;
text-shadow: 0 0 5px #0f0;
padding: 10px;
border: 4px solid #333;
box-shadow: 0 0 10px #0f0;
}
.cmd {
font-family: 'Press Start 2P', cursive !important;
}
.terminal .error {
color: #f00;
text-shadow: 0 0 5px #f00;
}
::-webkit-scrollbar {
width: 8px;
background: #000;
}
::-webkit-scrollbar-thumb {
background: #0f0;
border-radius: 0;
}
@keyframes crt-flicker {
0% { opacity: 0.9; }
100% { opacity: 1; }
}
.terminal::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
rgba(0, 255, 0, 0.1) 0%,
transparent 5%,
rgba(0, 255, 0, 0.1) 10%,
transparent 100%
);
pointer-events: none;
animation: scanline 8s linear infinite;
}
@keyframes scanline {
0% { transform: translateY(0); }
100% { transform: translateY(100vh); }
}