statki/public/assets/css/landing.css

127 lines
1.9 KiB
CSS
Raw Normal View History

.landing {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
align-items: center;
transform: translateY(-3rem);
font-size: 1.25em;
}
.landing p {
font-family: 'Roboto Mono', monospace;
}
.landing span {
position: absolute;
bottom: 0rem;
font-family: 'Roboto Mono', monospace;
}
.background {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
pointer-events: none;
}
.bgShip {
position: absolute;
display: flex;
gap: 0.4rem;
}
.bgShip#bgs1 {
left: 15vw;
rotate: -15deg;
top: 15vh;
}
.bgShip#bgs2 {
right: 15vw;
rotate: 15deg;
top: 25vh;
}
.bgShip#bgs3 {
left: 20vw;
rotate: 65deg;
bottom: 25vh;
}
.bgShip#bgs4 {
right: 20vw;
rotate: -50deg;
bottom: 25vh;
}
.bgShip .field {
/* background-color: var(--field); */
width: 2rem;
aspect-ratio: 1;
border-radius: 20%;
scale: 0;
transition: scale 0.25s 0.05s;
}
.bgShip.ally .field {
background-color: var(--ship-valid);
}
.bgShip.enemy .field {
background-color: var(--ship-invalid);
}
.bgShip.big {
scale: 2;
filter: blur(4px);
}
.bgShip.small {
scale: 1.25;
filter: blur(2px);
}
.loginContainer {
position: fixed;
top: 100vh;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
transition: all 0.5s 0.3s ease, top 0.6s ease-in-out;
background-color: rgba(0, 0, 0, 0);
backdrop-filter: blur(0px);
}
.loginContainer.active {
top: 0;
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(20px);
}
.container {
display: flex;
height: 100%;
opacity: 1;
}
.container div.outer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transform: translateY(-3rem);
}