forked from blek/world
1
0
Fork 0
otherworld/sass/screen.scss

75 lines
1.3 KiB
SCSS
Raw Normal View History

2023-12-21 13:26:13 +01:00
.screen {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
}
.bg {
z-index: 0;
background: black url(/sunset.gif) no-repeat;
background-size: cover;
background-position-y: bottom;
background-position-x: center;
2024-01-11 02:57:58 +01:00
filter: brightness(0.75);
2023-12-21 13:26:13 +01:00
box-shadow: inset 0 0 512px 128px black;
transition: 250ms ease;
@media (max-width:667px) {
filter: brightness(0.5);
box-shadow: inset 0 0 128px 32px black;
background-position-x: 14.5%;
}
2023-12-21 13:26:13 +01:00
}
.content {
z-index: 1;
color: #c1c4c1;
padding: 40px;
text-align: center;
width: 80%;
2024-03-03 09:54:25 +01:00
max-width: 1200px;
2023-12-21 13:26:13 +01:00
left: 50%;
transform: translateX(-50%);
2023-12-23 10:55:46 +01:00
overflow-y: auto;
2023-12-21 13:26:13 +01:00
.md-content {
text-align: left;
}
}
2023-12-21 16:23:31 +01:00
@keyframes fader-fade {
0% {
opacity: 1;
background: black;
}
to {
opacity: 0;
pointer-events: none;
}
}
.fader {
background: black;
z-index: 3;
animation: fader-fade 3s;
animation-delay: 2s;
animation-fill-mode: forwards;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
p {
animation: fader-fade 1s;
animation-delay: 1.5s;
animation-fill-mode: forwards;
}
2024-03-03 09:54:25 +01:00
}