/
DannyOhDanny
/
html-pages
Обзор
Документация
Войти
/
DannyOhDanny
/
html-pages
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
blocks/query/query.css
176 строк
4 KB
Daria Matveeva
Refactoring: styles fix
14 мар 2024, 00:48
14 мар 2024, 00:48
91906b9
Код
Авторство
О чём код?
.query { margin: 0 auto; padding: 0; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; max-width: 1280px; width: 100%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .query__title { margin: 80px 563px 32px 553px; padding: 0; color: #1a1a1a; font-family: 'Museo', Arial, Helvetica, sans-serif; font-size: 40px; font-weight: 700; line-height: 48px; width: 164px; letter-spacing: 0.01em; } .query__box-wrapper { margin: 0; padding: 0; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; gap: 12px; width: 100%; } .query__box { margin: 0; padding: 0; max-width: 996px; width: 100%; list-style: none; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; -webkit-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; border-radius: 16px; background: #fff; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05); justify-items: baseline; scale: 100%; opacity: 1; } .query__link-container { margin: 0; padding: 0; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; max-width: 396px; width: 100%; gap: 4px; } .query__link { margin: 19px 17px 20px 23px; padding: 0; text-decoration: none; color: #1a1a1a; text-align: left; opacity: 1; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; -webkit-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; width: 100%; cursor: pointer; scale: 100%; text-wrap: wrap; letter-spacing: 0.02em; } .query__paragraph { color: #949494; font-family: 'Museo', Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; line-height: 18.2px; letter-spacing: 0.01em; } .query__arrow { padding: 0; margin: 0; } .query__link-title { margin: 0; padding: 0; color: #1a1a1a; font-family: 'Museo', Arial, Helvetica, sans-serif; font-size: 20px; font-style: normal; font-weight: 700; line-height: 24px; } .query__box:hover { -o-transition: scale 0.5s ease-in; -webkit-transition: scale 0.5s ease-in; scale: 103%; transition: scale 0.5s ease-in; } .query__box:active { border: 1px solid #36ba5f; border-radius: 12px; } .query__box:focus { border: 1px solid gray; border-radius: 12px; } .query__link:hover { opacity: 0.6; -webkit-transition: opacity 0.5s ease-in; -o-transition: opacity 0.5s ease-in; transition: opacity 0.5s ease-in; } @media screen and (max-width: 400px) { .query__title { font-size: 27px; line-height: 32px; } }