forked from okaybenji/text-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathretro.css
95 lines (81 loc) · 1.38 KB
/
retro.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
@font-face{
font-family: 'Apple II';
src: url('../fonts/font.ttf');
}
body {
color: #ff8012;
font-size: 2.2vh;
font-family: 'Apple II';
line-height: 4vh;
/* screen glow */
background-image: radial-gradient(
#1f0b00, black 120%
);
/* text glow */
text-shadow: 0 0 5px rgba(255, 78, 0, 0.6);
}
/* scanlines */
body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: repeating-linear-gradient(rgba(255, 78, 0, 0.03) 0.5vh, rgba(0, 0, 0, 0.05) 0.8vh);
z-index: -1;
}
/* scrollbar */
::-webkit-scrollbar {
width: 1vw;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background: #000;
}
.img {
white-space: pre;
display: inline-block;
position: relative;
left: 50%;
transform: translateX(-50%);
}
#output {
padding: 2vw 2vw 0 2vw;
}
#output div {
margin-bottom: 1vw;
}
.input {
display: flex;
}
a {
color: orange;
}
#input {
height: 4vh;
width: 98.5vh;
color: orange;
background: transparent;
font-size: 2vh;
font-family: "Apple II";
border: none;
position: relative;
bottom: 0.175vh;
margin-left: .5vw;
}
span {
margin-left: 2vw;
}
#input:focus {
outline: none;
}
@keyframes blink {
0% {background: orange;}
49% {background: orange;}
60% {background: transparent;}
99% {background: transparent;}
100% {background: orange;}
}