Deploy Aether Garden application
Browse files- .gitattributes +6 -0
- app.py +16 -1
- assets/verify/01-cover.png +2 -2
- assets/verify/02-page2.png +3 -0
- assets/verify/02-prologue-ready.png +3 -0
- assets/verify/02-prologue-skip.png +3 -0
- assets/verify/02-prologue.png +2 -2
- assets/verify/03-page1.png +2 -2
- assets/verify/03-page3.png +3 -0
- assets/verify/04-page4.png +3 -0
- assets/verify/05-page5.png +3 -0
- assets/verify/error.png +2 -2
- ui/styles.css +36 -23
.gitattributes
CHANGED
|
@@ -63,3 +63,9 @@ assets/verify/01-cover.png filter=lfs diff=lfs merge=lfs -text
|
|
| 63 |
assets/verify/error.png filter=lfs diff=lfs merge=lfs -text
|
| 64 |
assets/verify/02-prologue.png filter=lfs diff=lfs merge=lfs -text
|
| 65 |
assets/verify/03-page1.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
assets/verify/error.png filter=lfs diff=lfs merge=lfs -text
|
| 64 |
assets/verify/02-prologue.png filter=lfs diff=lfs merge=lfs -text
|
| 65 |
assets/verify/03-page1.png filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
assets/verify/02-page2.png filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
assets/verify/02-prologue-ready.png filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
assets/verify/02-prologue-skip.png filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
assets/verify/03-page3.png filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
assets/verify/04-page4.png filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
assets/verify/05-page5.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -117,6 +117,16 @@ def opening_gate_html() -> str:
|
|
| 117 |
#realm-opening .realm-cover-card {{
|
| 118 |
min-height: min(380px, 58vh) !important;
|
| 119 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
</style>
|
| 121 |
<div id="realm-opening" class="realm-opening is-open" aria-live="polite">
|
| 122 |
<div class="realm-opening-backdrop"></div>
|
|
@@ -167,8 +177,8 @@ def opening_gate_html() -> str:
|
|
| 167 |
<p class="realm-prologue-cursor" id="realm-prologue-cursor" aria-hidden="true">▌</p>
|
| 168 |
<div class="realm-prologue-actions">
|
| 169 |
<button id="realm-prologue-skip" type="button" class="realm-prologue-skip is-hidden">Skip</button>
|
| 170 |
-
<button id="realm-prologue-enter" type="button" disabled>Enter the Realm</button>
|
| 171 |
</div>
|
|
|
|
| 172 |
</div>
|
| 173 |
</div>
|
| 174 |
<div class="realm-toc-card" id="realm-toc" aria-hidden="true">
|
|
@@ -1702,6 +1712,11 @@ def build_app() -> gr.Blocks:
|
|
| 1702 |
host.style.setProperty('visibility', 'hidden', 'important');
|
| 1703 |
host.style.setProperty('pointer-events', 'none', 'important');
|
| 1704 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1705 |
document.body.classList.add('aether-realm-entered');
|
| 1706 |
};
|
| 1707 |
|
|
|
|
| 117 |
#realm-opening .realm-cover-card {{
|
| 118 |
min-height: min(380px, 58vh) !important;
|
| 119 |
}}
|
| 120 |
+
.realm-prologue-actions {{
|
| 121 |
+
display: flex !important;
|
| 122 |
+
flex-direction: column !important;
|
| 123 |
+
align-items: center !important;
|
| 124 |
+
justify-content: center !important;
|
| 125 |
+
width: 100% !important;
|
| 126 |
+
}}
|
| 127 |
+
#realm-prologue-enter:not(.ready) {{
|
| 128 |
+
display: none !important;
|
| 129 |
+
}}
|
| 130 |
</style>
|
| 131 |
<div id="realm-opening" class="realm-opening is-open" aria-live="polite">
|
| 132 |
<div class="realm-opening-backdrop"></div>
|
|
|
|
| 177 |
<p class="realm-prologue-cursor" id="realm-prologue-cursor" aria-hidden="true">▌</p>
|
| 178 |
<div class="realm-prologue-actions">
|
| 179 |
<button id="realm-prologue-skip" type="button" class="realm-prologue-skip is-hidden">Skip</button>
|
|
|
|
| 180 |
</div>
|
| 181 |
+
<button id="realm-prologue-enter" type="button" disabled>Enter the Realm</button>
|
| 182 |
</div>
|
| 183 |
</div>
|
| 184 |
<div class="realm-toc-card" id="realm-toc" aria-hidden="true">
|
|
|
|
| 1712 |
host.style.setProperty('visibility', 'hidden', 'important');
|
| 1713 |
host.style.setProperty('pointer-events', 'none', 'important');
|
| 1714 |
}
|
| 1715 |
+
const hoisted = document.getElementById('realm-opening');
|
| 1716 |
+
if (hoisted) {
|
| 1717 |
+
hoisted.classList.add('is-closed');
|
| 1718 |
+
hoisted.style.setProperty('pointer-events', 'none', 'important');
|
| 1719 |
+
}
|
| 1720 |
document.body.classList.add('aether-realm-entered');
|
| 1721 |
};
|
| 1722 |
|
assets/verify/01-cover.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/verify/02-page2.png
ADDED
|
Git LFS Details
|
assets/verify/02-prologue-ready.png
ADDED
|
Git LFS Details
|
assets/verify/02-prologue-skip.png
ADDED
|
Git LFS Details
|
assets/verify/02-prologue.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/verify/03-page1.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/verify/03-page3.png
ADDED
|
Git LFS Details
|
assets/verify/04-page4.png
ADDED
|
Git LFS Details
|
assets/verify/05-page5.png
ADDED
|
Git LFS Details
|
assets/verify/error.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
ui/styles.css
CHANGED
|
@@ -2944,7 +2944,7 @@ body,
|
|
| 2944 |
max-height: 565px !important;
|
| 2945 |
min-height: 0 !important;
|
| 2946 |
overflow: hidden !important;
|
| 2947 |
-
padding: 0.
|
| 2948 |
display: flex !important;
|
| 2949 |
flex-direction: column !important;
|
| 2950 |
}
|
|
@@ -3328,7 +3328,9 @@ body,
|
|
| 3328 |
opacity: 0;
|
| 3329 |
pointer-events: none;
|
| 3330 |
transition: opacity 0.8s ease;
|
| 3331 |
-
overflow: hidden;
|
|
|
|
|
|
|
| 3332 |
isolation: isolate;
|
| 3333 |
clip-path: polygon(
|
| 3334 |
0% 3%, 2% 0%, 5% 2%, 8% 0%, 12% 2%, 16% 0%, 20% 1.5%, 24% 0%,
|
|
@@ -3409,7 +3411,7 @@ body,
|
|
| 3409 |
}
|
| 3410 |
|
| 3411 |
.realm-prologue-cursor.active {
|
| 3412 |
-
display:
|
| 3413 |
}
|
| 3414 |
|
| 3415 |
@keyframes cursorBlink {
|
|
@@ -3450,6 +3452,7 @@ body,
|
|
| 3450 |
}
|
| 3451 |
|
| 3452 |
.realm-prologue-body {
|
|
|
|
| 3453 |
font-family: 'IM Fell English', serif;
|
| 3454 |
font-size: clamp(1rem, 2.2vw, 1.15rem);
|
| 3455 |
line-height: 1.75;
|
|
@@ -3476,19 +3479,23 @@ body,
|
|
| 3476 |
|
| 3477 |
.realm-prologue-actions {
|
| 3478 |
display: flex;
|
|
|
|
| 3479 |
align-items: center;
|
| 3480 |
justify-content: center;
|
| 3481 |
-
gap: 0.
|
| 3482 |
-
|
| 3483 |
-
|
|
|
|
| 3484 |
}
|
| 3485 |
|
| 3486 |
.realm-prologue-skip {
|
|
|
|
|
|
|
| 3487 |
border: 1px solid rgba(98, 62, 28, 0.35);
|
| 3488 |
border-radius: 999px;
|
| 3489 |
background: rgba(255, 249, 232, 0.55);
|
| 3490 |
color: #5c4228;
|
| 3491 |
-
padding: 0.5rem
|
| 3492 |
font-family: 'Cinzel', serif;
|
| 3493 |
text-transform: uppercase;
|
| 3494 |
letter-spacing: 0.1em;
|
|
@@ -3507,6 +3514,7 @@ body,
|
|
| 3507 |
}
|
| 3508 |
|
| 3509 |
#realm-prologue-enter {
|
|
|
|
| 3510 |
border: 1px solid var(--tome-gold-dark);
|
| 3511 |
border-radius: 999px;
|
| 3512 |
background: linear-gradient(180deg, #f0d696, #bb8e33);
|
|
@@ -3517,7 +3525,7 @@ body,
|
|
| 3517 |
letter-spacing: 0.12em;
|
| 3518 |
cursor: pointer;
|
| 3519 |
font-size: 0.78rem;
|
| 3520 |
-
margin
|
| 3521 |
opacity: 0;
|
| 3522 |
transform: translateY(8px);
|
| 3523 |
pointer-events: none;
|
|
@@ -3525,6 +3533,7 @@ body,
|
|
| 3525 |
}
|
| 3526 |
|
| 3527 |
#realm-prologue-enter.ready {
|
|
|
|
| 3528 |
opacity: 1;
|
| 3529 |
transform: translateY(0);
|
| 3530 |
pointer-events: auto;
|
|
@@ -3562,19 +3571,19 @@ body,
|
|
| 3562 |
}
|
| 3563 |
|
| 3564 |
.tome-page-left {
|
| 3565 |
-
padding-right:
|
| 3566 |
-
padding-left:
|
| 3567 |
border-right: none !important;
|
| 3568 |
}
|
| 3569 |
|
| 3570 |
.tome-page-right {
|
| 3571 |
-
padding-left:
|
| 3572 |
-
padding-right:
|
| 3573 |
}
|
| 3574 |
|
| 3575 |
.realm-tabs [role="tabpanel"] {
|
| 3576 |
-
padding-left:
|
| 3577 |
-
padding-right:
|
| 3578 |
clip-path: polygon(
|
| 3579 |
0% 1.5%, 1.5% 0%, 3% 1%, 5% 0%, 7% 1.2%, 9% 0%, 11% 1%, 13% 0%, 15% 1%,
|
| 3580 |
85% 0%, 87% 1%, 89% 0%, 91% 1.2%, 93% 0%, 95% 1%, 97% 0%, 98.5% 1.5%,
|
|
@@ -3766,14 +3775,14 @@ body,
|
|
| 3766 |
}
|
| 3767 |
|
| 3768 |
.tome-page-left {
|
| 3769 |
-
padding-right:
|
| 3770 |
-
padding-left:
|
| 3771 |
border-right: 1px solid rgba(98, 62, 28, 0.12);
|
| 3772 |
}
|
| 3773 |
|
| 3774 |
.tome-page-right {
|
| 3775 |
-
padding-left:
|
| 3776 |
-
padding-right:
|
| 3777 |
}
|
| 3778 |
|
| 3779 |
.tome-expand-btn {
|
|
@@ -4898,7 +4907,7 @@ body.aether-realm-entered #realm-opening-host {
|
|
| 4898 |
justify-content: flex-start !important;
|
| 4899 |
gap: 0 !important;
|
| 4900 |
min-height: 0 !important;
|
| 4901 |
-
padding: 0.
|
| 4902 |
background:
|
| 4903 |
linear-gradient(180deg, rgba(255, 249, 232, 0.35), rgba(255, 249, 232, 0.12)),
|
| 4904 |
radial-gradient(circle at 8% 12%, rgba(138, 106, 58, 0.06) 0 2px, transparent 3px),
|
|
@@ -4929,7 +4938,7 @@ body.aether-realm-entered #realm-opening-host {
|
|
| 4929 |
justify-content: flex-start !important;
|
| 4930 |
gap: 0.3rem !important;
|
| 4931 |
min-height: 0 !important;
|
| 4932 |
-
padding: 0.
|
| 4933 |
position: relative !important;
|
| 4934 |
background:
|
| 4935 |
linear-gradient(180deg, rgba(255, 249, 232, 0.35), rgba(255, 249, 232, 0.1)),
|
|
@@ -4972,7 +4981,10 @@ body.aether-realm-entered #realm-opening-host {
|
|
| 4972 |
}
|
| 4973 |
|
| 4974 |
.tome-page-right .realm-stats-strip {
|
| 4975 |
-
width: 100% !important;
|
|
|
|
|
|
|
|
|
|
| 4976 |
justify-content: space-around !important;
|
| 4977 |
text-align: center;
|
| 4978 |
margin-bottom: 0.3rem !important;
|
|
@@ -5185,10 +5197,11 @@ body.aether-realm-entered #realm-opening-host {
|
|
| 5185 |
.tome-page-left .realm-map,
|
| 5186 |
.tome-page-left #world-map {
|
| 5187 |
flex: 1 1 auto !important;
|
| 5188 |
-
width: 100% !important;
|
|
|
|
| 5189 |
min-height: 280px !important;
|
| 5190 |
max-height: none !important;
|
| 5191 |
-
margin: 0.
|
| 5192 |
border: 1px solid rgba(98, 62, 28, 0.3) !important;
|
| 5193 |
border-radius: 3px !important;
|
| 5194 |
padding: 0.28rem !important;
|
|
|
|
| 2944 |
max-height: 565px !important;
|
| 2945 |
min-height: 0 !important;
|
| 2946 |
overflow: hidden !important;
|
| 2947 |
+
padding: 0.65rem 1.15rem 0.8rem !important;
|
| 2948 |
display: flex !important;
|
| 2949 |
flex-direction: column !important;
|
| 2950 |
}
|
|
|
|
| 3328 |
opacity: 0;
|
| 3329 |
pointer-events: none;
|
| 3330 |
transition: opacity 0.8s ease;
|
| 3331 |
+
overflow-x: hidden;
|
| 3332 |
+
overflow-y: auto;
|
| 3333 |
+
max-height: min(88vh, 700px);
|
| 3334 |
isolation: isolate;
|
| 3335 |
clip-path: polygon(
|
| 3336 |
0% 3%, 2% 0%, 5% 2%, 8% 0%, 12% 2%, 16% 0%, 20% 1.5%, 24% 0%,
|
|
|
|
| 3411 |
}
|
| 3412 |
|
| 3413 |
.realm-prologue-cursor.active {
|
| 3414 |
+
display: none;
|
| 3415 |
}
|
| 3416 |
|
| 3417 |
@keyframes cursorBlink {
|
|
|
|
| 3452 |
}
|
| 3453 |
|
| 3454 |
.realm-prologue-body {
|
| 3455 |
+
padding: 0 0.85rem;
|
| 3456 |
font-family: 'IM Fell English', serif;
|
| 3457 |
font-size: clamp(1rem, 2.2vw, 1.15rem);
|
| 3458 |
line-height: 1.75;
|
|
|
|
| 3479 |
|
| 3480 |
.realm-prologue-actions {
|
| 3481 |
display: flex;
|
| 3482 |
+
flex-direction: column;
|
| 3483 |
align-items: center;
|
| 3484 |
justify-content: center;
|
| 3485 |
+
gap: 0.65rem;
|
| 3486 |
+
width: 100%;
|
| 3487 |
+
margin-top: 0.65rem;
|
| 3488 |
+
text-align: center;
|
| 3489 |
}
|
| 3490 |
|
| 3491 |
.realm-prologue-skip {
|
| 3492 |
+
display: inline-block;
|
| 3493 |
+
margin: 0 auto;
|
| 3494 |
border: 1px solid rgba(98, 62, 28, 0.35);
|
| 3495 |
border-radius: 999px;
|
| 3496 |
background: rgba(255, 249, 232, 0.55);
|
| 3497 |
color: #5c4228;
|
| 3498 |
+
padding: 0.5rem 1.35rem;
|
| 3499 |
font-family: 'Cinzel', serif;
|
| 3500 |
text-transform: uppercase;
|
| 3501 |
letter-spacing: 0.1em;
|
|
|
|
| 3514 |
}
|
| 3515 |
|
| 3516 |
#realm-prologue-enter {
|
| 3517 |
+
display: none;
|
| 3518 |
border: 1px solid var(--tome-gold-dark);
|
| 3519 |
border-radius: 999px;
|
| 3520 |
background: linear-gradient(180deg, #f0d696, #bb8e33);
|
|
|
|
| 3525 |
letter-spacing: 0.12em;
|
| 3526 |
cursor: pointer;
|
| 3527 |
font-size: 0.78rem;
|
| 3528 |
+
margin: 0.55rem auto 0;
|
| 3529 |
opacity: 0;
|
| 3530 |
transform: translateY(8px);
|
| 3531 |
pointer-events: none;
|
|
|
|
| 3533 |
}
|
| 3534 |
|
| 3535 |
#realm-prologue-enter.ready {
|
| 3536 |
+
display: inline-block;
|
| 3537 |
opacity: 1;
|
| 3538 |
transform: translateY(0);
|
| 3539 |
pointer-events: auto;
|
|
|
|
| 3571 |
}
|
| 3572 |
|
| 3573 |
.tome-page-left {
|
| 3574 |
+
padding-right: 3.1rem !important;
|
| 3575 |
+
padding-left: 1.55rem !important;
|
| 3576 |
border-right: none !important;
|
| 3577 |
}
|
| 3578 |
|
| 3579 |
.tome-page-right {
|
| 3580 |
+
padding-left: 3.1rem !important;
|
| 3581 |
+
padding-right: 1.55rem !important;
|
| 3582 |
}
|
| 3583 |
|
| 3584 |
.realm-tabs [role="tabpanel"] {
|
| 3585 |
+
padding-left: 2.35rem !important;
|
| 3586 |
+
padding-right: 2.35rem !important;
|
| 3587 |
clip-path: polygon(
|
| 3588 |
0% 1.5%, 1.5% 0%, 3% 1%, 5% 0%, 7% 1.2%, 9% 0%, 11% 1%, 13% 0%, 15% 1%,
|
| 3589 |
85% 0%, 87% 1%, 89% 0%, 91% 1.2%, 93% 0%, 95% 1%, 97% 0%, 98.5% 1.5%,
|
|
|
|
| 3775 |
}
|
| 3776 |
|
| 3777 |
.tome-page-left {
|
| 3778 |
+
padding-right: 3.1rem !important;
|
| 3779 |
+
padding-left: 1.55rem !important;
|
| 3780 |
border-right: 1px solid rgba(98, 62, 28, 0.12);
|
| 3781 |
}
|
| 3782 |
|
| 3783 |
.tome-page-right {
|
| 3784 |
+
padding-left: 3.1rem !important;
|
| 3785 |
+
padding-right: 1.55rem !important;
|
| 3786 |
}
|
| 3787 |
|
| 3788 |
.tome-expand-btn {
|
|
|
|
| 4907 |
justify-content: flex-start !important;
|
| 4908 |
gap: 0 !important;
|
| 4909 |
min-height: 0 !important;
|
| 4910 |
+
padding: 0.65rem 1.35rem 0.6rem !important;
|
| 4911 |
background:
|
| 4912 |
linear-gradient(180deg, rgba(255, 249, 232, 0.35), rgba(255, 249, 232, 0.12)),
|
| 4913 |
radial-gradient(circle at 8% 12%, rgba(138, 106, 58, 0.06) 0 2px, transparent 3px),
|
|
|
|
| 4938 |
justify-content: flex-start !important;
|
| 4939 |
gap: 0.3rem !important;
|
| 4940 |
min-height: 0 !important;
|
| 4941 |
+
padding: 0.65rem 1.35rem 0.6rem !important;
|
| 4942 |
position: relative !important;
|
| 4943 |
background:
|
| 4944 |
linear-gradient(180deg, rgba(255, 249, 232, 0.35), rgba(255, 249, 232, 0.1)),
|
|
|
|
| 4981 |
}
|
| 4982 |
|
| 4983 |
.tome-page-right .realm-stats-strip {
|
| 4984 |
+
width: calc(100% - 0.85rem) !important;
|
| 4985 |
+
max-width: calc(100% - 0.85rem) !important;
|
| 4986 |
+
margin-left: auto !important;
|
| 4987 |
+
margin-right: auto !important;
|
| 4988 |
justify-content: space-around !important;
|
| 4989 |
text-align: center;
|
| 4990 |
margin-bottom: 0.3rem !important;
|
|
|
|
| 5197 |
.tome-page-left .realm-map,
|
| 5198 |
.tome-page-left #world-map {
|
| 5199 |
flex: 1 1 auto !important;
|
| 5200 |
+
width: calc(100% - 0.85rem) !important;
|
| 5201 |
+
max-width: calc(100% - 0.85rem) !important;
|
| 5202 |
min-height: 280px !important;
|
| 5203 |
max-height: none !important;
|
| 5204 |
+
margin: 0.3rem auto 0 !important;
|
| 5205 |
border: 1px solid rgba(98, 62, 28, 0.3) !important;
|
| 5206 |
border-radius: 3px !important;
|
| 5207 |
padding: 0.28rem !important;
|