-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (63 loc) · 1.08 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
71
72
73
.fullscreen {
width: 100%;
min-height: 100vh;
}
.content-center {
display: flex;
justify-content: center;
align-items: center;
}
#random-text-holder {
font-size: 0;
margin-bottom: 4px;
margin-left: 4px;
max-width: 400px;
display: flex;
flex-wrap: wrap;
}
#random-text-input {
font-size: 20px;
font-family: monospace;
letter-spacing: 1.6px;
width: 100%;
}
.character {
display: inline-block;
padding: 0;
margin: 0 0.8px;
font-size: 20px;
font-weight: 600;
font-family: monospace;
}
.character--inactive {
color: #505050;
}
.character--active {
animation: text-blink .4s ease-in infinite alternate;
position: relative;
}
.character--active::before {
content: "";
position: absolute;
width: 10px;
height: 7px;
top: -6px;
background-color: #333333;
clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}
.character--success {
color: #3f8f6a;
background-color: #0080006c;
}
.character--error {
color: #882922;
background-color: #ff000030;
}
@keyframes text-blink {
from {
color: #303030;
}
to {
color: #30303055;
}
}