add win/draw menu , and add english
This commit is contained in:
102
www/css/GameEnd-scene.css
Normal file
102
www/css/GameEnd-scene.css
Normal file
@@ -0,0 +1,102 @@
|
||||
.scene-endgame {
|
||||
min-height: 100vh;
|
||||
background:
|
||||
radial-gradient(circle at top center, rgba(255, 232, 192, 0.34), transparent 24%),
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(70, 42, 20, 0.18)),
|
||||
repeating-linear-gradient(
|
||||
0deg,
|
||||
#d7b084 0,
|
||||
#d7b084 2px,
|
||||
#c69d71 2px,
|
||||
#c69d71 5px,
|
||||
#b88760 5px,
|
||||
#b88760 7px
|
||||
);
|
||||
}
|
||||
|
||||
.endgame-shell {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 5vh 5vw 6vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.endgame-card {
|
||||
width: min(720px, 100%);
|
||||
padding: clamp(26px, 5vh, 44px);
|
||||
border-radius: 34px;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
background: linear-gradient(180deg, rgba(61, 38, 23, 0.94), rgba(38, 24, 15, 0.98));
|
||||
color: #f7ead7;
|
||||
box-shadow:
|
||||
0 18px 32px rgba(38, 23, 12, 0.28),
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.endgame-kicker {
|
||||
margin: 0 0 12px;
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: 0.95rem;
|
||||
letter-spacing: 0.24em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(245, 217, 178, 0.8);
|
||||
}
|
||||
|
||||
#whoWon {
|
||||
margin: 0;
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: clamp(2rem, 3vw, 3.8rem);
|
||||
line-height: 1.02;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.endgame-subtitle {
|
||||
margin: 18px auto 0;
|
||||
max-width: 560px;
|
||||
font-family: "Cormorant Garamond", serif;
|
||||
font-size: clamp(1.35rem, 1.8vw, 2rem);
|
||||
line-height: 1.1;
|
||||
color: rgba(247, 234, 215, 0.86);
|
||||
}
|
||||
|
||||
.endgame-menu-button {
|
||||
appearance: none;
|
||||
margin-top: 28px;
|
||||
border: 1px solid rgba(243, 210, 160, 0.28);
|
||||
border-radius: 999px;
|
||||
padding: 0.85em 1.45em;
|
||||
background: linear-gradient(180deg, rgba(255, 245, 227, 0.98), rgba(235, 205, 168, 0.95));
|
||||
color: #342012;
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: 1rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 8px 20px rgba(18, 10, 4, 0.18),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.84);
|
||||
transition: transform 0.16s ease, filter 0.16s ease;
|
||||
}
|
||||
|
||||
.endgame-menu-button:active {
|
||||
transform: scale(0.985);
|
||||
filter: brightness(0.98);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.endgame-shell {
|
||||
padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.endgame-card {
|
||||
border-radius: 26px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.endgame-menu-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -229,6 +229,41 @@ body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.clock-result-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.clock-result-button {
|
||||
appearance: none;
|
||||
border: 1px solid rgba(104, 67, 35, 0.26);
|
||||
border-radius: 999px;
|
||||
padding: 0.65em 1.2em;
|
||||
background: linear-gradient(180deg, rgba(252, 243, 228, 0.98), rgba(230, 202, 164, 0.95));
|
||||
color: #342012;
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: clamp(0.92rem, 1.1vw, 1.08rem);
|
||||
letter-spacing: 0.05em;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 8px 18px rgba(93, 57, 25, 0.12),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.84);
|
||||
transition: transform 0.16s ease, filter 0.16s ease;
|
||||
}
|
||||
|
||||
.clock-result-button-dark {
|
||||
background: linear-gradient(180deg, rgba(73, 48, 31, 0.98), rgba(42, 26, 17, 0.98));
|
||||
border-color: rgba(46, 28, 20, 0.82);
|
||||
color: #f5e8d7;
|
||||
}
|
||||
|
||||
.clock-result-button:active {
|
||||
transform: scale(0.98);
|
||||
filter: brightness(0.98);
|
||||
}
|
||||
|
||||
.clock-time {
|
||||
font-size: clamp(4.8rem, 9vw, 8.4rem);
|
||||
line-height: 0.95;
|
||||
@@ -324,6 +359,15 @@ body::before {
|
||||
font-size: clamp(0.95rem, 4vw, 1.1rem);
|
||||
}
|
||||
|
||||
.clock-result-actions {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.clock-result-button {
|
||||
width: min(72vw, 240px);
|
||||
font-size: clamp(0.88rem, 3.8vw, 1rem);
|
||||
}
|
||||
|
||||
.clock-board {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
@@ -42,6 +42,34 @@
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.menu-language-bar {
|
||||
margin-bottom: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.menu-language-label {
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: 0.88rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(245, 217, 178, 0.8);
|
||||
}
|
||||
|
||||
.menu-language-select {
|
||||
appearance: none;
|
||||
border: 1px solid rgba(244, 220, 186, 0.22);
|
||||
border-radius: 999px;
|
||||
padding: 0.55em 1em;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: #f7ead7;
|
||||
font-family: "Cormorant Garamond", serif;
|
||||
font-size: 1.1rem;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.menu-kicker {
|
||||
margin: 0 0 8px;
|
||||
font-family: "Cinzel", serif;
|
||||
@@ -54,8 +82,8 @@
|
||||
.menu-title {
|
||||
margin: 0;
|
||||
font-family: "Cinzel", serif;
|
||||
font-size: clamp(2rem, 3vw, 3.8rem);
|
||||
line-height: 0.98;
|
||||
font-size: clamp(1.7rem, 2.45vw, 3.05rem);
|
||||
line-height: 1.04;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
@@ -221,4 +249,13 @@
|
||||
.menu-link-button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.menu-language-bar {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.menu-language-select {
|
||||
width: 100%;
|
||||
max-width: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user