-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
124 lines (108 loc) · 1.98 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
#content {
position: relative;
}
#content img {
position: absolute;
top: 0px;
right: 0px;
height: 100px;
width: auto;
}
#container {
margin: 0 auto;
width: 60%;
background: #fff;
height: 100%;
/* overflow: scroll; */
border-left: 2px solid;
}
form {
margin: 0 auto;
width: 90%;
position: absolute;
top: 90%;
}
form #textbox {
width: 50%;
margin-left: 2%;
font-size: 1em;
line-height: 10px;
border: 0;
outline: 0;
background: transparent;
border-bottom: 1.5px solid rgb(104, 104, 104);
height: 3em;
}
form .send {
width: 10%;
height: 3em;
background: #5181b4;
font-family: 'PT Sans', sans-serif;
color: #fff;
font-size: 1em;
border: 0;
border-radius: 5px;
margin-left: 20px;
box-shadow: 1px;
position: relative;
box-shadow: 2px 2px #7eaee9;
}
form .send:active {
transition: top 2s -webkit-transform 2s;
/* Safari */
top: 2px;
}
form .send:hover {
background: #5878a1;
transition: background 2s -webkit-transform 2s;
/* Safari */
}
body {
color: #fff;
font-family: 'PT Sans', sans-serif;
}
#chat {
height: 80%;
width: 100%;
overflow-y: auto;
}
.chatblock-user,
.chatblock-bot {
width: 100%;
height: auto;
overflow: hidden;
border-bottom: 1.5px solid #d5dee7;
padding: 10px 0;
}
.chatblock-user img, .chatblock-bot img {
width: 6%;
border-radius: 100%;
float: left;
}
.chatblock-bot img {
float: right;
}
.user {
max-width: 60%;
background: rgb(131, 182, 199);
padding: 15px;
margin-top: .8em;
margin-bottom: .8em;
margin-left: 1%;
float: left;
display: block;
border-radius: 20px;
}
.bot {
max-width: 90%;
width: auto;
display: block;
background: rgb(219, 146, 134);
margin-right: 2%;
float: right;
padding: .8em;
margin-top: 20px;
margin-bottom: 20px;
text-align: right;
border-radius: 20px;
}