-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (98 loc) · 1.84 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
h1{
text-align: center;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container{
margin-top: 50%;
flex-direction: column;
overflow: hidden;
display: flex;
margin-top: 50px;
width: 90%;
max-width: 400px;
height: 600px;
background-color: #f1f1f1;
border: 20px solid #f1f1f1;
border-radius: 10px;
box-shadow: 2px 6px 20px rgba(0, 0, 0, 0.1);
}
#user-input{
margin-top: 100%;
margin-bottom: 0%;
padding: 15px;
border: 2px solid black;
border-radius: 20px;
}
.chatbot{
flex: 1;
padding: 10px;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: #f1f1f1 #d3d3d3;
}
.chatbot::-webkit-scrollbar{
width: 8px;
}
.chatbot::-webkit-scrollbar-thumb{
background-color: #d3d3d3;
border-radius: 10px;
}
.message{
margin: 10px o;
padding: 10px 15px;
border-radius: 20px;
font-size: 14px;
line-height: 1.4;
max-width: 70%;
word-wrap: break-word;
}
.user-message{
background-color: blue;
color: white;
margin-left: auto;
text-align: right;
}
.bot-message{
background-color: aliceblue;
color: black;
text-align: left;
}
.input-area{
flex: 1;
padding: 10px;
}
#user-input{
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 20px;
outline: none;
font-size: 14px;
margin-right: 10px;
transition: 0.3s;
}
#user-input:focus{
border: 1px solid blue;
}
#send-btn{
color: white;
padding: 10px 20px;
border: none;
border-radius: 20px;
background-color: blue;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s;
}
#send-btn:hover{
background-color: rgb(120, 187, 250);
}
body{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
background-color: aqua;
}