Update link.html

main
Romans Kosogorovs 2024-04-27 22:08:19 +00:00
parent 00f776b4dc
commit 67b2e4bdb9
1 changed files with 138 additions and 0 deletions

138
link.html
View File

@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Play Right now!</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
color: #333;
}
nav {
background-color: #333;
padding: 10px 0;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.logo {
margin-left: 20px;
}
.logo img {
max-height: 50px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
nav ul li {
display: inline;
margin-left: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
padding: 10px 20px;
transition: background-color 0.3s;
}
nav ul li a:hover {
background-color: #555;
}
.back-button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s;
}
.back-button:hover {
background-color: #0056b3;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
color: #007bff;
text-align: center;
}
.btn {
background-color: #007bff;
color: #fff;
padding: 20px 40px; /* Increased padding */
border-radius: 10px; /* More rounded corners */
font-size: 1.5em; /* Larger font size */
text-decoration: none;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #0056b3;
}
.image-box {
width: 100%;
height: 400px;
background-image: url("https://www.francetvinfo.fr/image/765q27nz5-0b35/1500/843/31311212.jpg");
background-size: cover;
background-position: center;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin: 20px 0;
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav>
<div class="logo">
<img src="logo.png" alt="Tanki Logo">
</div>
<ul>
<li><a href="/about">About</a></li>
<li><a href="/game">Game</a></li>
<li><a href="/link">Link</a></li>
</ul>
</nav>
<!-- Back Button -->
<a href="/" class="back-button" style="margin-left: 20px;">Back</a>
<!-- Main Content -->
<div class="container">
<h1>Выбери свой танк прямо сейчас!!!</h1>
<!-- Large Image Box -->
<div class="image-box"></div>
<!-- Game Link -->
<p>
<a href="https://gitea.rkg.lv/ivaisfelds/Pygame_Project" target="_blank" class="btn">Играть в мою игру</a>
</p>
</div>
</body>
</html>