-
Notifications
You must be signed in to change notification settings - Fork 22
/
styles.css
81 lines (67 loc) · 1.11 KB
/
styles.css
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
/* reseting browser styles */
* {
box-sizing: border-box;
font-family: system-ui;
}
body {
margin: 0;
}
header {
border-bottom: 1px solid grey;
height: 15vh;
padding: 20px 10px;
width: 100%;
border-top: 1px solid grey;
border-bottom: 1px solid grey;
}
header h1,
header h2 {
margin-right: 10px;
margin-left: 10px;
}
sidebar header.open {
height: 225px;
}
sidebar header input {
margin: 10px 0;
}
#thread-list,
#message-list {
list-style: none;
margin: 0;
padding: 0;
}
#message-list {
height: 55vh;
overflow: scroll;
}
#thread-list li {
border-bottom: 1px solid grey;
}
#thread-list li h2 {
padding: 20px 10px;
margin: 0;
}
#message-list li {
padding: 10px 20px;
border-bottom: 1px solid grey;
}
#new-message-form {
height: 100%;
display: flex;
flex-direction: column;
}
#new-message {
height: 30vh;
border-top: 1px solid grey;
}
#new-message-form textarea {
height: 100%;
margin: 10px;
border-radius: 5px;
}
#new-message-form button {
height: 50px;
margin: 10px;
border-radius: 5px
}