-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (99 loc) · 1.82 KB
/
style.css
File metadata and controls
106 lines (99 loc) · 1.82 KB
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
body {
background: linear-gradient(#1569C7, #6d0019);
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: small;
color: #7D1B7E;
padding: 0;
margin: 0;
line-height: 1.7em;
}
button {
background-color: rgba(255,255,255,.5);
padding: 5px;
outline: none;
border: 1px solid rgba(0,0,0,.3);
border-radius: 5px;
}
.wrapper {
max-width: 450px;
height: 100vh;
box-sizing: border-box;
margin: auto;
padding: 0;
background-color: rgba(255,255,255,.1);
display: flex;
flex-direction: column;
border-left: 1px solid rgba(255,255,255,.2);
border-right: 1px solid rgba(255,255,255,.2);
}
form {
flex: 5;
display: block;
padding: 15px;
}
.text-box {
font-size: 16px;
display: flex;
width: 100%;
}
input#message {
padding-left: 11px;
padding-right: 9px;
font-size: 16px;
height: 27px;
display: block;
flex: 10;
outline: none;
margin: 0 10px 0 0;
box-sizing: border-box;
border: 1px solid #aaa;
border-radius: 13px;
}
input.send-button {
display: block;
background-color: rgba(255,255,255,.6);
flex: 1;
border: 1px solid rgba(0,0,0,.2);
height: 27px;
box-sizing: border-box;
font-size: 16px;
line-height: 25px;
padding: 0;
border-radius: 13px;
}
div#dialogue {
overflow-x: none;
overflow-y: auto;
display: block;
flex: 95;
box-sizing: border-box;
width: 100%;
padding: 15px;
}
.bot-row, .user-row {
padding: 1px 0 10px 0;
display: block;
postion: relative;
}
.user-row {
text-align: right;
}
.user, .bot {
font-size: 16px;
padding: 5px 8px;
margin: 1px;
border-radius: 12px;
display: inline-block;
postion: relative;
}
.bot {
margin-right: 50px;
background-color: rgba(255,255,255,.85);
border-bottom-left-radius: 0;
}
.user {
margin-left: 50px;
color: white;
background-color: #3b3;
border-bottom-right-radius: 0;
}