This repository was archived by the owner on Apr 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathmain.css
More file actions
172 lines (150 loc) · 2.93 KB
/
Copy pathmain.css
File metadata and controls
172 lines (150 loc) · 2.93 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
html {
height: 100%;
}
body {
min-height: 100%;
max-width : 720px;
margin : auto;
padding : 0 8px;
display : flex;
flex-flow : column;
}
#input {
width : 100%;
display : flex;
align-items : end;
border-radius: 8px;
border : crimson outset 1px;
margin-bottom: 5px;
}
#input:focus-within {
border-width: 2px;
}
#line {
flex : 1;
padding : 8px 0 8px 8px;
outline : medium;
font-size : 1.2rem;
border-radius: 8px;
border : none;
background : none;
white-space : pre-wrap;
word-wrap : break-word;
word-break : break-word;
}
input[type="submit"],
button.icon {
padding : 4px 8px;
color : green;
border-radius: 8px;
background : none;
border : none;
font-size : 1.5rem;
cursor : pointer;
}
/* CSS LOADER */
.loader {
border : 6px solid #efefef;
border-top : 6px solid #111;
border-radius: 50%;
animation : spin 1.2s linear infinite;
margin : 4px auto;
width : 20px;
height : 20px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#box {
width : 100%;
flex : auto;
display : flex;
flex-direction: column;
}
.modal {
background : rgba(0, 0, 0, 0.30);
position : absolute;
top : 0;
left : 0;
right : 0;
bottom : 0;
display : flex;
justify-content: center;
align-items : center;
}
.model-body {
width : 100%;
max-width : 720px;
max-height : 85vh;
background-color: white;
border-radius : 20px;
padding : 20px 30px;
margin : 20px;
overflow : auto;
}
.model-body input,
.model-body textarea {
width : calc(100% - 20px);
padding : 10px;
font-size : 1.0rem;
border-radius: 4px;
background : none;
white-space : pre-wrap;
word-wrap : break-word;
word-break : break-word;
}
.model-body label {
font-size: 1.2rem;
}
.model-body label.label {
display: block;
margin : 20px 0 5px 0;
}
.model-body button {
font-size: 1.1rem;
padding : 10px 30px;
}
.system,
.assistant,
.user {
max-width : 80%;
width : fit-content;
padding : 12px 18px;
margin : 8px 0;
font-size : 1.1rem;
white-space: pre-wrap;
}
.system {
align-self: center;
color : #555;
font-size : 1.0rem;
}
.assistant {
background-color: bisque;
border-radius : 36px 8px 8px 0;
}
.user {
background-color: darkcyan;
color : aliceblue;
border-radius : 8px 36px 0 8px;
align-self : end;
margin-left : auto;
}
.history-item {
max-width : calc(100% - 20px);
width : calc(100% - 20px);
padding : 12px 18px;
font-size : 1.0rem;
cursor : pointer;
}
.history-item:nth-child(even) {
background-color: antiquewhite;
}
.history-item:nth-child(odd) {
background-color: aliceblue;
}