1
0

actually implement splash screens

I forgot to commit the style sheet before.
This commit is contained in:
Adrian Wannenmacher 2026-03-09 21:02:50 +01:00
parent 9561d7a05f
commit cfcc0017aa
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

30
ui/splash.css Normal file
View File

@ -0,0 +1,30 @@
.wb-splash {
display: flex;
flex-direction: column;
justify-content: space-evenly;
min-height: 100%;
align-items: center;
padding: 1em;
box-sizing: border-box;
text-align: center;
>.spinner {
--spinner-size: 5em;
width: var(--spinner-size);
height: var(--spinner-size);
border: calc(var(--spinner-size) / 10) solid var(--color-text);
border-top-color: var(--color-accent);
border-radius: 50%;
animation: 1s rotate infinite linear;
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}