Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/renderers.py +60 -5
ui/renderers.py
CHANGED
|
@@ -581,12 +581,67 @@ def _mystery_goal_line(active_mystery, count):
|
|
| 581 |
|
| 582 |
def game_intro_markdown() -> str:
|
| 583 |
return """
|
| 584 |
-
<div style="
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 589 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 590 |
</div>
|
| 591 |
"""
|
| 592 |
|
|
|
|
| 581 |
|
| 582 |
def game_intro_markdown() -> str:
|
| 583 |
return """
|
| 584 |
+
<div style="
|
| 585 |
+
text-align:center;
|
| 586 |
+
margin-bottom:1rem;
|
| 587 |
+
padding:1.25rem;
|
| 588 |
+
border-radius:18px;
|
| 589 |
+
background:linear-gradient(
|
| 590 |
+
180deg,
|
| 591 |
+
rgba(28,43,36,.95) 0%,
|
| 592 |
+
rgba(17,28,22,.95) 100%
|
| 593 |
+
);
|
| 594 |
+
border:1px solid rgba(170,255,180,.15);
|
| 595 |
+
box-shadow:0 8px 24px rgba(0,0,0,.25);
|
| 596 |
+
">
|
| 597 |
+
|
| 598 |
+
<div style="font-size:3rem; margin-bottom:.25rem;">
|
| 599 |
+
🍄
|
| 600 |
+
</div>
|
| 601 |
+
|
| 602 |
+
<h2 style="
|
| 603 |
+
margin:.2rem 0 .6rem 0;
|
| 604 |
+
color:#eaffd7;
|
| 605 |
+
letter-spacing:.04em;
|
| 606 |
+
">
|
| 607 |
+
🌲 Welcome to the Deep Forest 🌲
|
| 608 |
+
</h2>
|
| 609 |
+
|
| 610 |
+
<p style="
|
| 611 |
+
color:#d4e8d0;
|
| 612 |
+
max-width:700px;
|
| 613 |
+
margin:0 auto;
|
| 614 |
+
line-height:1.6;
|
| 615 |
+
font-size:1rem;
|
| 616 |
+
">
|
| 617 |
+
The moss glows softly beneath your feet as the forest breathes around you.
|
| 618 |
+
Beside you hops <strong style="color:#ffd86b;">Myco</strong> — a curious little mushroom
|
| 619 |
+
who remembers fragments of a forest that should no longer exist.
|
| 620 |
+
</p>
|
| 621 |
+
|
| 622 |
+
<p style="
|
| 623 |
+
color:#b8d8b4;
|
| 624 |
+
max-width:700px;
|
| 625 |
+
margin:.8rem auto 0 auto;
|
| 626 |
+
line-height:1.6;
|
| 627 |
+
">
|
| 628 |
+
Every clearing hides a discovery. Some reveal forgotten memories.
|
| 629 |
+
Some whisper clues. Some are dangerous.
|
| 630 |
+
Myco wants to investigate <em>all of them</em>.
|
| 631 |
</p>
|
| 632 |
+
|
| 633 |
+
<div style="
|
| 634 |
+
margin-top:1rem;
|
| 635 |
+
padding:.75rem 1rem;
|
| 636 |
+
border-radius:12px;
|
| 637 |
+
background:rgba(255,255,255,.05);
|
| 638 |
+
color:#fff6c2;
|
| 639 |
+
font-style:italic;
|
| 640 |
+
">
|
| 641 |
+
💭 "I have a strange feeling about this place...
|
| 642 |
+
Let's search the next clearing together."
|
| 643 |
+
</div>
|
| 644 |
+
|
| 645 |
</div>
|
| 646 |
"""
|
| 647 |
|