Update updates.html

main
Romans Kosogorovs 2024-04-28 18:35:00 +00:00
parent e09d855ad5
commit 1205ea0ab9
1 changed files with 49 additions and 33 deletions

View File

@ -10,25 +10,25 @@
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background-color: #000; /* Черный цвет фона */
color: #fff; /* Белый цвет текста */
background-color: #000; /* Black background color */
color: #fff; /* White text color */
}
nav {
position: fixed; /* Фиксированная позиция */
top: 0; /* Расположение шапки вверху */
left: 0; /* Расположение шапки слева */
width: 100%; /* Занимает всю ширину экрана */
position: fixed; /* Fixed position */
top: 0; /* Position at the top */
left: 0; /* Position at the left */
width: 100%; /* Takes the full width */
background-color: #333;
padding: 10px 0;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 999; /* Чтобы шапка была выше других элементов */
z-index: 999; /* Ensures the navbar is above other elements */
}
.logo img {
width: 100px; /* Устанавливаем ширину логотипа */
width: 100px; /* Set the width of the logo */
}
nav ul {
@ -57,14 +57,14 @@
max-width: 800px;
margin: 50px auto;
padding: 20px;
background-color: #222; /* Цвет фона контейнера */
background-color: #222; /* Background color of the container */
border-radius: 10px;
box-shadow: 0 0 10px #748623; /* Тень контейнера */
box-shadow: 0 0 10px #748623; /* Shadow around the container */
text-align: center;
}
h1 {
color: #748623; /* Цвет заголовка */
color: #748623; /* Header color */
}
p {
@ -73,33 +73,43 @@
margin-bottom: 20px;
}
/* Стили для обновлений */
/* Styles for updates */
.update {
margin-bottom: 30px; /* Отступ между обновлениями */
margin-bottom: 30px; /* Space between updates */
}
.update h2 {
color: #f0c911; /* Цвет заголовка обновления */
margin-bottom: 10px; /* Отступ снизу заголовка обновления */
color: #f0c911; /* Update header color */
margin-bottom: 10px; /* Space below the update header */
}
.update p {
color: #fff; /* Цвет текста обновления */
line-height: 1.6; /* Межстрочный интервал текста */
color: #fff; /* Text color for updates */
line-height: 1.6; /* Line spacing */
}
/* Стили для области оценки */
.note {
border: 1px solid gray; /* Gray border */
padding: 10px;
border-radius: 10px;
background-color: #333; /* Background color */
color: #f0c911; /* Text color */
font-weight: bold; /* Bold font */
margin-top: 20px; /* Space at the top */
}
/* Styles for the rating area */
#ratings {
margin-top: 50px; /* Добавляем отступ сверху, чтобы область оценки была выше */
text-align: center; /* Центрируем содержимое */
margin-top: 50px; /* Space at the top */
text-align: center; /* Center-align content */
}
#ratings input {
width: 50px; /* Устанавливаем ширину поля ввода */
margin: 10px; /* Добавляем отступы между элементами */
width: 50px; /* Width of input fields */
margin: 10px; /* Space between elements */
}
/* Стили для ссылки прокрутки */
/* Styles for scroll link */
#scrollToRatings {
display: block;
text-align: center;
@ -133,22 +143,31 @@
<h1>Game Updates</h1>
<div class="update">
<h2>Update 1.0</h2>
<p>In this update, graphics, game performance and customization options have been improved. Bugs have also been fixed reported by players. Get ready for intense battles in new exciting conditions!</p>
<p>In this update, graphics, game performance, and customization options have been improved. Bugs have also been fixed as reported by players. Get ready for intense battles in new, exciting conditions!</p>
</div>
<div class="update">
<h2>Update 1.1</h2>
<p>In this update, we have improved the walls so that you can't drive through them. Enjoy smoother gameplay and greater stability! </p>
<p>In this update, we improved the walls to prevent players from driving through them. Enjoy smoother gameplay and greater stability!</p>
</div>
<div class="update">
<h2>Update 1.2</h2>
<p>In this update, we have almost doubled the game map and made it more detailed. Now we are on Steam as a free game! Enjoy smoother gameplay and greater stability!</p>
<p>In this update, we almost doubled the game map and made it more detailed. Now we are on Steam as a free game! Enjoy smoother gameplay and greater stability!</p>
</div>
<!-- Added text in a gray box -->
<div class="note">
If you want updates to appear more often, support the developers!!!
<br><br> <!-- Double line break to create space -->
ROMANS KOSOGOROVS
<br>
LV39HABA0551051381379
</div>
</div>
<!-- Область для оценки -->
<div id="ratings" class="container" style="margin-top: 1000px;"> <!-- Установите высоту в px в зависимости от контента выше -->
<!-- Area for ratings -->
<div id="ratings" class="container" style="margin-top: 1000px;">
<h2>Rate Our Website and Game</h2>
<p>Please rate our website and game from 1 to 5 stars:</p>
<p>Please rate our website from 1 to 5 stars:</p>
<div>
<label for="websiteRating">Website:</label>
<input type="number" id="websiteRating" name="websiteRating" min="1" max="5">
@ -161,14 +180,11 @@
</div>
<script>
// Функция для отправки оценок
function submitRatings() {
var websiteRating = document.getElementById("websiteRating").value;
var gameRating = document.getElementById("gameRating").value;
// Здесь можно добавить код для отправки оценок на сервер или их обработки
alert("Thank you for your ratings! \nFrom: Arsenij, Artem and Roman. :) \nWebsite: " + websiteRating + " stars\nGame: " + gameRating + " stars");
alert("Thank you for your ratings!\nWebsite: " + websiteRating + " stars\nGame: " + gameRating + " stars");
}
</script>
</body>