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

65 lines
1.1 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: bottom;
filter: brightness(0.25);
box-shadow: inset 0 0 512px 128px black;
}
.content {
z-index: 1;
color: #c1c4c1;
padding: 40px;
text-align: center;
width: 80%;
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;
}
}