feat: Добавлено сообщение об окончании игры и кнопка перезагрузки
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s
This commit is contained in:
@@ -10,3 +10,32 @@ canvas {
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.end-screen {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
font-size: 3rem;
|
||||
font-family: sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.end-screen button {
|
||||
color: #ffffff;
|
||||
font-size: 1.5rem;
|
||||
font-family: sans-serif;
|
||||
padding: 0.5rem 1.5rem;
|
||||
cursor: pointer;
|
||||
|
||||
transition: all 0.2s ease-out;
|
||||
}
|
||||
|
||||
.end-screen button:hover {
|
||||
color: #ffffff88;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user