summaryrefslogtreecommitdiff
path: root/style.css
blob: 44e5182926056d4c3dcafc7b25e7d2312b6a89d5 (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
: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;
}

.messages {
    display: flex;
    flex-direction: column;
}

.message {
    background: var(--message-background);
    text-shadow: 1px 1px 2px var(--message-shadow-color);
    color: var(--message-color);
    padding: 4px;
    border-bottom: 1px solid var(--message-shadow-color);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.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;
}