2024-04-10 20:45:11 +02:00
|
|
|
.landing {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2024-04-11 19:10:45 +02:00
|
|
|
padding: 2rem;
|
|
|
|
box-sizing: border-box;
|
2024-04-10 20:45:11 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
transform: translateY(-3rem);
|
|
|
|
font-size: 1.25em;
|
2024-04-11 19:10:45 +02:00
|
|
|
|
|
|
|
transition: opacity 0.3s;
|
2024-04-10 20:45:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2024-04-10 22:26:06 +02:00
|
|
|
|
|
|
|
z-index: 1;
|
|
|
|
|
2024-04-11 19:10:45 +02:00
|
|
|
transition: translate 1s ease-in-out;
|
2024-04-10 20:45:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.bgShip#bgs1 {
|
2024-04-10 22:26:06 +02:00
|
|
|
left: 25vw;
|
2024-04-10 20:45:11 +02:00
|
|
|
rotate: -15deg;
|
|
|
|
top: 15vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgShip#bgs2 {
|
|
|
|
right: 15vw;
|
|
|
|
rotate: 15deg;
|
|
|
|
top: 25vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgShip#bgs3 {
|
2024-04-10 22:26:06 +02:00
|
|
|
left: 30vw;
|
2024-04-10 20:45:11 +02:00
|
|
|
rotate: 65deg;
|
|
|
|
bottom: 25vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgShip#bgs4 {
|
|
|
|
right: 20vw;
|
|
|
|
rotate: -50deg;
|
|
|
|
bottom: 25vh;
|
|
|
|
}
|
|
|
|
|
2024-04-10 22:26:06 +02:00
|
|
|
.bgShip#bgs5 {
|
|
|
|
right: -15vw;
|
|
|
|
rotate: 20deg;
|
|
|
|
top: 25vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgShip#bgs6 {
|
|
|
|
right: -15vw;
|
|
|
|
rotate: 70deg;
|
|
|
|
bottom: 25vh;
|
|
|
|
}
|
|
|
|
|
2024-04-10 20:45:11 +02:00
|
|
|
.bgShip .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;
|
2024-04-11 19:10:45 +02:00
|
|
|
transition: all 0.5s 0.3s, transform 0.5s 0.2s, opacity 0.5s 0.2s, top 0.6s ease-in-out;
|
2024-04-10 20:45:11 +02:00
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
|
|
|
backdrop-filter: blur(0px);
|
|
|
|
}
|
|
|
|
|
2024-04-11 19:10:45 +02:00
|
|
|
body.closed .loginContainer {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.closed .landing {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2024-04-10 20:45:11 +02:00
|
|
|
.loginContainer.active {
|
|
|
|
top: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
height: 100%;
|
2024-04-10 22:26:06 +02:00
|
|
|
z-index: 10;
|
|
|
|
/* opacity: 1; */
|
2024-04-10 20:45:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.container div.outer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
2024-04-10 22:26:06 +02:00
|
|
|
z-index: 10;
|
|
|
|
|
2024-04-10 20:45:11 +02:00
|
|
|
transform: translateY(-3rem);
|
2024-04-10 22:26:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes OutAnim {
|
|
|
|
from {transform: translateX(0)}
|
|
|
|
to {transform: translateX(-5%);}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes InAnim {
|
|
|
|
from {transform: translateX(5%)}
|
|
|
|
to {transform: translateX(0%);}
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView .modes {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView .modes div {
|
|
|
|
height: 7rem;
|
|
|
|
width: 15rem;
|
|
|
|
background-color: black;
|
|
|
|
border: solid 1px white;
|
|
|
|
border-radius: 15px;
|
|
|
|
user-select: none;
|
|
|
|
padding: 2rem 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView form input {
|
|
|
|
background-color: black;
|
|
|
|
color: white;
|
|
|
|
border-radius: 15px;
|
|
|
|
border: 1px solid white;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.5rem 2rem;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView form input[type=submit] {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1rem;
|
|
|
|
transition: all 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loginView form input[type=submit]:hover {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView .modes {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView .modes div {
|
|
|
|
height: 13rem;
|
|
|
|
width: 15rem;
|
|
|
|
background-color: black;
|
|
|
|
border: solid 1px white;
|
|
|
|
border-radius: 15px;
|
|
|
|
user-select: none;
|
|
|
|
padding: 2rem 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView form input {
|
|
|
|
background-color: black;
|
|
|
|
color: white;
|
|
|
|
border-radius: 15px;
|
|
|
|
border: 1px solid white;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.5rem 2rem;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView form input[type=submit] {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1rem;
|
|
|
|
transition: all 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#authView form input[type=submit]:hover {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
/* margin: 0; */
|
|
|
|
left: 50vw;
|
|
|
|
transform: translateX(-50%);
|
2024-04-11 19:10:45 +02:00
|
|
|
width: 50%;
|
2024-04-10 22:26:06 +02:00
|
|
|
z-index: 50;
|
|
|
|
font-size: 16px;
|
2024-04-11 19:10:45 +02:00
|
|
|
text-align: center;
|
2024-04-10 22:26:06 +02:00
|
|
|
font-family: 'Roboto Mono', monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer a {
|
|
|
|
color: white;
|
|
|
|
margin: 0 1rem;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer a:hover {
|
|
|
|
text-decoration: underline;
|
2024-04-11 19:10:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 820px) {
|
|
|
|
.bgShip {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
bottom: 15px;
|
|
|
|
width: 90%;
|
|
|
|
}
|
2024-04-10 20:45:11 +02:00
|
|
|
}
|