-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterminalchat.css
More file actions
84 lines (72 loc) · 1.57 KB
/
terminalchat.css
File metadata and controls
84 lines (72 loc) · 1.57 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
body {
background-color: black;
}
.chatMessage {
font-size: 40px;
font-family: "Fixedsys Excelsior 3.01";
}
.emoteWrapper {
position: relative;
display: inline-block;
height: 40px;
vertical-align: text-bottom;
}
.emoteWrapper img {
height: 100%;
}
.emoteWrapper img.zeroWidth {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
#chatArea {
position: fixed;
width: 100%;
bottom: 0px;
}
#chatMessageTemplate {
display: none;
}
.chatLine { /* A row in the chat display */
width: 0%;
height: 0px;
color: #7f7;
text-wrap: nowrap; /* Chromium >= 114 */
white-space: nowrap; /* Chromium < 114 */
overflow: hidden;
animation-name: scroll;
animation-delay: 0s;
animation-duration: 0.25s;
animation-iteration-count: 1;
animation-timing-function: steps(2, jump-end);
animation-fill-mode: forwards;
}
.chatMessage { /* a chatLine which contains an actual user message */
animation-name: scroll, cursor;
animation-delay: 0s, 0.25s;
animation-duration: 0.25s, 2.0s;
animation-iteration-count: 1, 1;
animation-timing-function: steps(2, jump-end), steps(60, jump-start);
animation-fill-mode: forwards, forwards;
}
.chatMessage.active {
border-right: 0.75em solid #7f7;
padding-right: 0em;
}
@keyframes scroll {
0% {
height: 0px;
}
100% {
height: 48px;
}
}
@keyframes cursor {
0% {
width: 0%;
}
100% {
width: 100%;
}
}