-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
149 lines (122 loc) · 2.28 KB
/
style.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+TAS+Beginner&display=swap');
*{
box-sizing: border-box;
}
:root{
--primary-color: rgba(177, 214, 177,0.3)
}
body{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
margin: 0;
font-family: 'Quicksand', sans-serif;
}
.container{
border: 2px solid lightgreen;
padding: 10px;
border-radius: 40px 0 40px 0;
width: 70%;
height: 80vh;
display: flex;
flex-direction: column;
}
.container.hide,
.connexion.hide{
display: none;
}
h1{
text-align: center;
}
h1 span{
background-color: lightgreen;
padding: 20px;
border-radius: 50% 50% 0 0;
}
.box{
width: 100%;
display: flex;
overflow: scroll;
}
.list{
border-right: 1px solid gray;
padding-right: 10px;
}
.item{
border-bottom: 2px solid lightgreen;
padding: 20px 0;
min-width: max-content;
}
.item:hover{
background-color: var(--primary-color);
color: black;
cursor: pointer;
}
.content{
display: flex;
flex-direction: column;
width: 100%;
}
.new-message{
padding: 10px;
display: flex;
align-items: end;
}
button{
height: fit-content;
padding: 10px 15px;
margin-left: 20px;
background-color: lightgreen;
border: none;
cursor: pointer;
}
textarea{
flex: 1;
}
textarea:focus{
outline: none;
border: 4px solid lightgreen;
}
.messages{
width: 100%;
padding-left: 10px;
overflow: scroll;
display: flex;
flex-direction: column;
font-family: 'Edu TAS Beginner', cursive;
}
.message{
display: flex;
justify-content: space-between;
margin-bottom: 30px;
}
.text{
border: 1px solid gray;
padding: 15px;
border-radius: 0 15px 15px 15px;
border-top: none;
border-left: none;
background-color: var(--primary-color);
}
.date{
min-width: fit-content;
margin-left: 30px;
font-size: 0.5rem;
}
.date span{
background-color: var(--primary-color);
padding: 10px;
text-align: center;
border-radius: 10px;
}
.writting{
font-size: 0.8rem;
font-weight: lighter;
color: green;
}
.writting.stop{
display: none;
}