NXInspired/assets/css/style.css
mctaylors 8f2c275d39
Initial commit
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-05-01 04:14:58 +05:00

95 lines
No EOL
1.8 KiB
CSS

@import url(fonts.css);
@import url(keyframes.css);
:root {
--background: #272727cf;
--background-active: #171717cf;
--border: #3f3f3f;
--light-blue: #60f7df;
--dark-blue: #10bfc7;
}
.background-image {
position: fixed;
height: 100vh;
width: 100vw;
margin-top: -8px;
margin-left: -8px;
background: url(/assets/jpg/Urchin_Underpass.jpg);
background-size: cover;
filter: blur(16px) brightness(0.5);
transform: scale(1.1);
z-index: -1;
}
p, button {
color: white;
font-family: Nintendo;
font-weight: bold;
font-size: 24px;
line-height: 40px;
letter-spacing: -0.025em;
}
.dialog {
position: absolute;
width: 770px;
height: 355px;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background-color: var(--background);
backdrop-filter: blur(4px);
border: 1px solid var(--border);
border-radius: 4px;
}
.dialog > .errorcode {
margin-top: 40px;
margin-left: 60px;
color: lightgray;
font-size: 16px;
}
.dialog > .description {
margin-left: 68px;
margin-right: 32px;
}
.dialog > p > br {
margin-bottom: 0.75em;
}
.dialog button {
position: absolute;
bottom: 0;
background-color: transparent;
border: 0px;
border-top: 2px solid var(--border);
width: 100%;
height: 74px;
}
.dialog button:hover {
background-color: var(--background-active);
border-radius: 4px;
outline: 5px solid;
box-shadow: 0px 0px 12px var(--light-blue);
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;
}