Update updates.html

main
Arsenijs Ļu 2024-04-28 14:15:10 +00:00
parent 9a91b4a436
commit d080a586d3
1 changed files with 73 additions and 52 deletions

View File

@ -3,14 +3,14 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Tanki</title>
<title>Game Updates</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background-color: #000000; /* Черный цвет фона */
background-color: #000; /* Черный цвет фона */
color: #fff; /* Белый цвет текста */
}
@ -55,41 +55,42 @@
.container {
max-width: 800px;
margin: 0 auto;
margin: 50px auto;
padding: 20px;
background-color: #222; /* Цвет фона контейнера */
border-radius: 10px;
box-shadow: 0 0 10px #748623;
background-color: #222;
background-size: cover;
background-position: center;
margin-top: 80px;
position: relative;
box-shadow: 0 0 10px #748623; /* Тень контейнера */
text-align: center;
}
h1 {
color: #748623;
text-align: center; /* Центрирование текста */
color: #748623; /* Цвет заголовка */
}
p {
color: #fff;
text-align: center; /* Центрирование текста */
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
font-weight: bold;
}
.email {
font-size: 20px;
font-weight: bold;
margin-top: 20px;
text-align: center;
/* Стили для обновлений */
.update {
margin-bottom: 30px; /* Отступ между обновлениями */
}
.update h2 {
color: #f0c911; /* Цвет заголовка обновления */
margin-bottom: 10px; /* Отступ снизу заголовка обновления */
}
.update p {
color: #fff; /* Цвет текста обновления */
line-height: 1.6; /* Межстрочный интервал текста */
}
/* Стили для области оценки */
#ratings {
padding-top: 50px; /* Добавляем отступ сверху, чтобы область оценки была выше */
margin-top: 50px; /* Добавляем отступ сверху, чтобы область оценки была выше */
text-align: center; /* Центрируем содержимое */
}
@ -97,6 +98,23 @@
width: 50px; /* Устанавливаем ширину поля ввода */
margin: 10px; /* Добавляем отступы между элементами */
}
/* Стили для ссылки прокрутки */
#scrollToRatings {
display: block;
text-align: center;
margin-top: 30px;
}
#scrollToRatings a {
color: #fff;
text-decoration: none;
font-size: 18px;
}
#scrollToRatings a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
@ -112,16 +130,19 @@
</ul>
</nav>
<div class="container">
<h1>Encountered any unexpected problems?</h1>
<h1>Game Updates</h1>
<div class="update">
<h2>Update 1.0</h2>
<p>This update introduces new maps, weapons, and customization options. Get ready for intense battles in exciting new environments!</p>
</div>
<div class="update">
<h2>Update 1.1</h2>
<p>In this update, we've improved game performance and fixed several bugs reported by our players. Enjoy smoother gameplay and better stability!</p>
</div>
<div class="update">
<h2>Update 1.2</h2>
<p>Introducing a new game mode: Capture the Flag! Team up with your friends and compete against others to capture the enemy's flag and secure victory!</p>
</div>
<div class="container">
<p>If you have any questions or problems, please contact our support team by email:</p>
<p class="email">supporttanki@gmail.com</p>
<form id="supportForm">
<textarea id="problemDescription" placeholder="Or you can describe your problem here..." rows="4" cols="50"></textarea>
<br>
<button type="submit">Send</button>
</form>
</div>
<!-- Область для оценки -->
@ -137,9 +158,9 @@
<input type="number" id="gameRating" name="gameRating" min="1" max="5">
</div>
<button onclick="submitRatings()">Submit Ratings</button>
</div>
</div>
<script>
<script>
// Функция для отправки оценок
function submitRatings() {
var websiteRating = document.getElementById("websiteRating").value;
@ -149,6 +170,6 @@
alert("Thank you for your ratings! \nFrom: Arsenij, Artem and Roman. :) \nWebsite: " + websiteRating + " stars\nGame: " + gameRating + " stars");
}
</script>
</script>
</body>
</html>