-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathindex.css
141 lines (121 loc) · 2.74 KB
/
index.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
/* CSS for chat container */
.chat-page {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #1d1d1d; /* Update background color to dark */
color: #fff; /* Update text color to white */
}
.model-dropdown select {
padding: 10px;
margin-bottom: 20px;
margin-right: 20px;
font-size: 1.1rem;
border-radius: 5px;
border: none;
background-color: #292929;
color: #fff;
}
/* CSS for chat messages */
.chat-container {
height: calc(80vh - 60px);
width: 70%;
max-width: 2000px;
margin: 0 auto;
-ms-overflow-style: none; /* Internet Explorer 10+ */
scrollbar-width: none; /* Firefox */
overflow-y: scroll;
background-color: #292929; /* Update background color to dark */
border-radius: 10px;
padding: 20px;
box-sizing: border-box;
}
.chat-container::-webkit-scrollbar {
display: none; /* Safari and Chrome */
}
/* CSS for chat message */
.chat-message {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 10px;
}
.user-message {
align-items: flex-end;
}
.assistant-message {
align-items: flex-start;
}
.message-role {
font-size: 0.9rem;
font-weight: bold;
}
.message-content {
padding: 10px;
border-radius: 5px;
font-size: 1.1rem;
background-color: #fff; /* Update background color to white */
color: #1d1d1d; /* Update text color to dark */
}
/* CSS for chat input */
.chat-input {
display: flex;
gap: 10px;
margin-top: 20px;
}
.input-field {
flex: 1;
padding: 10px;
font-size: 1.1rem;
border-radius: 5px;
border: none;
background-color: #292929;
color: #fff;
}
.submit-button {
padding: 10px 20px;
border-radius: 5px;
border: none;
background-color: #1db954; /* Update background color to green */
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease;
}
.submit-button:hover {
background-color: #1ed760; /* Update background color on hover */
}
/* CSS for error message */
.error-message {
margin-top: 10px;
font-size: 0.9rem;
color: #ff6961; /* Update text color to red */
}
.model-dropdown {
margin-bottom: 20px;
width: 70%;
align-items: center;
display: flex;
justify-content: space-between;
}
.left-dropdown {
flex: 1; /* Add this to make both dropdowns take equal space */
max-width: 45%;
}
.right-dropdown {
flex: 1; /* Add this to make both dropdowns take equal space */
max-width: 45%;
}