/
UdOg
/
warpointshit
Обзор
Документация
Войти
/
UdOg
/
warpointshit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/index_menu.css
105 строк
2 KB
UdOg
upload files
24 сен 2025, 22:22
24 сен 2025, 22:22
0489c92
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); body { font-family: 'Bebas Neue', sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; justify-content: space-between; background-color: #f0f0f0; } header { background-color: #fff; padding: 20px; text-align: center; } h1.center-text { color: #333; } nav.buttons-cont { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; } nav.buttons-cont a { display: inline-block; padding: 10px 20px; background-color: #000; /* Чёрный цвет кнопок */ color: white; text-decoration: none; border-radius: 5px; transition: all 0.3s ease-in-out; } nav.buttons-cont a:hover { transform: scale(1.1); } main.main-section { width: 80%; max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; /* Чтобы строки с изображениями могли переноситься */ justify-content: center; gap: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.1); padding: 20px; background-color: white; } .pair { display: flex; width: 100%; margin-bottom: 20px; } .images-container { width: 40%; /* Фото занимает 40% */ } .images-container img { max-width: 100%; height: auto; object-fit: cover; border-radius: 5px; } .text-container { width: 60%; /* Текст занимает 60% */ display: flex; flex-direction: column; justify-content: center; /* Центровка текста по вертикали */ } .text-container p { line-height: 1.6; text-align: center; /* Горизонтальное центрирование текста */ } footer { background-color: #333; color: white; padding: 10px 0; text-align: center; } .footer-img img { /* Используем правильный класс */ width: 30px; height: auto; vertical-align: middle; margin-right: 10px; } #house-link { text-decoration: none; /* Скрываем подчеркивание ссылки */ } #house-button { position: fixed; top: 10px; left: 10px; width: 30px; height: 30px; background-color: transparent; border: none; outline: none; cursor: pointer; } #house-icon { fill: brown; stroke: black; stroke-width: 1px; }