SondosMB commited on
Commit
9d5d159
·
verified ·
1 Parent(s): b4ac62c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -215
app.py CHANGED
@@ -224,134 +224,7 @@ header p {
224
  transform: scale(1.05);
225
  }
226
 
227
- /* Pre-Tabs Section */
228
-
229
- .pre-tabs {
230
- text-align: center;
231
- padding: 40px 20px;
232
- background: linear-gradient(135deg, #ffffff, #f9fafb);
233
- border-top: 5px solid #64b5f6;
234
- border-bottom: 5px solid #6a1b9a;
235
- }
236
-
237
- .pre-tabs h2, .post-tabs h2 {
238
- font-size: 3em; /* Increase the size for better visibility */
239
- }
240
-
241
- .pre-tabs p, .post-tabs p {
242
- font-size: 2.5em; /* Adjust paragraph text size */
243
- }
244
-
245
- .pre-tabs h2 {
246
- color: #333333;
247
- margin-bottom: 15px;
248
- }
249
-
250
- .pre-tabs p {
251
- color: #555555;
252
- line-height: 1.8;
253
- }
254
-
255
- /* Tabs Section */
256
- .tabs {
257
- margin: 0 auto;
258
- padding: 20px;
259
- background: #ffffff;
260
- border-radius: 12px;
261
- box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
262
- /* max-width: 1300px; /* change 1 */ */
263
- }
264
-
265
- /* Post-Tabs Section */
266
- .post-tabs {
267
- text-align: center;
268
- padding: 40px 20px;
269
- background: linear-gradient(135deg, #64b5f6, #6a1b9a);
270
- color: #ffffff;
271
- border-radius: 12px;
272
- margin-top: 30px;
273
- }
274
-
275
- .post-tabs h2 {
276
- font-size: 3.4em;
277
- margin-bottom: 15px;
278
- }
279
-
280
- .post-tabs p {
281
- font-size: 2em;
282
- line-height: 1.8;
283
- margin-bottom: 20px;
284
- }
285
-
286
- .post-tabs a {
287
- text-decoration: none;
288
- font-size: 1.1em;
289
- padding: 15px 30px;
290
- border-radius: 30px;
291
- font-weight: bold;
292
- background: #ffffff;
293
- color: #6a1b9a;
294
- transition: transform 0.3s, background 0.3s;
295
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
296
- }
297
-
298
- .post-tabs a:hover {
299
- background: #6a1b9a;
300
- color: #ffffff;
301
- transform: scale(1.05);
302
- }
303
-
304
- /* Footer */
305
- footer {
306
- background: linear-gradient(135deg, #6a1b9a, #8e44ad);
307
- color: #ffffff;
308
- text-align: center;
309
- padding: 40px 20px;
310
- margin-top: 30px;
311
- border-radius: 12px;
312
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
313
- }
314
-
315
- footer h2 {
316
- font-size: 1.5em;
317
- margin-bottom: 15px;
318
- }
319
-
320
- footer p {
321
- font-size: 0.8em;
322
- line-height: 1.6;
323
- margin-bottom: 20px;
324
- }
325
- /* Link Styling */
326
- .social-links {
327
- display: flex;
328
- justify-content: center;
329
- gap: 15px; /* Space between links */
330
- }
331
-
332
- .social-link {
333
- display: inline-block;
334
- text-decoration: none;
335
- color: #ffffff;
336
- background-color: #6a1b9a; /* Purple button background */
337
- padding: 10px 20px;
338
- border-radius: 30px;
339
- font-size: 16px;
340
- font-weight: bold;
341
- transition: all 0.3s ease;
342
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
343
- }
344
-
345
- .social-link:hover {
346
- background-color: #8c52d3; /* Darker shade on hover */
347
- box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
348
- transform: translateY(-2px);
349
- }
350
 
351
- .social-link:active {
352
- transform: translateY(1px);
353
- box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
354
- }
355
 
356
  /* submiton */
357
  /* Submission Section Styling */
@@ -459,7 +332,7 @@ footer p {
459
  }
460
 
461
  /* Footer */
462
- footer {
463
  background: linear-gradient(135deg, #6a1b9a, #8e44ad);
464
  color: #ffffff;
465
  text-align: center;
@@ -467,7 +340,7 @@ footer {
467
  margin-top: 30px;
468
  border-radius: 12px;
469
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
470
- }
471
 
472
  footer h2 {
473
  font-size: 1.5em;
@@ -510,100 +383,16 @@ footer p {
510
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
511
  }
512
 
513
- /* Submission Section Styling */
514
- /* Submission Section Styling */
515
- .submission-section {
516
- margin: 40px auto;
517
- padding: 30px;
518
- background: linear-gradient(135deg, #ffffff, #f9f9ff);
519
- border-radius: 12px;
520
- box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
521
- /*max-width: 800px; change 1*/
522
- text-align: center;
523
-
524
- }
525
- .submission-section h2 {
526
- font-size: 2.5em;
527
- color: #6a1b9a;
528
- margin-bottom: 20px;
529
- font-weight: bold;
530
- }
531
- .submission-section p {
532
- font-size: 1.2em;
533
- color: #333;
534
- margin-bottom: 30px;
535
- }
536
- #submission-fields {
537
- display:flex;
538
- flex-direction: column;
539
- gap: 20px;
540
- align-items: center;
541
- }
542
- #submission-fields input[type="file"],
543
- #submission-fields input[type="text"] {
544
- width: 90%;
545
- padding: 12px 15px;
546
- font-size: 1em;
547
- border: 2px solid #d3bce8;
548
- border-color: #5e1287;
549
- border-radius: 8px;
550
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
551
- transition: border-color 0.3s ease;
552
- }
553
- #submission-results {
554
- margin-top: 20px;
555
- text-align: center;
556
- }
557
  #submission-buttons {
558
  display: flex;
559
  justify-content: center;
560
  gap: 15px;
561
  margin-top: 20px;
562
  }
563
- #submission-buttons button {
564
- padding: 10px 20px;
565
- font-size: 1em;
566
- color: #ffffff;
567
- background: #6a1b9a;
568
- border: none;
569
- border-radius: 30px;
570
- cursor: pointer;
571
- font-weight: bold;
572
- transition: background 0.3s ease, transform 0.3s ease;
573
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
574
- }
575
- #submission-buttons button:hover {
576
- background: #8c52d3;
577
- transform: scale(1.05);
578
- }
579
- #submission-buttons button:active {
580
- background: #5e1287;
581
- transform: scale(0.98);
582
- }
583
 
