/
engineunity_sub
/
doxml_work_site
Обзор
Документация
Войти
/
engineunity_sub
/
doxml_work_site
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
master
src/css/blocks/banner.css
110 строк
2 KB
PauloChaser
move content from branch dev to master
12 фев 2025, 18:06
12 фев 2025, 18:06
a2e2735
Код
Авторство
О чём код?
.banner__row { padding-top: 70px; padding-bottom: 25px; border-bottom: 2px solid var(--black); margin-bottom: 40px; } .banner__content { width: 100%; display: flex; flex-direction: column; grid-gap: 15px; } .banner__title { font-weight: 900; font-size: 72px; line-height: 120%; text-transform: uppercase; text-align: start; margin: 0; padding: 0 } .banner__title span { color: var(--blue) } /*Страница about*/ .aboutBanner, .bannerLinks, .bannerProducts { padding: 60px 40px; position: relative; background: rgb(52, 132, 255); background: radial-gradient(var(--blue) 20%, rgba(57, 72, 239, 0.8)); color: white; text-align: center; margin-bottom: 80px; min-height: 400px; overflow: hidden; } .banner__content { z-index: 2; } .aboutBanner .banner__title, .bannerLinks .banner__title, .bannerProducts .banner__title { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); font-size: 64px; } .banner__subtitle { text-align: start; line-height: 150%; } @media screen and (min-height: 1000px) { .banner__row { padding-top: 100px; } .description .description__text { max-width: 80%; } } @media screen and (max-height: 1000px) { .banner__row { padding-top: 35px; } .description .description__text { max-width: 100%; font-size: 18px; } } @media screen and (max-width: 1050px) { .banner__title { font-size: 7vw } } @media screen and (max-width: 991px) { .banner__row { padding-top: 39px; padding-bottom: 33px } } @media screen and (max-width: 550px) { .banner__title { font-size: 30px; line-height: 108% } .banner__subtitle { text-align: start; } }