github-actions[bot] commited on
Commit
7f595cd
·
1 Parent(s): d44c543

Auto-deploy from GitHub: f2668e389eaf47a596c8175ce32b6f62189f4569

Browse files
Files changed (1) hide show
  1. index.html +23 -10
index.html CHANGED
@@ -401,13 +401,13 @@
401
  background: var(--surface);
402
  border: var(--border) solid var(--primary);
403
  box-shadow: 12px 12px 0 var(--primary);
404
- padding: 2rem;
405
  max-width: 800px;
406
  width: 100%;
407
  max-height: 80vh;
408
- overflow-y: auto;
409
  position: relative;
410
  animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 
 
411
  }
412
 
413
  @keyframes modalSlideIn {
@@ -425,9 +425,12 @@
425
  display: flex;
426
  justify-content: space-between;
427
  align-items: center;
428
- margin-bottom: 1.5rem;
429
- padding-bottom: 1rem;
430
  border-bottom: 3px solid var(--primary);
 
 
 
 
431
  }
432
 
433
  .modal-title {
@@ -459,11 +462,12 @@
459
  .code-block {
460
  background: var(--bg);
461
  border: 3px solid var(--accent);
462
- padding: 1.5rem;
463
  border-radius: 0;
464
- overflow-x: auto;
465
- margin-bottom: 1rem;
466
  position: relative;
 
467
  }
468
 
469
  .code-block code {
@@ -477,8 +481,8 @@
477
 
478
  .copy-btn {
479
  position: absolute;
480
- top: 1rem;
481
- right: 1rem;
482
  background: var(--accent);
483
  color: var(--bg);
484
  border: 3px solid var(--bg);
@@ -488,6 +492,7 @@
488
  cursor: pointer;
489
  transition: all 0.2s ease;
490
  box-shadow: 3px 3px 0 var(--bg);
 
491
  }
492
 
493
  .copy-btn:hover {
@@ -518,7 +523,15 @@
518
  }
519
 
520
  .modal-content {
521
- padding: 1.5rem;
 
 
 
 
 
 
 
 
522
  }
523
  }
524
 
 
401
  background: var(--surface);
402
  border: var(--border) solid var(--primary);
403
  box-shadow: 12px 12px 0 var(--primary);
 
404
  max-width: 800px;
405
  width: 100%;
406
  max-height: 80vh;
 
407
  position: relative;
408
  animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
409
+ display: flex;
410
+ flex-direction: column;
411
  }
412
 
413
  @keyframes modalSlideIn {
 
425
  display: flex;
426
  justify-content: space-between;
427
  align-items: center;
428
+ padding: 2rem 2rem 1rem 2rem;
 
429
  border-bottom: 3px solid var(--primary);
430
+ background: var(--surface);
431
+ position: sticky;
432
+ top: 0;
433
+ z-index: 10;
434
  }
435
 
436
  .modal-title {
 
462
  .code-block {
463
  background: var(--bg);
464
  border: 3px solid var(--accent);
465
+ padding: 4rem 1.5rem 1.5rem 1.5rem;
466
  border-radius: 0;
467
+ overflow-y: auto;
468
+ margin: 1.5rem 2rem 2rem 2rem;
469
  position: relative;
470
+ flex: 1;
471
  }
472
 
473
  .code-block code {
 
481
 
482
  .copy-btn {
483
  position: absolute;
484
+ top: 0.5rem;
485
+ right: 0.5rem;
486
  background: var(--accent);
487
  color: var(--bg);
488
  border: 3px solid var(--bg);
 
492
  cursor: pointer;
493
  transition: all 0.2s ease;
494
  box-shadow: 3px 3px 0 var(--bg);
495
+ z-index: 5;
496
  }
497
 
498
  .copy-btn:hover {
 
523
  }
524
 
525
  .modal-content {
526
+ padding: 0;
527
+ }
528
+
529
+ .modal-header {
530
+ padding: 1.5rem 1.5rem 1rem 1.5rem;
531
+ }
532
+
533
+ .code-block {
534
+ margin: 1.5rem 1.5rem 1.5rem 1.5rem;
535
  }
536
  }
537