aboutsummaryrefslogtreecommitdiff
path: root/main.css
blob: 3f6ea7e4b38b3235720530c5772940207b67790e (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
.UI {
    background-color: blue;
}
#chatwindow {
    display: flex;
    flex-flow: column;
    overflow-y: scroll;
    word-break: break-word;
    scroll-snap-align: end;
    flex-basis: 100vh;
    flex-grow: 1;
}
.message:hover {
    background-color: #DDD;
}
.message {
    display: flex;
}
.messagetext {
    white-space: pre-wrap;
    flex-grow: 1;
}
.message_buttons {
    display: flex;
}
.message_buttons > button {
    height: 1.6em;
    width: 1.6em;
    padding: 2px;
    margin: 2px;
}

#navbar {
    border-bottom: 2px solid black;
    width: 100%;
    display: inline-block;
    flex-grow: 0;
}
#inputbox {
    border-top: 2px solid black;
    display: flex;
}
#inputbox > button {
    padding: 0 5px 0 5px;
}
#input {
    resize: none;
    flex-grow: 1;
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
}

.date {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid black;
}

.deleted {
    color: #999;
}

.new_messages {
    display: none;
    text-align: center;
    background-color: red;
    color: white;
}