Improved ending screen

This commit is contained in:
p11 2025-04-27 18:46:20 +02:00
parent 67ef33e4f6
commit 05cacce192

View File

@ -302,23 +302,20 @@ fn global_styles() -> Markup {
const END_STYLES: &str = r"
.end-screen {
position: absolute;
font-size: 1.2vw;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
background: rgba(0, 0, 0, 0.9);
color: white;
padding: 2rem;
border-radius: 1rem;
max-width: 600px;
padding: 2vw;
}
.restart-button {
background: var(--character-bg);
color: white;
padding: 1rem 2rem;
padding: 1vw 2vw;
border: none;
border-radius: 0.5rem;
font-size: 1.2rem;
border-radius: 0.5vw;
font-size: 1.2vw;
cursor: pointer;
transition: transform 0.2s;
}";