ginipick commited on
Commit
085ae59
ยท
verified ยท
1 Parent(s): 1d8d0e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -25
app.py CHANGED
@@ -415,14 +415,22 @@ HTML = """
415
  --transition: all 0.3s ease;
416
  }
417
 
418
- body {
419
- margin: 0;
420
- background: var(--bg-color);
421
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
422
- color: var(--text-color);
423
- background-image: linear-gradient(120deg, var(--tertiary-color) 0%, var(--bg-color) 100%);
424
- background-attachment: fixed;
425
- }
 
 
 
 
 
 
 
 
426
 
427
  /* ํ—ค๋” ์ œ๋ชฉ ์ œ๊ฑฐ ๋ฐ Home ๋ฒ„ํŠผ ๋ ˆ์ด์–ด ์ฒ˜๋ฆฌ */
428
  .floating-home {
@@ -803,7 +811,7 @@ HTML = """
803
  /* ํ—ค๋” ๋กœ๊ณ  ๋ฐ ํƒ€์ดํ‹€ */
804
  .library-header {
805
  position: fixed;
806
- top: 20px;
807
  left: 0;
808
  right: 0;
809
  text-align: center;
@@ -811,21 +819,21 @@ HTML = """
811
  pointer-events: none;
812
  }
813
 
814
- .library-header .title {
815
- display: inline-block;
816
- padding: 12px 30px;
817
- background: rgba(255, 255, 255, 0.85);
818
- backdrop-filter: blur(10px);
819
- border-radius: 30px;
820
- box-shadow: var(--shadow-md);
821
- font-size: 1.5rem;
822
- font-weight: 600;
823
- background-image: linear-gradient(120deg, #667eea 0%, #764ba2 100%);
824
- -webkit-background-clip: text;
825
- background-clip: text;
826
- color: transparent;
827
- pointer-events: all;
828
- }
829
 
830
  /* ์ ์ง„์  ๋กœ๋”ฉ ํ‘œ์‹œ */
831
  .loading-pages {
@@ -879,7 +887,7 @@ HTML = """
879
 
880
  <!-- ์„ผํ„ฐ ์ •๋ ฌ๋œ ํƒ€์ดํ‹€ -->
881
  <div class="library-header">
882
- <div class="title">FlipBook Library</div>
883
  </div>
884
 
885
  <section id="home" class="fade-in">
 
415
  --transition: all 0.3s ease;
416
  }
417
 
418
+
419
+ body {
420
+ margin: 0;
421
+ background: var(--bg-color);
422
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
423
+ color: var(--text-color);
424
+ /* ์ƒˆ๋กœ์šด ํผํ”Œ ๊ณ„ํ†ต ๊ณ ๊ธ‰์Šค๋Ÿฌ์šด ๊ทธ๋ผ๋””์—์ด์…˜ ๋ฐฐ๊ฒฝ */
425
+ background-image: linear-gradient(135deg, #2a0845 0%, #6441a5 50%, #c9a8ff 100%);
426
+ background-attachment: fixed;
427
+ }
428
+
429
+ /* ๋ทฐ์–ด ๋ชจ๋“œ์ผ ๋•Œ ๋ฐฐ๊ฒฝ ๋ณ€๊ฒฝ */
430
+ .viewer-mode {
431
+ background-image: linear-gradient(135deg, #30154e 0%, #6b47ad 50%, #d5b8ff 100%) !important;
432
+ }
433
+
434
 
435
  /* ํ—ค๋” ์ œ๋ชฉ ์ œ๊ฑฐ ๋ฐ Home ๋ฒ„ํŠผ ๋ ˆ์ด์–ด ์ฒ˜๋ฆฌ */
436
  .floating-home {
 
811
  /* ํ—ค๋” ๋กœ๊ณ  ๋ฐ ํƒ€์ดํ‹€ */
812
  .library-header {
813
  position: fixed;
814
+ top: 12px;
815
  left: 0;
816
  right: 0;
817
  text-align: center;
 
819
  pointer-events: none;
820
  }
821
 
822
+ .library-header .title {
823
+ display: inline-block;
824
+ padding: 8px 24px; /* ํŒจ๋”ฉ ์ถ•์†Œ */
825
+ background: rgba(255, 255, 255, 0.85);
826
+ backdrop-filter: blur(10px);
827
+ border-radius: 25px; /* ํ…Œ๋‘๋ฆฌ ๋ชจ์„œ๋ฆฌ ์ถ•์†Œ */
828
+ box-shadow: var(--shadow-md);
829
+ font-size: 1.25rem; /* ๊ธ€์ž ํฌ๊ธฐ ์ถ•์†Œ (1.5rem์—์„œ 1.25rem์œผ๋กœ) */
830
+ font-weight: 600;
831
+ background-image: linear-gradient(120deg, #8e74eb 0%, #9d66ff 100%); /* ์ œ๋ชฉ ์ƒ‰์ƒ๋„ ๋ฐ”ํƒ•ํ™”๋ฉด๊ณผ ์–ด์šธ๋ฆฌ๊ฒŒ ๋ณ€๊ฒฝ */
832
+ -webkit-background-clip: text;
833
+ background-clip: text;
834
+ color: transparent;
835
+ pointer-events: all;
836
+ }
837
 
838
  /* ์ ์ง„์  ๋กœ๋”ฉ ํ‘œ์‹œ */
839
  .loading-pages {
 
887
 
888
  <!-- ์„ผํ„ฐ ์ •๋ ฌ๋œ ํƒ€์ดํ‹€ -->
889
  <div class="library-header">
890
+ <div class="title">FlipBook Maker</div>
891
  </div>
892
 
893
  <section id="home" class="fade-in">