ozai-webui/templates/home.html

54 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Ozai:home</title>
<link rel="icon" type="image/png" href="/azul-flake.png">
<style>
body {
background-color: black;
}
div {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap; /* Allow the flex items to wrap onto the next line */
width: 90%;
position: relative;
left: 5%;
}
img {
position: relative;
left: 40%;
width: 20%;
}
a {
display: inline-block;
margin: 5%;
padding: 5vh 5vw; /* increase padding to make buttons larger */
text-decoration: none;
color: white;
background-color: rgb(0, 120, 247); /* Semi-transparent blue color to mimic the tiles */
border-radius: 1em;
font-weight: bold;
font-size: 3em; /* increase font size */
box-shadow: 0px 0.5em 1em rgba(255, 255, 255, 0.333); /* Add some shadow for depth */
transition: background-color 0.3s ease; /* Smooth transition for hover and focus */
}
a:hover, a:focus {
background-color: rgba(0, 120, 247, 0.7); /* Darker blue on hover and focus */
outline: none; /* Remove default focus outline */
}
</style>
</head>
<body>
<img src="azul-flake.png" alt="">
<div>
<a href="/create">Create Game</a>
<a href="/join">Join Game</a>
</div>
</body>
</html>