2024-05-01 02:14:58 +03:00
|
|
|
@import url(fonts.css);
|
|
|
|
@import url(keyframes.css);
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--background: #272727cf;
|
|
|
|
--background-active: #171717cf;
|
|
|
|
--border: #3f3f3f;
|
|
|
|
--light-blue: #60f7df;
|
|
|
|
--dark-blue: #10bfc7;
|
2024-05-02 17:41:41 +03:00
|
|
|
--dialog-width: 770px;
|
|
|
|
--dialog-height: 335px;
|
2024-05-02 20:40:24 +03:00
|
|
|
--details-button-width: 395px;
|
|
|
|
--details-button-height: 65px;
|
2024-05-02 17:41:41 +03:00
|
|
|
--keyframe-dialog-size-divider: 20;
|
2024-05-02 20:40:24 +03:00
|
|
|
--keyframe-show-dialog-width: calc(var(--dialog-width) - var(--dialog-width) / var(--keyframe-dialog-size-divider));
|
|
|
|
--keyframe-hide-dialog-width: calc(var(--dialog-width) + var(--dialog-width) / var(--keyframe-dialog-size-divider));
|
|
|
|
--keyframe-show-dialog-height: calc(var(--dialog-height) - var(--dialog-height) / var(--keyframe-dialog-size-divider));
|
|
|
|
--keyframe-hide-dialog-height: calc(var(--dialog-height) + var(--dialog-height) / var(--keyframe-dialog-size-divider));
|
2024-05-01 02:14:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.background-image {
|
|
|
|
position: fixed;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
margin-top: -8px;
|
|
|
|
margin-left: -8px;
|
|
|
|
background: url(/assets/jpg/Urchin_Underpass.jpg);
|
|
|
|
background-size: cover;
|
2024-05-02 17:41:41 +03:00
|
|
|
animation: 750ms forwards ease-out onload-background-blur;
|
2024-05-01 02:14:58 +03:00
|
|
|
transform: scale(1.1);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, button {
|
|
|
|
color: white;
|
2024-05-02 15:12:39 +03:00
|
|
|
font-family: Nintendo, sans-serif;
|
2024-05-01 02:14:58 +03:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 40px;
|
|
|
|
letter-spacing: -0.025em;
|
|
|
|
}
|
|
|
|
|
2024-05-02 20:40:24 +03:00
|
|
|
.error-code {
|
|
|
|
color: lightgray;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2024-05-01 02:14:58 +03:00
|
|
|
.dialog {
|
|
|
|
position: absolute;
|
2024-05-02 17:41:41 +03:00
|
|
|
animation: 1250ms forwards ease-out onload-dialog;
|
2024-05-01 02:14:58 +03:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
background-color: var(--background);
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2024-05-02 20:40:24 +03:00
|
|
|
.dialog-content {
|
|
|
|
animation: 1300ms forwards onload-visibility;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog .error-code {
|
2024-05-01 02:14:58 +03:00
|
|
|
margin-top: 40px;
|
|
|
|
margin-left: 60px;
|
|
|
|
}
|
|
|
|
|
2024-05-02 17:56:33 +03:00
|
|
|
.dialog .description > p {
|
2024-05-02 17:41:41 +03:00
|
|
|
margin: 12px 32px 0 64px;
|
2024-05-01 02:14:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: transparent;
|
2024-05-02 15:12:39 +03:00
|
|
|
border: 0;
|
2024-05-01 02:14:58 +03:00
|
|
|
border-top: 2px solid var(--border);
|
|
|
|
width: 100%;
|
|
|
|
height: 74px;
|
|
|
|
}
|
|
|
|
|
2024-05-02 15:12:39 +03:00
|
|
|
.dialog button.left, .dialog button.right {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button.left {
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button.right {
|
|
|
|
border-left: 1px solid var(--border);
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
2024-05-02 20:40:24 +03:00
|
|
|
.dialog button:hover, .details button:hover {
|
2024-05-01 02:14:58 +03:00
|
|
|
background-color: var(--background-active);
|
|
|
|
border-radius: 4px;
|
|
|
|
outline: 5px solid;
|
2024-05-02 15:12:39 +03:00
|
|
|
box-shadow: 0 0 12px var(--light-blue);
|
2024-05-01 02:14:58 +03:00
|
|
|
animation: 500ms infinite alternate ease-out hover-outline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button:focus, .dialog button:active {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button:focus {
|
|
|
|
transition: 100ms;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog button:active {
|
|
|
|
transition: none;
|
|
|
|
background-color: #274747cf;
|
2024-05-02 20:40:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
|
|
|
display: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
|
|
|
margin: 65px 15% 0;
|
|
|
|
height: calc(100vh - var(--details-button-height) * 3.75);
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details .description > p {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details button {
|
|
|
|
position: absolute;
|
|
|
|
background-color: var(--background);
|
|
|
|
width: var(--details-button-width);
|
|
|
|
height: var(--details-button-height);
|
|
|
|
left: 50%;
|
|
|
|
top: calc(100% - var(--details-button-height) * 1.25);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
border-radius: 4px;
|
2024-05-01 02:14:58 +03:00
|
|
|
}
|