-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcss.css
More file actions
90 lines (77 loc) · 1.88 KB
/
css.css
File metadata and controls
90 lines (77 loc) · 1.88 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
/* Add some basic styling to the chat interface */
body {
font-family: 'Roboto', sans-serif;
background-color: #36393f;
color: #f5f5f5;
}
#chat-window {
width: 90vw;
height: 300px;
border: 1px solid #ccc;
overflow-y: scroll; /* Add a scrollbar if the content overflows */
padding: 10px;
border-radius: 5px;
background-color: #2f3136;
text-align: center; /* Center the messages */
}
#chat-form {
display: flex;
align-items: center;
margin-top: 10px;
}
#chat-input {
flex-grow: 1; /* Take up remaining space in the form */
margin-right: 10px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #2f3136;
color: #f5f5f5;
}
/* Style the message wrapper and profile pictures */
.message-wrapper {
display: flex;
align-items: center;
margin: 10px 0;
}
.profile-picture {
width: 50px;
height: 50px;
border-radius: 50%; /* Make the profile picture a circle */
}
/* Style the message content */
.message-content {
display: inline-block;
margin: 0 10px;
}
.message-content p {
margin: 0;
padding: 5px 10px;
border-radius: 5px;
}
.user-message .message-content {
background-color: #99aab5;
}
.ai-message .message-content {
background-color: #72767d;
}
/* Add some additional styling */
h1 {
text-align: center;
color: #f5f5f5;
}
#chat-window::-webkit-scrollbar {
width: 10px; /* Set the width of the scrollbar */
}
#chat-window::-webkit-scrollbar-thumb {
background-color: #999; /* Set the color of the scrollbar thumb */
border-radius: 5px;
}
button {
background-color: #7289da;
color: #f5f5f5;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}