mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:40:44 +00:00
138 lines
2.9 KiB
HTML
138 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>OpenFront</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
background-color: #15151500;
|
|
/* Dark grey background */
|
|
background-image: url('/resources/images/watercolor_worldmap.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-attachment: fixed;
|
|
background-blend-mode: overlay;
|
|
}
|
|
|
|
.content {
|
|
max-width: 1020px;
|
|
/* Allows for two 500px buttons side by side with some margin */
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
color: #ffffff;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
font-size: 2.5em;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
#username-container {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
#username {
|
|
width: 100%;
|
|
padding: 15px;
|
|
font-size: 18px;
|
|
border: 2px solid #007bff;
|
|
border-radius: 5px;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.lobby-button:hover {
|
|
background-color: rgba(0, 123, 255, 0.4);
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.player-count {
|
|
font-size: 24px;
|
|
margin-top: 20px;
|
|
color: #aaddff;
|
|
}
|
|
|
|
#lobbies-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.lobby-button {
|
|
width: 500px;
|
|
height: 500px;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
border: 3px solid #007bff;
|
|
background-color: rgba(0, 123, 255, 0.2);
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
|
padding: 20px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.lobby-button:hover {
|
|
background-color: rgba(0, 123, 255, 0.4);
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.lobby-name {
|
|
font-size: 36px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.lobby-timer {
|
|
font-size: 28px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.player-count {
|
|
font-size: 24px;
|
|
color: #aaddff;
|
|
}
|
|
|
|
.joining-message {
|
|
font-size: 48px;
|
|
color: white;
|
|
text-align: center;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="content">
|
|
<h1>OpenFront (ALPHA)</h1>
|
|
<div id="username-container">
|
|
<input type="text" id="username" placeholder="Enter your username">
|
|
</div>
|
|
<div id="lobbies-container">
|
|
<!-- Lobby buttons will be inserted here by your existing JavaScript -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Cloudflare Web Analytics -->
|
|
<script defer src='https://static.cloudflareinsights.com/beacon.min.js'
|
|
data-cf-beacon='{"token": "03d93e6fefb349c28ee69b408fa25a13"}'></script><!-- End Cloudflare Web Analytics -->
|
|
</body>
|
|
|
|
</html> |