From 7c3221c8048e3e62c410205bc650f330ceb48900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artjoms=20Marians=20=C5=85e=C4=8Dajevs?= <anecajevs.e@rkg.lv> Date: Sun, 28 Apr 2024 09:49:45 +0000 Subject: [PATCH] Update link.html --- link.html | 130 +++++++++++++++++++++++++++--------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/link.html b/link.html index 4fcecc7..a39fa22 100644 --- a/link.html +++ b/link.html @@ -2,31 +2,39 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <title>Play Right now!</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>About Tanki</title> + <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> <style> body { - font-family: Arial, sans-serif; + font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; - background-color: #f0f0f0; - color: #333; + background-color: #000; /* Черный цвет фона */ + color: #fff; /* Белый цвет текста */ + } + + .wrapper { + margin-top: 80px; /* Отступ для контента под фиксированной шапкой */ + /* height: 100vh; */ /* Не нужно использовать высоту 100vh для обертки */ + overflow-y: auto; /* Включаем вертикальную прокрутку */ } nav { + position: fixed; /* Фиксированная позиция */ + top: 0; /* Расположение шапки вверху */ + left: 0; /* Расположение шапки слева */ + width: 100%; /* Занимает всю ширину экрана */ background-color: #333; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; - margin-bottom: 20px; - } - - .logo { - margin-left: 20px; + z-index: 999; /* Чтобы шапка была выше других элементов */ } .logo img { - max-height: 50px; + width: 100px; /* Устанавливаем ширину логотипа */ } nav ul { @@ -38,7 +46,6 @@ nav ul li { display: inline; - margin-left: 20px; } nav ul li a { @@ -52,65 +59,65 @@ background-color: #555; } + .container { + max-width: 800px; + margin: 0 auto; + padding: 20px; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + background: linear-gradient(rgba(70, 185, 70, 0.3), rgba(204, 204, 204, 0.7)), url('https://support.discord.com/hc/user_images/KxH_3KeTycUVZQp-ddSftQ.png'); + background-size: cover; + background-position: center; + margin-top: 80px; + position: relative; + } + + h1, p { + color: #fff; + } + + p { + font-size: 18px; + line-height: 1.6; + margin-bottom: 20px; + font-weight: bold; + } + .back-button { background-color: #007bff; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; - transition: background-color 0.3s; + margin-top: 20px; + display: inline-block; } .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 { + .images-container { + position: absolute; + top: 100%; + left: 0; width: 100%; - height: 400px; - background-image: url("https://www.francetvinfo.fr/image/765q27nz5-0b35/1500/843/31311212.jpg"); - background-size: cover; - background-position: center; + display: flex; + justify-content: space-between; + margin-top: 20px; + } + + .image { + width: 45%; border-radius: 10px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); - margin: 20px 0; + box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); } </style> </head> <body> - <!-- Navigation Bar --> <nav> - <div class="logo"> - <img src="logo.png" alt="Tanki Logo"> + <div class="logo" onclick="location.href='/'"> + <img src="https://cdn.discordapp.com/attachments/704651653873139803/1233880220004519986/Screenshot_2024-04-27_233856-removebg-preview.png?ex=662eb400&is=662d6280&hm=518bf12af052c5268492e81d64f8957eea1d6163b3c8fe28c3e8a69758169263&" alt="Tanki Logo"> </div> <ul> <li><a href="/about">About</a></li> @@ -118,21 +125,14 @@ <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 class="container"> <!-- Основной контент --> + <h1>Выбери свой танк прямо сейчас!</h1> + <div class="images-container"> + <img class="image" src="https://via.placeholder.com/600x1500" alt="Left Image"> + <img class="image" src="https://via.placeholder.com/600x1500" alt="Right Image"> + <a href="game-url" target="_blank" class="btn">Играть в мою игру</a> + </div> </div> </body> </html> \ No newline at end of file