You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
2.2 KiB
109 lines
2.2 KiB
@font-face {
|
|
font-family: pacifico;
|
|
src: url("./../resources/fonts/Pacifico-Regular.ttf");
|
|
}
|
|
@font-face {
|
|
font-family: PoetsenOne;
|
|
src: url("./../resources/fonts/PoetsenOne-Regular.ttf");
|
|
}
|
|
body {
|
|
font-family: PoetsenOne;
|
|
background-color: rgb(223, 201, 172);
|
|
background-image: radial-gradient(rgba(0, 0, 0, 0.1) 2px, transparent 0);
|
|
background-size: 20px 20px;
|
|
background-position: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
body h1 {
|
|
font-family: Pacifico;
|
|
}
|
|
body input {
|
|
font-family: PoetsenOne;
|
|
cursor: pointer;
|
|
padding: 5px 20px;
|
|
font-size: 18px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.5) inset;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
border: none;
|
|
}
|
|
body input:focus {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
outline: none;
|
|
}
|
|
body button {
|
|
font-family: PoetsenOne;
|
|
cursor: pointer;
|
|
padding: 5px 20px;
|
|
font-size: 18px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
background: linear-gradient(45deg, rgb(204, 150, 34), rgb(236, 199, 119));
|
|
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
|
|
transition: 0.2s;
|
|
}
|
|
body button:hover {
|
|
box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.4);
|
|
}
|
|
body button:active {
|
|
scale: 0.9;
|
|
}
|
|
body button:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
body button:disabled:hover {
|
|
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
|
|
}
|
|
body #game {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
translate: -50% -50%;
|
|
}
|
|
@keyframes loader {
|
|
0% {
|
|
scale: 1;
|
|
}
|
|
50% {
|
|
scale: 3;
|
|
}
|
|
100% {
|
|
scale: 1;
|
|
}
|
|
}
|
|
body .loader > div:nth-child(1n) {
|
|
animation-delay: 0.22s;
|
|
}
|
|
body .loader > div:nth-child(2n) {
|
|
animation-delay: 0.44s;
|
|
}
|
|
body .loader > div:nth-child(3n) {
|
|
animation-delay: 0.66s;
|
|
}
|
|
body .loader > div:nth-child(4n) {
|
|
animation-delay: 0.88s;
|
|
}
|
|
body .loader > div:nth-child(5n) {
|
|
animation-delay: 1.1s;
|
|
}
|
|
body .loader {
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
body .loader > div {
|
|
animation: loader 2s linear infinite;
|
|
background: rgba(97, 47, 0, 0.5);
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
height: 15px;
|
|
width: 15px;
|
|
display: inline-block;
|
|
border-radius: 20px;
|
|
}/*# sourceMappingURL=main.css.map */ |