Implement title screen

This commit is contained in:
2023-03-07 08:51:04 -08:00
parent 26217a9506
commit 4eaf00c105
8 changed files with 75 additions and 0 deletions

52
css/title.css Normal file
View File

@ -0,0 +1,52 @@
@font-face {
font-family: Baloo2;
src: url("../font/Baloo2-Regular.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: Baloo2;
src: url("../font/Baloo2-Bold.ttf");
font-weight: bold;
font-style: normal;
}
body {
background-image: url("../cover.png");
background-size: cover;
background-repeat: no-repeat;
}
div.center {
background-color: #6d7377aa;
width: 50%;
margin: auto;
text-align: center;
padding: 24px;
border-radius: 12px;
}
h1.name {
font-family: Baloo2, sans-serif;
font-weight: bold;
font-size: 1000%;
text-shadow: 2px 4px #0ad9ab;
color: #00ffc6;
}
button.play {
font-family: Baloo2, sans-serif;
font-size: 500%;
padding: 4px 60px;
border: none;
background-color: #49d868;
border-radius: 12px;
color: white;
transition-duration: 0.4s;
}
button.play:hover {
background-color: #20b13f;
cursor: pointer;
}