/
eb
/
gidrotsikly
Обзор
Документация
Войти
/
eb
/
gidrotsikly
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/media.css
293 строки
5 KB
Evgeniy Budaev
Initial commit
15 сен 2020, 19:11
15 сен 2020, 19:11
9e7f795
Код
Авторство
О чём код?
@media (max-width: 1300px) { .product__more { margin-top: 60px; } } @media (max-width: 1200px) { .banner-section__slider-img { min-height: 380px; max-width: 600px; } .banner-section__inner { justify-content: space-around; } .banner-section__slider { max-width: 600px; } .categories__inner { justify-content: space-around; } .banner__link img { width: 100%; } .catalog__inner-list { justify-content: space-around; } } @media (max-width: 1100px) { .menu__item + .menu__item { padding-left: 20px; } .header__address { margin-right: 20px; } .card__input-search { margin-right: 0; } } @media (max-width: 968px) { .header__bottom { display: none; } .menu_list { display: none; } .menu__btn { display: block; background-color: transparent; cursor: pointer; border: none; padding: 0; } .menu__btn-line { background: #2f3035; border-radius: 3px; height: 3px; width: 34px; margin: 8px 0; } .menu__mobile-lineWrapper { display: block; font-weight: bold; font-size: 20px; line-height: 24px; font-family: 'SFProDisplay-Semibold', sans-serif; overflow-x: scroll; } .menu__mobile-line { background: #f0f0f4; padding: 14px 0 14px 15px; width: 450px; } .banner-section__inner { margin-top: 25px; flex-wrap: wrap; justify-content: center; } .banner-section__slider { max-width: 100%; } .banner-section__slider-img { max-width: 100%; margin-bottom: 25px; } .banner-section__slider-item { text-align: center; } .banner-section__slider-btn { display: none; } .mobile-overflow { width: 1000px; } .tabs-wrapper, .breadcrumbs__inner, .catalog__filter-itemsInner { overflow-x: scroll; } .tabs-wrapper.tabs-wrapper--no-scroll { overflow: hidden; } .product-card__inner { flex-wrap: wrap; } .product-card__tabs { display: none; } .product-card__content { order: -1 } .product-card__btn-mobile { display: block; margin-top: 40px; } .product-card__img-box { width: 100%; } } @media (max-width: 940px) { .footer__top-inner { flex-wrap: wrap; justify-content: space-around; } .footer__top-item { margin-bottom: 25px; } .catalog__filter-btn { margin-top: 30px; } .catalog__filter-btn button { display: none; } .catalog__filter { display: block; } .card__top-line label { display: block; width: 100%; margin-bottom: 25px; margin-left: 0; } .card__list-item { display: block; } .card__list-item div { margin-bottom: 15px; } .card__list-itemTitle { display: none; } } @media (max-width: 640px) { .header__address { display: none; } .banner-section__slider-img { min-height: 200px; } .banner-section .container { padding: 0; } .search__content-btn { font-size: 0; line-height: 0; padding: 17px; background-image: url('../images/icon-search.svg'); width: 24px; height: 24px; background-color: transparent; background-repeat: no-repeat; position: absolute; right: 8px; top: 13px; } .search__content-input { height: 50px; padding-right: 50px; } .search__content-form { position: relative; } .banner__link img { min-height: 90px; object-fit: contain; } .catalog__inner { flex-wrap: wrap; } .aside__btn { display: block; text-transform: uppercase; font-weight: 700; text-align: center; padding: 15px 0; color: #fff; background-color: #1c62cd; width: 100%; margin-bottom: 30px; } .aside-filter { display: none; } .product-card__title { font-size: 20px; line-height: 24px; } .product-card__buttons a + a { margin-left: 10px; } .product-card__img { width: 100%; } } @media (max-width: 540px) { .footer__top-item { width: 100%; } .footer__bottom { flex-direction: column; align-items: start; } .footer__bottom-link { margin: 12px 0; } .footer__top-inner { justify-content: start; } .footer__top-item.footer__top-newsLatter { margin-right: auto; margin-left: auto; width: 290px; text-align: center; } .footer__top-item.footer__top-social { width: 100%; border-bottom: none; } .social-list { justify-content: center; } .footer-list { display: none; } .footer__top-title.footer__topDrop { font-size: 14px; line-height: 18px; color: #7f7f7f; font-weight: 500; padding: 15px 0; } .footer__top-item { border-bottom: 2px solid #f9f9fc; } .footer__top-itemDrop { margin-bottom: 0; border-top: 2px solid #f9f9fc; } .footer__topDrop { position: relative; } .footer__topDrop::after { content: ''; position: absolute; right: 0; top: 21px; width: 12px; height: 8px; background-image: url('../images/arrow-down.svg'); } .footer__topDrop--active::after { transform: rotate(180deg); } .footer__topDrop { pointer-events: auto; } } @media (max-width: 440px) { .banner-section__slider-img { min-height: 164px; } .categories__item { padding: 20px 10px 16px; } .pagination-list__item { margin: 0; } }