You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
253 lines
4.1 KiB
253 lines
4.1 KiB
/* Основные стили для компьютера */
|
|
|
|
/* header start */
|
|
|
|
.header{
|
|
position: relative;
|
|
|
|
background-color: var(--background-white);
|
|
}
|
|
.header::after{
|
|
content: '';
|
|
|
|
position: absolute;
|
|
left: 24px;
|
|
bottom: 0;
|
|
|
|
width: calc(100% - 48px);
|
|
height: 1px;
|
|
|
|
background: #333;
|
|
}
|
|
|
|
.header__content{
|
|
height: 72px;
|
|
|
|
padding: 14px 24px;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header__open-menu{
|
|
display: none;
|
|
|
|
width: 24px;
|
|
aspect-ratio: 1;
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
background: none;
|
|
}
|
|
.header__open-menu::before{
|
|
content: '';
|
|
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 4px;
|
|
|
|
width: 16px;
|
|
height: 2px;
|
|
|
|
background: var(--background-black);
|
|
border-radius: 1px;
|
|
|
|
}
|
|
.header__open-menu::after{
|
|
content: '';
|
|
|
|
position: absolute;
|
|
left: 4px;
|
|
bottom: 8px;
|
|
|
|
width: 16px;
|
|
height: 2px;
|
|
|
|
background: var(--background-black);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.header__logo{
|
|
width: 182px;
|
|
height: 40px;
|
|
}
|
|
.header__logo-black{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.header__menu-block{
|
|
position: absolute;
|
|
top: 72px;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
transition: height .2s ease-out;
|
|
|
|
background-color: var(--background-white);
|
|
}
|
|
|
|
.header__pc-menu{
|
|
padding: 40px 46px;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
}
|
|
.header__pc-menu::before{
|
|
content: '';
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 46px;
|
|
|
|
width: 330px;
|
|
height: 248px;
|
|
|
|
background-image: url(../img/pet/cat.png);
|
|
background-repeat: no-repeat;
|
|
}
|
|
.header__pc-menu::after{
|
|
content: '';
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
right: 46px;
|
|
|
|
width: 330px;
|
|
height: 248px;
|
|
|
|
background-image: url(../img/pet/dog.png);
|
|
background-repeat: no-repeat;
|
|
}
|
|
.header-pc-menu__content{
|
|
width: 600px;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.header-pc-menu__item{
|
|
|
|
}
|
|
.header-pc-menu__title{
|
|
font-family: var(--font-family);
|
|
font-weight: 700;
|
|
font-size: 26px;
|
|
line-height: 123%;
|
|
text-transform: uppercase;
|
|
color: var(--text-black);
|
|
|
|
text-decoration: none;
|
|
}
|
|
.header-pc-menu__list{
|
|
margin-top: 16px;
|
|
|
|
list-style-type: none;
|
|
}
|
|
.header-pc-menu__list-li{
|
|
margin-top: 25px;
|
|
}
|
|
.header-pc-menu__list-li:first-child{
|
|
margin-top: 0;
|
|
}
|
|
.header-pc-menu__list-li a{
|
|
font-family: var(--font-family);
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
line-height: 120%;
|
|
color: var(--text-0);
|
|
|
|
text-decoration: none;
|
|
}
|
|
.header__phone-menu{
|
|
display: none;
|
|
|
|
padding: 24px 16px;
|
|
}
|
|
.header-phone-menu__item{
|
|
padding: 16px 0;
|
|
|
|
border-top: 1px solid #f4f1f0;
|
|
border-bottom: 1px solid #f4f1f0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.header-phone-menu__item:first-child{
|
|
border-top: 0;
|
|
}
|
|
.header-phone-menu__item:last-child{
|
|
border-bottom: 0;
|
|
}
|
|
.header-phone-menu__title{
|
|
font-family: var(--font-family);
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
line-height: 120%;
|
|
color: var(--text-black);
|
|
|
|
text-decoration: none;
|
|
}
|
|
.header-phone-menu__title--gradient{
|
|
background: var(--gradient-blue);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.header-phone-menu__category{
|
|
margin-top: 16px;
|
|
|
|
font-family: var(--font-family);
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
line-height: 133%;
|
|
color: var(--text-black);
|
|
|
|
text-decoration: none;
|
|
}
|
|
.header-phone-menu__list{
|
|
margin-top: 24px;
|
|
|
|
padding-left: 32px;
|
|
|
|
list-style-type: none;
|
|
}
|
|
.header-phone-menu__list-item{
|
|
margin-top: 16px;
|
|
}
|
|
.header-phone-menu__list-item:first-child{
|
|
margin-top: 0;
|
|
}
|
|
.header-phone-menu__list-item a{
|
|
font-family: var(--font-family);
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
line-height: 125%;
|
|
color: #121212;
|
|
color: var(--text-black);
|
|
|
|
text-decoration: none;
|
|
}
|
|
/* header end */
|
|
|
|
|
|
/* писать сюда... */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Стили для лептопов */
|
|
/* @media only screen and (min-width: 992px) and (max-width: 1400px) {
|
|
|
|
} */ |