ozai-webui/templates/home.html

41 lines
1.3 KiB
HTML
Raw Normal View History

2024-02-14 21:52:29 +01:00
<!DOCTYPE html>
<html>
<head>
2024-02-15 12:58:18 +01:00
<title>Ozai webui:home</title>
2024-02-14 21:52:29 +01:00
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 10px;
2024-02-24 21:33:28 +01:00
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;
2024-02-14 21:52:29 +01:00
}
2024-02-24 21:33:28 +01:00
2024-02-14 21:52:29 +01:00
a {
display: inline-block;
margin-right: 10vh;
margin-left: 10vh;
padding: 10vh 20vh; /* increase padding to make buttons larger */
text-decoration: none;
color: white;
2024-02-24 21:33:28 +01:00
background-color: rgba(0, 123, 255, 0.7); /* Semi-transparent blue color to mimic the tiles */
2024-02-14 21:52:29 +01:00
border-radius: 5px;
font-weight: bold;
font-size: 3em; /* increase font size */
2024-02-24 21:33:28 +01:00
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Add some shadow for depth */
2024-02-14 21:52:29 +01:00
}
a:hover {
2024-02-24 21:33:28 +01:00
background-color: rgba(0, 86, 179, 0.7); /* Darker blue on hover */
2024-02-14 21:52:29 +01:00
}
</style>
</head>
<body>
<a href="/create">Create Game</a>
<a href="/join">Join Game</a>
</body>
</html>