daedalus/style.css
2023-06-29 00:29:36 +02:00

82 lines
1.2 KiB
CSS

body {
margin: 0;
background-color: #000;
color: #fff;
font-family: Monospace;
font-size: 13px;
line-height: 24px;
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%;
font-family: Georgia, serif;
background: transparent;
justify-content: center;
z-index: 1;
color: gray;
}
#message.loading {
display: flex;
top: 30vh;
}
#progressCircle {
display: flex;
width: 200px;
height: 200px;
border-radius: 50%;
background: conic-gradient(#1da8b7 var(--progress), dimgray 0deg);
font-size: 0;
}
#progressCircle::after {
content: attr(data-progress) '%';
display: flex;
justify-content: center;
flex-direction: column;
width: 100%;
margin: 4px;
border-radius: 50%;
color: white;
background: black;
font-size: 3vh;
font-weight: 400;
font-family: system-ui;
text-align: center;
}
#message a {
text-decoration: none;
color: inherit;
}
#message.escaped {
display: flex;
opacity: 100%;
font-size: 10vh;
top: 30vh;
animation: escaped 5s;
}