Spaces:
Sleeping
Sleeping
| /* Micro RPG Engine β parchment / arcane theme */ | |
| :root { | |
| --parchment: #f4ecd8; | |
| --ink: #2b2118; | |
| --blood: #7c2d2d; | |
| --gold: #b8860b; | |
| --arcane: #4b3b6b; | |
| } | |
| .gradio-container { | |
| background: | |
| radial-gradient(circle at 20% 10%, #1a1320 0%, #0d0a12 60%), | |
| #0d0a12 ; | |
| font-family: "Georgia", "Iowan Old Style", serif ; | |
| max-width: 1100px ; | |
| margin: auto ; | |
| } | |
| #title-md h1 { | |
| text-align: center; | |
| color: var(--gold); | |
| letter-spacing: 1px; | |
| text-shadow: 0 0 18px rgba(184, 134, 11, 0.35); | |
| margin-bottom: 0; | |
| } | |
| #title-md p { | |
| text-align: center; | |
| color: #b9a98c; | |
| font-style: italic; | |
| margin-top: 4px; | |
| } | |
| /* The story panel β looks like aged parchment */ | |
| #story { | |
| background: linear-gradient(180deg, #f7f0dd 0%, #ece0c2 100%) ; | |
| color: var(--ink) ; | |
| border: 1px solid #6b5836 ; | |
| border-radius: 10px ; | |
| box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(120, 90, 40, 0.15); | |
| min-height: 360px; | |
| padding: 22px 26px ; | |
| font-size: 1.08rem; | |
| line-height: 1.65; | |
| } | |
| /* Force the dark ink onto every text node Gradio nests inside the panel β | |
| otherwise the theme's light --body-text-color wins on <p>/<span>/<li>. */ | |
| #story, | |
| #story p, | |
| #story li, | |
| #story span, | |
| #story strong, | |
| #story em, | |
| #story a { | |
| color: var(--ink) ; | |
| } | |
| #story h3 { color: var(--blood) ; margin-top: 0; } | |
| /* The changelog lines (rendered as blockquotes) β readable brown on parchment */ | |
| #story blockquote { | |
| color: #5c4326 ; | |
| border-left: 3px solid var(--gold) ; | |
| background: rgba(120, 90, 40, 0.08); | |
| font-style: italic; | |
| } | |
| #story blockquote * { color: #5c4326 ; } | |
| /* Stats sidebar */ | |
| #stats { | |
| background: rgba(30, 22, 40, 0.85) ; | |
| border: 1px solid var(--arcane) ; | |
| border-radius: 10px ; | |
| color: #e8dfc8 ; | |
| padding: 16px 18px ; | |
| font-size: 0.98rem; | |
| } | |
| #stats .hpbar { | |
| height: 14px; border-radius: 7px; background: #311; overflow: hidden; | |
| border: 1px solid #511; | |
| } | |
| #stats .hpfill { | |
| height: 100%; background: linear-gradient(90deg, #7c2d2d, #c0392b); | |
| } | |
| /* Buttons */ | |
| button.primary, .gr-button-primary { | |
| background: linear-gradient(180deg, #5a4630, #3a2c1c) ; | |
| border: 1px solid var(--gold) ; | |
| color: var(--parchment) ; | |
| } | |
| button.primary:hover { box-shadow: 0 0 14px rgba(184,134,11,0.5) ; } | |
| /* Input box */ | |
| #action-input textarea { | |
| background: #1c1626 ; | |
| color: #efe6cf ; | |
| border: 1px solid #4b3b6b ; | |
| font-family: "Georgia", serif ; | |
| } | |
| footer { visibility: hidden; } | |