Commit ca5c6af0 authored by Roman Alifanov's avatar Roman Alifanov

redesign

parent cd37f787
/* Общие стили */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #fff;
background: linear-gradient(270deg, #5300ff, #e300ff);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Стили для хедера */
header {
background-color: #333;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
flex-wrap: wrap;
}
.header-left {
display: flex;
align-items: center;
margin-left: 10px;
flex-grow: 1;
}
.header-left .logo {
width: 50px;
margin-right: 15px;
}
.header-center {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
text-align: center;
}
.header-menu {
text-align: center;
}
.header-menu ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.header-menu ul li {
display: inline;
margin-right: 20px;
}
.header-menu ul li a {
color: #fff;
text-decoration: none;
font-size: 16px;
}
.header-menu ul li a:hover {
text-decoration: underline;
}
.header-right {
margin-right: 100px;
flex-grow: 1;
text-align: right;
}
.header-right .social-icon {
color: #fff;
margin-left: 15px;
text-decoration: none;
font-size: 30px;
}
header h1 {
margin: 0;
font-size: 24px;
}
/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
.header-left {
margin-left: 100px;
margin-bottom: 10px;
}
.header-center {
text-align: center;
}
.header-right {
text-align: center;
margin-left: 55px;
}
}
/* Стили для основного контента */
main {
margin-top: 80px;
padding-bottom: 20px;
}
.download-section {
padding: 50px 20px;
background: linear-gradient(270deg, #5300ff, #e300ff);
background: transparent;
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
}
.download-container {
......@@ -168,9 +43,9 @@ main {
.download-right {
flex: 1;
padding: 20px;
background: #555;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background: var(--bg);
border: 2px solid var(--border);
border-radius: 15px;
color: #fff;
margin-left: 20px;
}
......@@ -185,16 +60,7 @@ main {
}
.download-right .button {
padding: 10px 20px;
font-size: 18px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 10px 5px 5px 0;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
......@@ -205,9 +71,9 @@ main {
/* Стили для блока перехода на wiki */
.install-guide {
padding: 20px;
background: #555;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background: var(--bg);
border: 2px solid var(--border);
border-radius: 15px;
color: #fff;
margin-top: 40px;
text-align: center;
......@@ -223,27 +89,16 @@ main {
margin-bottom: 20px;
}
.install-guide .button {
padding: 10px 20px;
font-size: 18px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}
.install-guide .button:hover {
background-color: #0056b3;
}
/* Стили для блока "Поддержать проект" */
.support-project {
background: #444;
background: var(--bg);
padding: 20px;
border-radius: 10px;
border: 2px solid var(--border);
border-radius: 15px;
margin-top: 40px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
......@@ -258,18 +113,6 @@ main {
margin-bottom: 20px;
}
.support-project .button {
padding: 10px 20px;
font-size: 18px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}
.support-project .button:hover {
background-color: #218838;
}
......@@ -297,9 +140,9 @@ main {
.source-right {
flex: 1;
padding: 20px;
background: #555;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background: var(--bg);
border: 2px solid var(--border);
border-radius: 15px;
color: #fff;
margin-left: 20px;
}
......@@ -313,20 +156,6 @@ main {
margin-bottom: 20px;
}
.source-right .button {
padding: 10px 20px;
font-size: 18px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 10px 5px 5px 0;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.source-right .button:hover {
background-color: #0056b3;
}
......@@ -350,57 +179,3 @@ main {
margin: 20px 0;
}
}
/* Стили для футера */
footer {
background-color: #333;
padding: 10px;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.footer-left, .footer-right {
display: flex;
align-items: center;
margin-left: 100px;
margin-right: 100px;
justify-content: flex-end;
flex-wrap: wrap;
}
.footer-left .social-icon, .footer-right .social-icon {
color: #fff;
margin-right: 15px;
text-decoration: none;
font-size: 30px;
}
.footer-right .logo {
width: 180px;
}
#contact-info {
width: 100%;
text-align: center;
margin-top: 0px;
font-size: 12px;
}
/* Медиа-запрос для мобильных устройств для футера */
@media (max-width: 768px) {
footer {
flex-direction: column;
text-align: center;
}
.footer-left, .footer-right {
margin: 10px 0;
}
#contact-info {
margin-top: 0;
}
}
......@@ -6,6 +6,7 @@
<title>Загрузки</title>
<link rel="icon" href="images/ximperlinux.svg" type="image/x-icon">
<link rel="stylesheet" href="downloads.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="libs/webfonts/css/all.min.css">
<script src="libs/jquery-3.6.0.min.js"></script>
</head>
......@@ -89,13 +90,13 @@
<a href="https://t.me/ximperlinux" class="social-icon"><i class="fab fa-telegram"></i></a>
<a href="https://vk.com/ximperlinux" class="social-icon"><i class="fab fa-vk"></i></a>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
<div id="contact-info">
<!-- Контактная информация -->
<p>© ООО «Этерсофт». Санкт-Петербург</p>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
</footer>
<script src="script.js"></script>
</body>
......
......@@ -32,7 +32,6 @@
</header>
<main>
<div id="hero-section">
<img src="images/mainmokup.jpg" alt="Ximper" class="hero-img">
<div class="hero-text">
<h2>Ximper Linux</h2>
<p>Роллинг-релиз дистрибутив на основе ALT Sisyphus с рабочим столом GNOME</p>
......@@ -87,14 +86,14 @@
<a href="https://t.me/ximperlinux" class="social-icon"><i class="fab fa-telegram"></i></a>
<a href="https://vk.com/ximperlinux" class="social-icon"><i class="fab fa-vk"></i></a>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
<div id="contact-info">
<!-- Контактная информация -->
<p>© ООО «Этерсофт». Санкт-Петербург</p>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
</footer>
<script src="script.js"></script>
<script src="script.js"></script>\
</body>
</html>
/* Общие стили */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #fff;
background: linear-gradient(270deg, #5300ff, #e300ff);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Стили для хедера */
header {
background-color: #333;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
flex-wrap: wrap;
}
.header-left {
display: flex;
align-items: center;
margin-left: 10px;
flex-grow: 1;
}
.header-left .logo {
width: 50px;
margin-right: 15px;
}
.header-center {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
text-align: center;
}
.header-menu {
text-align: center;
}
.header-menu ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.header-menu ul li {
display: inline;
margin-right: 20px;
}
.header-menu ul li a {
color: #fff;
text-decoration: none;
font-size: 16px;
}
.header-menu ul li a:hover {
text-decoration: underline;
}
.header-right {
margin-right: 100px;
flex-grow: 1;
text-align: right;
}
.header-right .social-icon {
color: #fff;
margin-left: 15px;
text-decoration: none;
font-size: 30px;
}
header h1 {
margin: 0;
font-size: 24px;
}
/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
.header-left {
margin-left: 100px;
margin-bottom: 10px;
}
.header-center {
text-align: center;
}
.header-right {
text-align: center;
margin-left: 55px;
}
}
/* Стили для основного контента */
main {
margin-top: 80px;
padding-bottom: 20px;
}
.news-section {
padding: 50px 20px;
background: linear-gradient(270deg, #5300ff, #e300ff);
background: transparent;
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
}
.news-container {
......@@ -142,9 +17,9 @@ main {
}
.news-block {
background: #555;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background: var(--bg);
border: 2px solid var(--border);
border-radius: 15px;
color: #fff;
padding: 0;
margin-bottom: 50px;
......@@ -192,57 +67,3 @@ main {
margin-bottom: 10px;
}
}
/* Стили для футера */
footer {
background-color: #333;
padding: 10px;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.footer-left, .footer-right {
display: flex;
align-items: center;
margin-left: 100px;
margin-right: 100px;
justify-content: flex-end;
flex-wrap: wrap;
}
.footer-left .social-icon, .footer-right .social-icon {
color: #fff;
margin-right: 15px;
text-decoration: none;
font-size: 30px;
}
.footer-right .logo {
width: 180px;
}
#contact-info {
width: 100%;
text-align: center;
margin-top: 0px;
font-size: 12px;
}
/* Медиа-запрос для мобильных устройств для футера */
@media (max-width: 768px) {
footer {
flex-direction: column;
text-align: center;
}
.footer-left, .footer-right {
margin: 10px 0;
}
#contact-info {
margin-top: 0;
}
}
......@@ -6,6 +6,7 @@
<title>Новости</title>
<link rel="icon" href="images/ximperlinux.svg" type="image/x-icon">
<link rel="stylesheet" href="news.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="libs/webfonts/css/all.min.css">
<script src="libs/jquery-3.6.0.min.js"></script>
</head>
......@@ -224,13 +225,13 @@ $ epmi grub-btrfs</br>
<a href="https://t.me/ximperlinux" class="social-icon"><i class="fab fa-telegram"></i></a>
<a href="https://vk.com/ximperlinux" class="social-icon"><i class="fab fa-vk"></i></a>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
<div id="contact-info">
<!-- Контактная информация -->
<p>© ООО «Этерсофт». Санкт-Петербург</p>
</div>
<div class="footer-right">
<a href="https://etersoft.ru"><img src="images/logoteamv2.png" alt="Etersoft" class="logo"></a>
</div>
</footer>
<script src="script.js"></script>
</body>
......
:root {
--border: #7E01FF;
--bg: #0B0E1D;
}
/* Общие стили */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #fff;
background: linear-gradient(270deg, #5300ff, #e300ff);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
background: #000;
position: relative;
display: flex;
flex-direction: column;
min-height: 100vh;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 120vw;
height: 120vh;
background: radial-gradient(circle, rgba(75, 0, 130, 0.6), rgba(0, 0, 0, 0));
filter: blur(150px);
animation: glowAnimation 30s infinite ease-in-out;
z-index: -1;
pointer-events: none;
}
/* Анимация для градиента */
@keyframes gradientAnimation {
@keyframes glowAnimation {
0% {
background-position: 0% 50%;
transform: translate(0%, 0%) scale(1);
opacity: 0; /* Полностью прозрачный в начале */
}
10% {
transform: translate(-30%, -30%) scale(1.2);
opacity: 0.4; /* Плавное появление */
}
40% {
transform: translate(30%, -30%) scale(1.4);
opacity: 1; /* Максимальная яркость */
}
60% {
transform: translate(-30%, 30%) scale(1.2);
opacity: 0.4; /* Плавное исчезновение */
}
50% {
background-position: 100% 50%;
90% {
transform: translate(30%, 30%) scale(1.3);
opacity: 0.2; /* Минимальная яркость */
}
100% {
background-position: 0% 50%;
transform: translate(0%, 0%) scale(1);
opacity: 0; /* Полностью прозрачный в конце */
}
}
.button {
padding: 10px 20px;
font-size: 18px;
text-decoration: none;
background-color: var(--bg);
color: #fff;
transition-property: background-color;
transition-duration: 0.8s;
box-sizing: border-box;
border: 2px solid var(--border);
border-radius: 15px;
}
/* Стили для хедера */
header {
background-color: #333;
background-color: var(--bg);
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
padding: 8px;
position: fixed;
width: 100%;
top: 0;
width: calc(100% - 24px);
top: 12px;
left: 12px;
right: 12px;
z-index: 1000;
flex-wrap: wrap;
transition-property: background-color;
transition-duration: 0.8s;
box-sizing: border-box;
border: 2px solid var(--border);
border-radius: 15px;
}
.header-left {
......@@ -45,7 +100,7 @@ header {
}
.header-left .logo {
width: 50px;
width: 30px;
margin-right: 15px;
}
......@@ -57,10 +112,6 @@ header {
text-align: center;
}
.header-menu {
text-align: center;
}
.header-menu ul {
list-style-type: none;
padding: 0;
......@@ -97,48 +148,42 @@ header {
header h1 {
margin: 0;
font-size: 24px;
font-size: 20px;
}
/* Медиа-запрос для мобильных устройств */
@media (max-width: 1080px) {
header {
flex-direction: column;
align-items: center;
padding: 10px;
}
/* Мобильная версия */
@media (max-width: 768px) {
.header-left, .header-center, .header-right {
display: flex;
justify-content: center;
margin: 10px 0;
width: 100%;
.header-center {
order: 1;
flex-grow: 0;
margin: 0;
text-align: center;
}
.header-left .logo {
margin-right: 0;
margin-bottom: 10px;
.header-right {
order: 2;
flex-grow: 0;
margin: 0 0 0 20px;
text-align: left;
}
.header-menu ul li {
display: block;
margin: 10px 0;
margin-right: 15px;
}
.header-right {
margin-right: 0;
justify-content: center;
.header-right .social-icon {
font-size: 24px;
margin-left: 12px;
}
}
/* Стили для основного контента */
main {
margin-top: 80px;
flex: 1;
padding-bottom: 20px;
position: relative;
}
/* Стили для первого блока с картинкой */
#hero-section {
display: flex;
justify-content: center;
......@@ -177,43 +222,29 @@ main {
#next-section {
padding: 10px 20px;
font-size: 18px;
background-color: #007bff;
background-color: var(--bg);
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
animation: pulse 2s infinite;
transition-property: background-color;
transition-duration: 0.8s;
box-sizing: border-box;
border: 2px solid var(--border);
border-radius: 15px;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
/* Стили для блока с преимуществами */
#blocks-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
background: linear-gradient(270deg, #5300ff, #e300ff);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
background: transparent;
}
.info-block {
background-color: #555;
background-color: var(--bg);
margin: 10px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border: 2px solid var(--border);
border-radius: 15px;
width: calc(35%);
color: #fff;
text-align: center;
......@@ -226,25 +257,18 @@ main {
width: 100px;
}
.info-block h3 {
margin-top: 0;
}
@media (max-width: 768px) {
.info-block {
width: calc(100% - 40px);
}
}
/* Стили для блока "загрузить сейчас" */
.download-section {
display: flex;
justify-content: space-between;
align-items: center;
padding: 50px 20px;
background: linear-gradient(270deg, #5300ff, #e300ff);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
background: transparent;
}
.download-left {
......@@ -255,7 +279,6 @@ main {
.download-left img {
width: 100%;
height: auto;
display: block;
border-radius: 10px;
}
......@@ -277,63 +300,36 @@ main {
margin-bottom: 20px;
}
.download-right .button {
padding: 10px 20px;
font-size: 18px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 10px 5px 5px 0;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.download-right .button:hover {
background-color: #0056b3;
}
/* Медиа-запрос для мобильных экранов */
@media (max-width: 768px) {
.download-section {
flex-direction: column;
text-align: center;
}
.download-left, .download-right {
flex: none;
width: 100%;
}
.download-right {
padding: 20px;
}
.download-right h2 {
font-size: 28px;
}
.download-right p {
font-size: 16px;
}
.download-right button {
width: 100%;
font-size: 16px;
}
}
/* Стили для футера */
footer {
background-color: #333;
background-color: var(--bg);
padding: 10px;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
position: relative;
margin: 12px;
box-sizing: border-box;
border: 2px solid var(--border);
border-radius: 15px;
width: calc(100% - 24px);
}
.footer-left, .footer-right {
......@@ -357,24 +353,17 @@ footer {
}
#contact-info {
width: 100%;
display: inline-block;
text-align: center;
margin-top: 0px;
font-size: 12px;
align-self: flex-end;
}
/* Медиа-запрос для мобильных устройств для футера */
@media (max-width: 768px) {
footer {
flex-direction: column;
text-align: center;
}
.footer-left, .footer-right {
margin: 10px 0;
}
#contact-info {
margin-top: 0;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment