ozai-webui/templates/home.html

42 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Ozai:home</title>
<link rel="icon" type="image/png" href="/azul-flake.png">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 10px;
background: url({{ url_for('static', filename='azul.webp') }}) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
a {
display: inline-block;
margin-right: 10vh;
margin-left: 10vh;
padding: 10vh 20vh; /* increase padding to make buttons larger */
text-decoration: none;
color: white;
background-color: rgba(0, 123, 255, 0.7); /* Semi-transparent blue color to mimic the tiles */
border-radius: 5px;
font-weight: bold;
font-size: 3em; /* increase font size */
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Add some shadow for depth */
}
a:hover {
background-color: rgba(0, 86, 179, 0.7); /* Darker blue on hover */
}
</style>
</head>
<body>
<a href="/create">Create Game</a>
<a href="/join">Join Game</a>
</body>
</html>