-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
81 lines (81 loc) · 1.48 KB
/
styles.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
body {
font-family: Arial, Helvetica, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f0f0f0;
padding: 10px 0;
}
.chat-container {
width: 320px;
min-height: 600px;
border: 1px solid #ccc;
border-radius: 12px;
display: flex;
flex-direction: column;
background-color: white;
}
.chat-header {
display: flex;
align-items: center;
border-bottom: 1px solid #ccc;
padding: 10px 16px;
}
.chat-header img {
width: 35px;
height: 35px;
border-radius: 50%;
margin-right: 16px;
}
.chat-header h6 {
margin: 0;
font-weight: 600;
font-size: 18px;
}
.chat-messages {
flex-grow: 1;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
font-size: 16px;
}
.message {
padding: 8px 16px;
border-radius: 16px;
max-width: 70%;
word-wrap: break-word;
}
.user-message {
background-color: #007bff;
color: white;
align-self: flex-end;
}
.bot-message {
background-color: #f1f0f0;
align-self: flex-start;
}
.chat-input {
display: flex;
padding: 16px;
}
#user-input {
flex-grow: 1;
padding: 12px 16px;
border: 1px solid #ccc;
border-radius: 24px;
}
#send-button {
padding: 5px 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 24px;
margin-left: 5px;
cursor: pointer;
}
#send-button:hover {
background-color: #48a1ff;
}