daedalus/style.css

90 lines
1.4 KiB
CSS

body {
margin: 0;
background-color: #000;
color: #fff;
font-family: Georgia, serif;
overscroll-behavior: none;
}
#container {
position: absolute;
z-index: 0;
cursor: move;
}
@keyframes escaped{
0% {
opacity: 0%;
top: 90vh;
}
100% {
opacity: 100%;
top: 30vh;
}
}
#message {
display: none;
position: absolute;
left: 0;
width: 100%;
background: transparent;
justify-content: center;
z-index: 1;
color: gray;
}
#message.loading {
display: flex;
flex-direction: column;
top: 20vh;
width: 100%;
margin: auto;
align-items: center;
gap: 5rem;
text-align: center;
font-size: 1.7em;
}
#progressCircle {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 150px;
height: 150px;
border: 4px solid dimgray;
border-radius: 50%;
font-size: 0;
font-size: 3vh;
font-weight: 700;
font-family: system-ui;
text-align: center;
}
#progressCircle::after {
content: "";
display: flex;
position: absolute;
width: 150px;
height: 150px;
top: -4px;
left: -4px;
border: 4px solid #1da8b7;
border-radius: 50%;
mask: conic-gradient(black var(--progress), transparent var(--progress));
}
#message a {
text-decoration: none;
color: inherit;
}
#message.escaped {
display: flex;
opacity: 100%;
font-size: 10vh;
top: 30vh;
animation: escaped 5s;
}