giv3me4shot commited on
Commit
22d2688
·
verified ·
1 Parent(s): 637af32

Create Style.css

Browse files
Files changed (1) hide show
  1. Style.css +294 -0
Style.css ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Variables */
2
+ :root {
3
+ --primary: #4361ee;
4
+ --secondary: #3f37c9;
5
+ --accent: #7209b7;
6
+ --success: #4cc9f0;
7
+ --danger: #f72585;
8
+ --dark: #0d1b2a;
9
+ --light: #f8f9fa;
10
+ --grey: #8d99ae;
11
+ --card-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
12
+ }
13
+
14
+ /* Layout Styles */
15
+ body, html {
16
+ margin: 0;
17
+ padding: 0;
18
+ font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
19
+ background: linear-gradient(135deg, #e0f7fa, #f3e5f5);
20
+ height: 100%;
21
+ color: var(--dark);
22
+ }
23
+
24
+ #app-container {
25
+ margin: 0 auto;
26
+ padding: 20px;
27
+ }
28
+
29
+ .header {
30
+ background: linear-gradient(to right, var(--primary), var(--secondary));
31
+ color: white;
32
+ padding: 30px 20px;
33
+ border-radius: 20px;
34
+ margin-bottom: 25px;
35
+ box-shadow: var(--card-shadow);
36
+ text-align: center;
37
+ }
38
+
39
+ .header h1 {
40
+ margin: 0;
41
+ font-size: 2.8rem;
42
+ font-weight: 700;
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ gap: 15px;
47
+ }
48
+
49
+ .header p {
50
+ font-size: 1.1rem;
51
+ margin-bottom: 0;
52
+ opacity: 0.9;
53
+ }
54
+
55
+ .content {
56
+ display: flex;
57
+ flex-wrap: wrap;
58
+ gap: 30px;
59
+ margin-bottom: 30px;
60
+ }
61
+
62
+ /* Controls Section */
63
+ .controls {
64
+ flex: 1;
65
+ min-width: 350px;
66
+ background: white;
67
+ border-radius: 20px;
68
+ padding: 25px;
69
+ box-shadow: var(--card-shadow);
70
+ }
71
+
72
+ .model-selector {
73
+ margin-bottom: 25px;
74
+ }
75
+
76
+ .model-selector label {
77
+ font-weight: 600;
78
+ margin-bottom: 10px;
79
+ display: block;
80
+ color: var(--secondary);
81
+ font-size: 1.1rem;
82
+ }
83
+
84
+ .model-selector select {
85
+ width: 100%;
86
+ padding: 14px;
87
+ border-radius: 12px;
88
+ border: 2px solid var(--grey);
89
+ font-size: 1rem;
90
+ transition: border-color 0.3s;
91
+ }
92
+
93
+ .model-selector select:focus {
94
+ outline: none;
95
+ border-color: var(--primary);
96
+ }
97
+
98
+ .model-info {
99
+ margin-top: 15px;
100
+ padding: 12px;
101
+ background: var(--light);
102
+ border-radius: 12px;
103
+ font-size: 0.9rem;
104
+ }
105
+
106
+ .system-prompt-area {
107
+ margin-bottom: 25px;
108
+ }
109
+
110
+ .system-prompt-area label {
111
+ font-weight: 600;
112
+ margin-bottom: 10px;
113
+ display: block;
114
+ color: var(--secondary);
115
+ font-size: 1.1rem;
116
+ }
117
+
118
+ .system-prompt-area textarea {
119
+ min-height: 120px;
120
+ font-size: 0.95rem;
121
+ }
122
+
123
+ .tips {
124
+ background: #eef2ff;
125
+ padding: 18px;
126
+ border-radius: 15px;
127
+ font-size: 0.92rem;
128
+ }
129
+
130
+ .tips h3 {
131
+ margin-top: 0;
132
+ color: var(--accent);
133
+ }
134
+
135
+ .tips ul {
136
+ padding-left: 20px;
137
+ }
138
+
139
+ .tips li {
140
+ margin-bottom: 8px;
141
+ }
142
+
143
+ /* Chat Section */
144
+ .chat-container {
145
+ flex: 2;
146
+ min-width: 500px;
147
+ }
148
+
149
+ .chat-area {
150
+ display: flex;
151
+ flex-direction: column;
152
+ gap: 25px;
153
+ }
154
+
155
+ .chat-input {
156
+ background: white;
157
+ border-radius: 20px;
158
+ padding: 25px;
159
+ box-shadow: var(--card-shadow);
160
+ }
161
+
162
+ .chat-input label {
163
+ font-weight: 600;
164
+ margin-bottom: 15px;
165
+ display: block;
166
+ color: var(--secondary);
167
+ font-size: 1.1rem;
168
+ }
169
+
170
+ .chat-input textarea {
171
+ min-height: 150px;
172
+ font-size: 1rem;
173
+ }
174
+
175
+ .btn-submit {
176
+ background: linear-gradient(to right, var(--primary), var(--accent));
177
+ color: white;
178
+ border: none;
179
+ padding: 14px 25px;
180
+ border-radius: 12px;
181
+ font-size: 1.1rem;
182
+ font-weight: 600;
183
+ cursor: pointer;
184
+ transition: transform 0.3s, opacity 0.3s;
185
+ width: 100%;
186
+ letter-spacing: 0.5px;
187
+ }
188
+
189
+ .btn-submit:hover {
190
+ transform: translateY(-2px);
191
+ opacity: 0.92;
192
+ }
193
+
194
+ .chat-output {
195
+ background: white;
196
+ border-radius: 20px;
197
+ padding: 25px;
198
+ box-shadow: var(--card-shadow);
199
+ }
200
+
201
+ .chat-output label {
202
+ font-weight: 600;
203
+ margin-bottom: 15px;
204
+ display: block;
205
+ color: var(--secondary);
206
+ }
207
+
208
+ .chat-output textarea {
209
+ min-height: 250px;
210
+ font-size: 1rem;
211
+ }
212
+
213
+ .examples {
214
+ background: white;
215
+ border-radius: 20px;
216
+ padding: 25px;
217
+ box-shadow: var(--card-shadow);
218
+ margin-top: 25px;
219
+ }
220
+
221
+ .examples h3 {
222
+ margin-top: 0;
223
+ color: var(--primary);
224
+ }
225
+
226
+ .footer {
227
+ text-align: center;
228
+ padding: 20px;
229
+ color: var(--dark);
230
+ font-size: 0.95rem;
231
+ margin-top: 30px;
232
+ }
233
+
234
+ .footer a {
235
+ color: var(--primary);
236
+ text-decoration: none;
237
+ font-weight: 600;
238
+ }
239
+
240
+ .footer img {
241
+ margin-top: 15px;
242
+ border-radius: 10px;
243
+ }
244
+
245
+ /* Responsive adjustments */
246
+ @media (max-width: 900px) {
247
+ .content {
248
+ flex-direction: column;
249
+ }
250
+
251
+ .controls, .chat-container {
252
+ min-width: 100%;
253
+ }
254
+ }
255
+
256
+ /* Model selector chips styling */
257
+ .models-info-grid {
258
+ display: grid;
259
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
260
+ gap: 18px;
261
+ margin-top: 25px;
262
+ }
263
+
264
+ .model-card {
265
+ background: white;
266
+ border-radius: 15px;
267
+ padding: 17px;
268
+ cursor: pointer;
269
+ transition: all 0.3s ease;
270
+ border: 2px solid transparent;
271
+ box-shadow: 0 4px 8px rgba(0,0,0,0.06);
272
+ }
273
+
274
+ .model-card:hover {
275
+ transform: translateY(-5px);
276
+ box-shadow: 0 12px 20px rgba(0,0,0,0.12);
277
+ border-color: var(--primary);
278
+ }
279
+
280
+ .model-card.active {
281
+ background: var(--light);
282
+ border-color: var(--primary);
283
+ }
284
+
285
+ .model-card h4 {
286
+ margin: 0 0 10px 0;
287
+ color: var(--primary);
288
+ }
289
+
290
+ .model-card p {
291
+ margin: 0;
292
+ font-size: 0.9rem;
293
+ color: var(--dark);
294
+ }