imseldrith commited on
Commit
58b83d1
·
1 Parent(s): 2742b75

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +587 -28
style.css CHANGED
@@ -1,28 +1,587 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
-
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,200;0,400;0,800;1,200;1,400;1,800&display=swap');
3
+
4
+ @import url('https://fonts.googleapis.com/css2?family=Product+Sans&family=Google+Sans+Display:ital@0;1&family=Google+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Google+Sans+Text:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Material+Symbols+Outlined&family=Space+Mono&display=swap');
5
+
6
+ @font-face {
7
+ font-family: 'Material Symbols Outlined';
8
+ font-style: normal;
9
+ font-weight: 400;
10
+ src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v154/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
11
+ }
12
+
13
+ .material-symbols-outlined {
14
+ font-family: 'Material Symbols Outlined';
15
+ font-weight: normal;
16
+ font-style: normal;
17
+ font-size: 1.5rem;
18
+ line-height: 1;
19
+ letter-spacing: normal;
20
+ text-transform: none;
21
+ display: inline-block;
22
+ white-space: nowrap;
23
+ word-wrap: normal;
24
+ direction: ltr;
25
+ -webkit-font-feature-settings: 'liga';
26
+ font-feature-settings: "liga";
27
+ -webkit-font-smoothing: antialiased;
28
+
29
+ }
30
+
31
+ body {
32
+ font-family: 'Noto Sans', sans-serif;
33
+
34
+ margin: 0;
35
+ }
36
+
37
+ p {
38
+ margin: 0;
39
+ margin-bottom: 0.5rem;
40
+ padding: 0;
41
+ font-size: 1rem;
42
+ }
43
+
44
+ h1,
45
+ h2,
46
+ h3,
47
+ ol,
48
+ ul {
49
+ margin: 0;
50
+ }
51
+
52
+ h1 {
53
+ margin-bottom: 0.5rem;
54
+ }
55
+
56
+ a {
57
+ color: #3b82f6;
58
+ }
59
+
60
+ input,
61
+ textarea,
62
+ select {
63
+ border: 1px solid;
64
+ padding: 0.5rem;
65
+ border-radius: 0.5rem;
66
+ border: none;
67
+ font-family: noto sans, sans-serif;
68
+ font-size: 1rem;
69
+ }
70
+
71
+ button:focus {
72
+ outline: none;
73
+ }
74
+
75
+ .form {
76
+ display: none;
77
+ opacity: 0;
78
+ flex-direction: column;
79
+ width: 32rem;
80
+ gap: 0.5rem;
81
+ flex-grow: 1;
82
+ justify-content: center;
83
+ }
84
+
85
+ .overlay {
86
+ flex-direction: column;
87
+ display: none;
88
+ position: fixed;
89
+ opacity: 0;
90
+ top: 0;
91
+ left: 0;
92
+ width: 100dvw;
93
+ height: 100dvh;
94
+ backdrop-filter: blur(2rem);
95
+ z-index: 2;
96
+ justify-content: flex-start;
97
+ align-items: center;
98
+ }
99
+
100
+ .backButton {
101
+ position: absolute;
102
+ top: 1rem;
103
+ left: 1rem;
104
+ border: none;
105
+ background-color: transparent;
106
+ font-size: 1.5rem;
107
+ font-weight: 600;
108
+ transition: all 0.2s;
109
+
110
+ }
111
+
112
+ #btn-hide-sidebar {
113
+ display: none;
114
+ }
115
+
116
+ .message-container {
117
+ display: flex;
118
+ flex-direction: column-reverse;
119
+ overflow-y: auto;
120
+ gap: 1rem;
121
+ padding-bottom: 2rem;
122
+ flex-grow: 1;
123
+ }
124
+
125
+ .message-box {
126
+ display: flex;
127
+ position: relative;
128
+ }
129
+
130
+ .message {
131
+
132
+ padding: 1rem;
133
+ }
134
+
135
+ .message-model {
136
+ border-radius: 1rem;
137
+ }
138
+
139
+ #messageInput {
140
+ height: 2.5rem;
141
+ box-sizing: border-box;
142
+ text-wrap: wrap;
143
+ resize: none;
144
+ width: 100%;
145
+ padding-right: 2rem;
146
+ }
147
+
148
+ #messageInput::-webkit-scrollbar {
149
+ height: 1rem;
150
+ width: 0.5rem;
151
+ }
152
+
153
+ .btn-textual {
154
+ background: transparent !important;
155
+ margin: 0;
156
+ padding: 0;
157
+ border: none;
158
+ transition: all 0.2s;
159
+ cursor: pointer;
160
+ font-size: inherit;
161
+ }
162
+
163
+
164
+
165
+ #btn-send {
166
+ position: absolute;
167
+ right: 0.5rem;
168
+ bottom: 0.5rem;
169
+ font-size: 1.5rem;
170
+ }
171
+
172
+ .btn-array {
173
+ display: flex;
174
+ flex-direction: row;
175
+ gap: 0.5rem;
176
+ margin-top: 0.5rem;
177
+ }
178
+
179
+ .btn-array button {
180
+ flex-grow: 1;
181
+ }
182
+
183
+ .personality-prompt {
184
+ display: none;
185
+ }
186
+
187
+ .prompt-field {
188
+ resize: vertical;
189
+ height: 7rem;
190
+ }
191
+
192
+ .container {
193
+ box-sizing: border-box;
194
+ display: flex;
195
+ gap: 0.5rem;
196
+ padding: 1rem;
197
+
198
+
199
+ width: 100dvw;
200
+ height: 100dvh;
201
+
202
+ }
203
+
204
+ .sidebar {
205
+ position: sticky;
206
+ top: 1rem;
207
+
208
+ display: flex;
209
+ flex-direction: column;
210
+ overflow-y: auto;
211
+ gap: 0.5rem;
212
+ padding: 1rem;
213
+ width: 25rem;
214
+ border-radius: 1rem;
215
+ scrollbar-width: thin;
216
+ height: calc(100dvh - 4rem);
217
+ z-index: 1;
218
+ }
219
+
220
+ .sidebar-section {
221
+ margin-bottom: 1rem;
222
+ display: flex;
223
+ flex-direction: column;
224
+ gap: 0.5rem;
225
+ }
226
+
227
+ #btn-show-sidebar {
228
+ display: none;
229
+ }
230
+
231
+ .header {
232
+ display: flex;
233
+
234
+ box-sizing: border-box;
235
+ align-items: center;
236
+ font-size: 2rem;
237
+ font-weight: 800;
238
+ gap: 0.5rem;
239
+ width: 100%;
240
+ }
241
+
242
+ .navbar {
243
+ position: relative;
244
+ display: flex;
245
+ flex-direction: row;
246
+ border-radius: 0.5rem;
247
+ justify-content: space-evenly;
248
+ margin-bottom: 1rem;
249
+ z-index: 0;
250
+ }
251
+
252
+ .navbar-tab {
253
+ width: 100%;
254
+ padding: 0.5rem;
255
+ text-align: center;
256
+
257
+ z-index: 2;
258
+ -webkit-tap-highlight-color: transparent;
259
+ cursor: pointer;
260
+
261
+ }
262
+
263
+
264
+
265
+ .navbar-tab-highlight {
266
+ padding: 0;
267
+ margin: 0;
268
+ position: absolute;
269
+ border-radius: 0.5rem;
270
+ transition: all 0.2s;
271
+ height: 100%;
272
+ z-index: 1;
273
+ /* glow */
274
+ box-shadow: 0 0 1rem 0.05rem #29292a3f;
275
+ }
276
+
277
+ #gemini-pro-branding {
278
+ font-family: Google Sans Display, sans-serif;
279
+ color: #7c8a9c;
280
+ font-size: 1rem;
281
+ font-weight: 400;
282
+ }
283
+
284
+ #gemin-pro-logo {
285
+ width: 2rem;
286
+ height: 2rem;
287
+ }
288
+
289
+ .credits {
290
+ margin-top: auto;
291
+ display: flex;
292
+ padding: 0rem 1rem 0 1rem;
293
+
294
+ font-size: 0.75rem;
295
+ color: #7c8a9c;
296
+
297
+ justify-content: space-between;
298
+ align-items: center;
299
+ }
300
+
301
+ button {
302
+ border: none;
303
+ background-color: #3b82f6;
304
+ color: white;
305
+ padding: 0.5rem;
306
+ border-radius: 0.5rem;
307
+ transition: all 0.2s;
308
+ }
309
+
310
+ #mainContent {
311
+ display: flex;
312
+ flex-direction: column;
313
+ padding: 2rem;
314
+ margin-left: auto;
315
+ margin-right: auto;
316
+ width: 32rem;
317
+ text-align: justify;
318
+ }
319
+
320
+ .card-personality {
321
+ box-sizing: border-box;
322
+ -moz-box-sizing: border-box;
323
+ -webkit-box-sizing: border-box;
324
+ color: #e4e4e4;
325
+ background-color: black;
326
+ background-size: cover;
327
+ background-position: center;
328
+ position: relative;
329
+
330
+ display: flex;
331
+ flex-direction: column;
332
+ justify-content: end;
333
+ padding: 1rem;
334
+ border-radius: 1rem;
335
+ height: 10rem;
336
+ -webkit-tap-highlight-color: transparent;
337
+ cursor: pointer;
338
+ text-shadow: 0 0 10px #000000, 0 0 5px #181818;
339
+ }
340
+
341
+ .edit:hover {
342
+ text-shadow: 0 0 10px #e4e4e4, 0 0 5px #dfdfdf;
343
+ }
344
+
345
+
346
+ .card-personality * {
347
+ /* unselectable */
348
+ -webkit-user-select: none;
349
+ /* Safari */
350
+ -moz-user-select: none;
351
+ /* Firefox */
352
+ -ms-user-select: none;
353
+ /* IE10+/Edge */
354
+ user-select: none;
355
+ /* Standard */
356
+
357
+ }
358
+
359
+ .card-personality input {
360
+ display: none;
361
+ }
362
+
363
+ .btn-edit-card {
364
+ /* top right corner */
365
+ position: absolute;
366
+ top: 1rem;
367
+ right: 1rem;
368
+ color: #e4e4e4;
369
+ }
370
+
371
+ .btn-share-card {
372
+ /* bottom right corner */
373
+ position: absolute;
374
+ top: 1rem;
375
+ right: 2.5rem;
376
+ font-size: 1rem;
377
+ color: #e4e4e4;
378
+ }
379
+
380
+ #btn-hide-overlay {
381
+ padding: 2rem;
382
+ }
383
+
384
+
385
+
386
+
387
+ @media (max-width: 768px) {
388
+ body {
389
+ margin: 0;
390
+ padding: 0;
391
+ }
392
+
393
+
394
+ .container {
395
+ padding: 0;
396
+
397
+ }
398
+
399
+ .message-container {
400
+ padding-left: 1rem;
401
+ padding-right: 1rem;
402
+ }
403
+
404
+ .sidebar {
405
+ top: 0;
406
+ height: calc(100dvh - 2rem);
407
+ margin: 0;
408
+ width: calc(100dvw - 2rem);
409
+ position: fixed;
410
+ border-radius: 0;
411
+ display: none;
412
+ }
413
+
414
+ .navbar {
415
+ position: relative;
416
+ }
417
+
418
+
419
+ #btn-hide-sidebar {
420
+ display: block;
421
+ }
422
+
423
+ #mainContent {
424
+ padding: 0;
425
+ margin: 0;
426
+ width: 100%;
427
+ }
428
+
429
+ #mainContent .header {
430
+ padding: 2rem;
431
+ }
432
+
433
+ #messageInput {
434
+ border-radius: 0;
435
+ }
436
+
437
+ #btn-show-sidebar {
438
+ display: block;
439
+ }
440
+ }
441
+
442
+
443
+ /* Light theme styles */
444
+ @media (prefers-color-scheme: light) {
445
+ :focus {
446
+ outline: 1px solid #8f9eb3;
447
+ }
448
+
449
+ body {
450
+ background-color: #f0f6ff;
451
+ color: #0a0a0a;
452
+ }
453
+
454
+ a {
455
+ color: #444ed6;
456
+ }
457
+
458
+ .sidebar {
459
+ background-color: #d2e2f7;
460
+ }
461
+
462
+ .navbar {
463
+ background-color: rgb(176 205 246);
464
+ }
465
+
466
+ .navbar-tab {
467
+ color: #0a0a0a;
468
+ }
469
+
470
+ .navbar-tab-highlight {
471
+ background-color: #87b0ed;
472
+ }
473
+
474
+ .btn-textual:hover {
475
+ text-shadow: 0 0 10px #000000;
476
+ }
477
+
478
+ button {
479
+ background-color: #83b5f7;
480
+
481
+ color: #2b3d59;
482
+ }
483
+
484
+ button:hover {
485
+ background-color: rgb(63, 191, 255);
486
+ }
487
+
488
+
489
+ input,
490
+ textarea,
491
+ select {
492
+ background-color: #f0f6ff;
493
+ outline: 1px solid #8f9eb3;
494
+ }
495
+
496
+ input::placeholder,
497
+ textarea::placeholder {
498
+ color: #7c8a9c;
499
+ }
500
+
501
+ .message-model {
502
+ background-color: #d2e2f7;
503
+ }
504
+ }
505
+
506
+ /* Dark theme styles */
507
+ @media (prefers-color-scheme: dark) {
508
+ :root {
509
+ color-scheme: dark;
510
+ }
511
+
512
+ :focus {
513
+ outline: 1px solid #73859e;
514
+ }
515
+
516
+
517
+
518
+ body {
519
+ background-color: #151e24;
520
+ color: #e4e4e4;
521
+ }
522
+
523
+ a {
524
+ color: #92d9eb;
525
+ }
526
+
527
+
528
+
529
+ .sidebar {
530
+ background-color: #1a2733;
531
+ }
532
+
533
+ .navbar {
534
+ background-color: #00000047;
535
+ }
536
+
537
+ .navbar-tab {
538
+ color: #e4e4e4;
539
+ }
540
+
541
+ .navbar-tab-highlight {
542
+ background-color: #22486b;
543
+
544
+ box-shadow: 0 0 1rem 0.05rem #29292aac;
545
+ }
546
+
547
+ button {
548
+ background-color: #22486b;
549
+ color: #c9d3ee;
550
+ }
551
+
552
+ button:hover {
553
+ background-color: #31689c;
554
+ }
555
+
556
+ .btn-textual {
557
+ color: #e4e4e4;
558
+ }
559
+
560
+ .btn-textual:hover {
561
+ text-shadow: 0 0 10px #ffffff, 0 0 5px #dfdfdf;
562
+ }
563
+
564
+ .edit:hover {
565
+ text-shadow: 0 0 10px #ffffff, 0 0 5px #dfdfdf;
566
+ /* Change #00ff00 to the color you want */
567
+ }
568
+
569
+ input,
570
+ textarea,
571
+ select {
572
+ background-color: #283542;
573
+
574
+ color: #e4e4e4;
575
+ border: none;
576
+ }
577
+
578
+ input::placeholder,
579
+ textarea::placeholder {
580
+ color: #849caf;
581
+ }
582
+
583
+
584
+ .message-model {
585
+ background-color: #1a2733;
586
+ }
587
+ }