-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (59 loc) · 1.03 KB
/
style.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
@font-face {
font-family: commodore_pro;
src: url(C64_Pro_Mono-STYLE.ttf);
}
:root {
--fg-color: #867ADE;
--bg-color: #483AAA;
--br-color: #867ADE;
}
* {
font-family: commodore_pro;
font-size: 1em;
color: var(--fg-color)
}
body {
background-color: var(--br-color);
margin: 0;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
main {
background-color: var(--bg-color);
margin: auto;
height: 40em;
width: 64em;
}
#input {
position: absolute;
background-color: transparent;
caret-color: transparent;
padding: 0;
border: none;
width: 64em;
}
#input:focus {
outline: none;
}
#input::selection {
background-color: var(--fg-color);
color: var(--bg-color);
}
#caret {
position: absolute;
animation: blink 700ms infinite;
pointer-events: none;
}
@keyframes blink {
0%, 49% { opacity: 100%; }
50%, 100% { opacity: 0%; }
}
#file {
display: none;
}
span {
white-space: pre;
}