1
1
mirror of https://git.gay/DeltaStudio/PufokReactApp.git synced 2025-07-18 05:42:24 +07:00
2025-06-09 08:10:20 +03:00

241 lines
6.1 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:root {
--main-accent-color: #f5844f;
--link-hover-color: #ee7f4b;
}
body {
font-family: jetbrains-mono, monospace;
margin: 0;
padding: 0;
background: #140f10;
color: rgb(241, 209, 190);
}
.app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.page {
padding: 1rem;
}
.navbar {
display: flex; /* Используем Flexbox */
justify-content: space-between; /* Размещаем элементы по краям */
align-items: center; /* Выравниваем по вертикали */
padding: 1rem; /* Внутренний отступ */
padding-top: 2rem;
list-style: none; /* Убираем маркеры списка */
margin: 0; /* Убираем внешние отступы */
}
.navbar ul {
display: flex; /* Размещаем элементы в строку */
gap: 1rem; /* Отступ между элементами */
align-items: center; /* Выравниваем элементы по вертикали */
margin: 0; /* Убираем внешние отступы */
padding: 0; /* Убираем внутренние отступы */
list-style: none; /* Убираем маркеры списка */
}
.navbar li {
margin-right: 1rem; /* Отступ между элементами */
}
.navbar li:last-child {
margin-right: 0; /* Убираем отступ у последнего элемента */
}
.language {
font-size: 0.9rem; /* Размер шрифта */
color: var(--accent-color); /* Акцентный цвет */
cursor: pointer; /* Курсор при наведении */
}
.navbar a {
color: var(--main-accent-color);
display: inline-flex;
align-items: center;
text-decoration: none;
color: #efc3ea;
gap: 0.5rem;
transition: all 0.3s ease;
border-radius: 8px;
background-color: var(--main-accent-color);
padding: 0.5rem 1rem;
position: relative;
}
.navbar a:hover {
color: var(--link-hover-color); /* Цвет ссылок при наведении */
}
.footer {
text-align: center;
padding: 1.5rem;
/* background: #18161f; */
color: #ee7f4b;
margin-top: auto;
}
/* ГЛАВНАЯ! */
.header {
text-align: center;
display: flex;
align-items: center; /* Выравниваем элементы по центру по вертикали */
gap: 0.5rem;
justify-content: center; /* Центрируем содержимое по горизонтали */
}
.paragraph {
text-align: center;
display: flex;
align-items: center; /* Выравниваем элементы по центру по вертикали */
gap: 0.5rem;
justify-content: center; /* Центрируем содержимое по горизонтали */
}
/* PRIDE! 🏳️‍🌈 */
.pride {
width: 2.3rem;
height: 2.3rem;
vertical-align: middle; /* Выравнивание по центру относительно текста */
}
.pride-h {
display: flex; /* Используем Flexbox для inline-размещения */
align-items: center; /* Выравниваем элементы по центру по вертикали */
gap: 0.5rem; /* Отступ между текстом и изображением */
justify-content: center; /* Центрируем содержимое по горизонтали */
}
/* КОНТАКТЫ! */
.contact-list {
list-style: none;
padding: 0;
margin: 0;
}
.contact-list li {
margin-bottom: 0.5rem; /* Отступ между элементами */
}
.contact-list a {
display: inline-flex; /* Ограничиваем ширину фона до текста */
align-items: center;
text-decoration: none;
color: rgb(241, 209, 190); /* Цвет текста по умолчанию */
gap: 0.5rem; /* Расстояние между иконкой и текстом */
transition: all 0.3s ease; /* Плавный переход */
border-radius: 8px; /* Закруглённые углы */
padding: 0.5rem 1rem; /* Внутренний отступ */
position: relative; /* Для позиционирования фона */
}
.contact-list a::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: transparent; /* Прозрачный фон по умолчанию */
border-radius: 8px; /* Закруглённые углы */
transition: background-color 0.3s ease; /* Плавный переход фона */
z-index: -1; /* Фон размещается под текстом */
}
.contact-list a:hover {
color: #140f10; /* Текст становится прозрачным */
}
.contact-list a:hover .icon {
fill: #140f10; /* Иконка становится прозрачной */
}
.contact-list a:hover::before {
background-color: var(--accent-color); /* Фон принимает акцентный цвет */
}
.icon {
width: 20px;
height: 20px;
fill: currentColor; /* Иконка наследует цвет текста */
transition: fill 0.3s ease; /* Плавное изменение цвета иконки */
}
/* КНОПОЧКИ! */
.button-group {
display: flex;
flex-wrap: wrap;
gap: 1rem;
/* justify-content: center; */
}
.button-group a {
display: flex;
align-items: center;
justify-content: center;
}
.button-group img {
max-width: 100px;
height: auto;
/* image-rendering: pixelated; */
/* width: 88;
height: 31; */
/* border-radius: 8px; */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}
.button-group img:hover {
transform: scale(1.1);
}
/* ВЕБ РИНГИ! */
.webring-group {
margin-top: 2rem;
}
.webring-ring {
margin-bottom: 1.5rem;
/* text-align: center; */
}
.webring-ring h2 a {
color: var(--main-accent-color);
text-decoration: none;
font-size: 1.2rem;
font-weight: bold;
}
.webring-ring h2 a:hover {
color: var(--link-hover-color);
}
.webring-links {
display: flex;
/* justify-content: center; */
gap: 1rem;
margin-top: 0.5rem;
}
.webring-links a {
color: var(--main-accent-color);
text-decoration: none;
font-size: 1rem;
transition: color 0.3s ease;
}
.webring-links a:hover {
color: var(--link-hover-color);
}