584
 
585
- #submission-fields input[type="file"]:hover,
586
- #submission-fields input[type="text"]:hover {
587
- border-color: #6a1b9a; /* Darker purple on hover */
588
- }
589
- #submission-fields input[type="file"]:focus,
590
- #submission-fields input[type="text"]:focus {
591
- border-color: #6a1b9a; /* Darker purple on focus */
592
- outline: none;
593
- box-shadow: 0 0 8px rgba(106, 27, 154, 0.5); /* Glow effect */
594
- }
595
- /* Evaluation Status Styling */
596
- #evaluation-status {
597
- margin-top: 15px;
598
- padding: 10px 20px;
599
- font-size: 1em;
600
- border-radius: 8px;
601
- border: 2px solid #6a1b9a; /* Matches the hover color */
602
- background: #f9f7fd; /* Subtle purple background */
603
- color: #333;
604
- font-weight: bold;
605
- box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
606
- }
607
  /* Buttons Styling */
608
  #submission-buttons button {
609
  padding: 12px 25px;
 
224
  transform: scale(1.05);
225
  }
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
 
 
 
 
 
228
 
229
  /* submiton */
230
  /* Submission Section Styling */
 
332
  }
333
 
334
  /* Footer */
335
+ /*footer {
336
  background: linear-gradient(135deg, #6a1b9a, #8e44ad);
337
  color: #ffffff;
338
  text-align: center;
 
340
  margin-top: 30px;
341
  border-radius: 12px;
342
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
343
+ }*/
344
 
345
  footer h2 {
346
  font-size: 1.5em;
 
383
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
384
  }
385
 
386
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  #submission-buttons {
388
  display: flex;
389
  justify-content: center;
390
  gap: 15px;
391
  margin-top: 20px;
392
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
 
394
 
395
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  /* Buttons Styling */
397
  #submission-buttons button {
398
  padding: 12px 25px;