-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
50 lines (46 loc) · 1.1 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
.container {
text-align: center;
padding: 2rem 15rem;
}
.messageContainer {
margin-top: 2rem;
margin-bottom: 2rem;
padding: 1rem 1rem;
overflow-y: auto;
height: 15rem;
border: 2px solid gray;
}
.messageContainer .serverMessage {
text-align: right;
color: blue;
}
.messageContainer .clientMessage {
text-align: left;
color: green;
}
.messageContainer .infoMessage {
text-align: center;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
color: grey;
font-weight: bold;
}
.message {
opacity: 0;
-webkit-transition: opacity 0.3s ease-in-out;
-moz-transition: opacity 0.3s ease-in-out;
-ms-transition: opacity 0.3s ease-in-out;
-o-transition: opacity 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}
.message.fade {
opacity: 1;
}
.divider {
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}