~starkingdoms/starkingdoms

ref: 6fcee1ef2913b8518a5b84d0b147e36c2a17b176 starkingdoms/starkingdoms-client/src/css/chat.css -rw-r--r-- 875 bytes
6fcee1ef — core remove the funny html injection 2 years ago
                                                                                
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
.chat-container {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    width: 30vw;
    height: min-content;
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    font-weight: 500;
}
.chat-table {
    height: 23vh;
    display: block;
    overflow: auto;
}
.chat-box {
    appearance: none;
    background: transparent;
    color: var(--text);
    padding: 0.675em 1em;
    border: 1px solid var(--links);
    border-radius: 0.25rem;
    cursor: text;
    width: 100%;
    max-width: 100%;
}
.chat-box:focus {
    outline: none;
    background-color: var(--links-ultratransparent);
}
.message {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 1px;
    margin-bottom: 1px;
}
.server-message {
    color: #facb61;
}
.server-error {
    color: #ff2222;
}
.global-message {
    color: #4de640;
}
.direct-message {
    color: #599fbd;
}