/
outthevoid
/
frontend_developer
Обзор
Документация
Войти
/
outthevoid
/
frontend_developer
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/styles/modules/main/info.scss
158 строк
2 KB
darthmorgot
Внес изменения в код после установки stylelint
01 июл 2023, 16:00
01 июл 2023, 16:00
87def82
Код
Авторство
О чём код?
// info .info { display: flex; justify-content: space-between; margin-bottom: 70px; h2 { font-size: 50px; line-height: 50px; color: $black; } a { letter-spacing: 0.2em; color: $black; } p { font-size: 18px; line-height: 30px; color: $dark; } } .about-us { width: 520px; padding-right: 20px; &::before { content: ""; display: block; width: 84px; height: 7px; background-color: $black; } &__title { margin-bottom: 46px; } &__text { margin-top: 0; margin-bottom: 30px; } &__list { padding: 0; margin: 0; margin-bottom: 30px; list-style: none; font-weight: 700; font-size: 18px; line-height: 20px; letter-spacing: -0.02em; li { margin-bottom: 19px; } li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 26px; margin-left: 2px; border-radius: 50%; background-color: $yellow-hover; vertical-align: middle; } } &__btn-wrapper { position: relative; } &__btn { position: relative; padding-left: 24px; padding-right: 20px; z-index: 1; } &__btn + .button-background { width: 270px; } } .contacts { width: 532px; padding-right: 21px; font-size: 18px; line-height: 30px; color: $dark; &::before { content: ""; display: block; width: 84px; height: 7px; background-color: $black; } &__title { margin-bottom: 46px; } &__text { margin-top: 0; margin-bottom: 30px; } &__name, &__heading { margin: 0; margin-bottom: 15px; font-weight: 700; font-size: 24px; line-height: 30px; } &__name { letter-spacing: 0.2px; } &__address { font-style: normal; } &__phone { margin: 0; margin-bottom: 30px; letter-spacing: 0.2px; text-decoration: underline; } &__schedule { padding: 0; margin: 0; margin-bottom: 30px; list-style: none; } &__btn-wrapper { position: relative; } &__btn { position: relative; padding-left: 34px; padding-right: 31px; z-index: 1; } &__btn + .button-background { width: 259px; } }