blob: bec003a23d1c454ac14c2e72a22bba44e44e558d (
plain)
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
|
:root {
--message-background: linear-gradient(0deg, #2e2d31, #252425);
--message-background-alt: linear-gradient(0deg, #3a393e, #282628);
--message-color: #f0f0f0;
--message-shadow-color: #1d1d1d;
}
* {
padding: 0;
margin: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
form div {
display: block;
}
.center {
width: 35em;
margin: 0 auto;
}
.center>* {
margin-bottom: 16px;
}
.messages {
display: flex;
flex-direction: column;
}
.message {
background: var(--message-background);
text-shadow: 1px 1px 2px var(--message-shadow-color);
padding: 4px;
border-bottom: 1px solid var(--message-shadow-color);
font-size: 16px;
color: gray;
}
.message-thread {
color: gray;
font-size: 12px;
}
.message-thread::before {
content: '>>> ';
}
.message:has(.author) {
color: var(--message-color);
}
.message .author {
font-weight: bold;
}
.message:nth-child(even) {
background: var(--message-background-alt);
}
.message .badge,
.message .emote {
height: 18px;
}
.message img {
vertical-align: middle;
margin: 0 2px;
}
.message img:first-child {
margin-left: 0;
}
.message:last-child {
border-bottom: none;
}
|