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.
57 lines
1.2 KiB
57 lines
1.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);
|
|
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 #game {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
translate: -50% -50%;
|
|
}/*# sourceMappingURL=main.css.map */ |