-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (88 loc) · 1.48 KB
/
style.css
File metadata and controls
100 lines (88 loc) · 1.48 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
font-family: monospace;
background-color: #f2f2f2;
}
a {
color: rgb(230, 0, 255);
}
output {
white-space: pre;
height: 6em;
display: block;
font-family: monospace;
overflow: scroll;
}
h1 small {
font-size: 0.5em;
opacity: 0.9;
font-weight: 100;
}
div.chatdemo {
display: grid;
max-width: 90vw;
grid-template-columns: 1fr 10em;
}
.chat {
display: flex;
flex-direction: column;
margin: 0.5em;
border: 1px solid #3337;
border-radius: 5px;
.messageInput {
background: #3331;
border-top: 1px solid #3337;
display: flex;
padding: 0.2em;
[type="text"] {
flex: 1;
}
}
.messageList {
background: #ccc2;
margin: 0;
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
height: 10em;
overflow-y: scroll;
}
}
.messageList li {
padding: 0.5em;
margin: 0.5em;
background-color: #3334;
font-family: monospace;
}
.messageList li.inbound {
align-self: flex-start;
background-color: #ccc9;
border-radius: 0 8px 10px 10px;
}
.messageList li.outbound {
align-self: flex-end;
background-color: #08f5;
border-radius: 8px 10px 0 10px;
}
.speed-test #output {
font-size: 2em;
white-space: pre-wrap;
}
.send button {
font-size: 2em;
}
.lib-demo {
display: flex;
flex-direction: column;
align-items: center;
}
.lib-demo img {
height: 30vmin;
width: 30vmin;
margin: 3vmin;
}
.lib-demo output {
white-space: pre-wrap;
word-break: break-all;
max-width: 100%;
}