/
UdOg
/
warpointshit
Обзор
Документация
Войти
/
UdOg
/
warpointshit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/index.css
148 строк
3 KB
UdOg
upload files
24 сен 2025, 22:22
24 сен 2025, 22:22
0489c92
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Slab:wght@100..900&family=Suez+One&display=swap'); body { font-family: 'Bebas Neue', serif; margin: 0; padding: 0; min-height: 100vh; display: flex; flex-direction: column; } .center-text{ font-family: 'Bebas Neue', sans-serif; text-align: center; margin-left: auto; margin-right: auto; flex-grow: 1; } .content-block { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 20px; margin-top:30px; margin-top: 20px; margin-right:20px; } .buttons-cont{ display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; } .news{ font-family: 'Bebas Neue', sans-serif; padding: 10px 20px; border-radius: 5px; background-color: rgb(0, 0, 0); color: whitesmoke; cursor: pointer; transition: all 0.5s ease-in-out; text-decoration: none; } .news:hover{ background-color:rgb(72, 72, 72) ; } .player{ font-family: 'Bebas Neue', sans-serif; padding: 10px 20px; border-radius: 5px; background-color: rgb(0, 0, 0); color: whitesmoke; cursor: pointer; transition: all 0.5s ease-in-out; text-decoration: none; } .player:hover{ background-color:rgb(72, 72, 72) ; } .maps{ font-family: 'Bebas Neue', sans-serif; padding: 10px 20px; border-radius: 5px; background-color: rgb(0, 0, 0); color: whitesmoke; cursor: pointer; transition: all 0.5s ease-in-out; text-decoration: none; } .maps:hover{ background-color:rgb(72, 72, 72) ; } .admin_panel{ font-family: 'Bebas Neue', sans-serif; padding: 10px 20px; border-radius: 5px; background-color: rgb(0, 0, 0); color: whitesmoke; cursor: pointer; transition: all 0.5s ease-in-out; text-decoration: none; } .admin_panel:hover{ background-color:rgb(72, 72, 72) ; } .text_1str{ padding: 20px; padding-left: calc(40vw + 20px); padding-right: 50px; line-height: 1.6; font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: black; background-color: whitesmoke; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 8px; text-align: justify; letter-spacing: 0.5px; } /* Блок с фото и текстом */ .foto1 { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 20px; } img { width: 40vw; /* Занимает 40% ширины экрана */ max-width: 100%; aspect-ratio: 1 / 1; /* Сохраняем квадратность изображения */ object-fit: cover; border-radius: 8px; } .text_1str { flex-basis: 60%; /* Остальные 60% занимает текст */ padding: 20px; font-size: 16px; line-height: 1.6; text-align: justify; letter-spacing: 0.5px; } /* Футер */ footer { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #f5f5f5; padding: 20px 0; text-align: center; margin-top: auto; /* Выравнивает футер внизу страницы */ } .footer-img { width: 50px; height: auto; margin-bottom: 10px; opacity: 0.8; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); } footer p { margin: 0; font-size: 14px; }