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