Added section Questions

This commit is contained in:
Sergey Yarkov 2019-09-01 00:27:35 +03:00
parent d049e6f091
commit 2f8b231066
5 changed files with 142 additions and 16 deletions

View File

@ -360,6 +360,55 @@
</div> </div>
</div> </div>
</section> </section>
<section id="questions">
<h2>У Вас остались вопросы?</h2>
<div class="title-description">
<p>
На Ваши вопросы отвечает Эдуард
</p>
</div>
<div class="container">
<div class="row wrap-questions">
<div class="col-lg-6">
<div class="wrap-questions__item">
<p>
1.<a href="#">Как заказать деталь правильно?</a>
</p>
</div>
<div class="wrap-questions__item">
<p>
<span>2.</span><a href="#">Что делать, если запчасть не понадобилась?</a>
</p>
</div>
<div class="wrap-questions__item">
<p>
3.<a href="#">Можете ли Вы установить деталь?</a>
</p>
</div>
<div class="wrap-questions__item">
<p>
4.<a href="#">В чем преимущества оригинальных деталей?</a>
</p>
</div>
<div class="wrap-questions__item">
<p>
5.<a href="#">В чем преимущества оригинальных деталей?</a>
</p>
</div>
<div class="more-questions">
<p>
<a href="#">Еще вопросы</a>
</p>
</div>
</div>
<div class="col-lg-6">
<div class="wrap-questions__image">
<img src="./src/img/main-questions/photo.png" alt="#">
</div>
</div>
</div>
</div>
</section>
<section id="working"> <section id="working">
<h2>С нами удобно работать!</h2> <h2>С нами удобно работать!</h2>
<div class="title-description"> <div class="title-description">

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

View File

@ -15,6 +15,15 @@
#working .working-item__description p br { #working .working-item__description p br {
display: none; display: none;
} }
#questions .wrap-questions .col-lg-6:nth-child(2) {
display: none;
}
#questions .wrap-questions__item {
text-align: center;
}
#questions .more-questions {
text-align: center;
}
} }
@media (max-width: 880px) { @media (max-width: 880px) {
@ -120,6 +129,13 @@
#advice { #advice {
padding-bottom: 100px; padding-bottom: 100px;
} }
#questions .wrap-questions__item {
text-align: left;
}
#questions .wrap-questions__item a {
margin-left: 10px;
font-size: 16px;
}
} }
@media (max-width: 400px) { @media (max-width: 400px) {

View File

@ -86,6 +86,7 @@ input {
.title-description { .title-description {
text-align: center; text-align: center;
margin-top: 35px; margin-top: 35px;
font-size: 18px;
} }
/* Section Header */ /* Section Header */
@ -518,7 +519,66 @@ header {
color: #fff; color: #fff;
margin-top: 35px; margin-top: 35px;
} }
/* Section Questions */
#questions {
color: #fff;
padding-top: 100px;
padding-bottom: 100px;
background-color: #0b3554;
}
.wrap-questions__image img {
width: 100%;
}
.wrap-questions {
margin-top: 100px;
}
.image-title {
display: inline-block;
background-color: rgb(11, 53, 84);
opacity: 0.8;
position: absolute;
bottom: 25px;
padding: 12px 30px 12px 19px;
}
.wrap-questions__item a {
margin-left: 30px;
color: #fff;
border-bottom: 1px solid #fff;
transition: all .2s;
}
.wrap-questions__item a:hover {
color: #579eff;
border: none;
}
.wrap-questions__item {
font-family: 'ProximaNovaBold';
font-size: 18px;
margin-top: 55px;
}
.wrap-questions__item:nth-child(1) {
margin-top: 0px;
}
.more-questions {
margin-top: 55px;
}
.more-questions p a {
color: #fff;
transition: all .2s;
padding-left: 45px;
text-decoration: underline;
}
.more-questions p a:hover {
color: #579eff;
text-decoration: none;
}
.more-questions p::before {
content: '';
display: inline-block;
background: url(../img/main-questions/reload-icon.png) no-repeat center center;
width: 18px;
height: 20px;
position: absolute;
}
/* Section Working */ /* Section Working */
#working { #working {
@ -681,20 +741,6 @@ header {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center right 30px; background-position: center right 30px;
} }
/* #info,
#price,
#advantages,
#detail,
#guarantees,
#discount,
#working,
#stock,
#team,
#advice,
#come,
#map {
display: none;
} */
/* Section Come */ /* Section Come */
#come { #come {
padding-top: 100px; padding-top: 100px;
@ -735,3 +781,18 @@ footer {
font-family: 'ProximaNovaBlack'; font-family: 'ProximaNovaBlack';
font-size: 21px; font-size: 21px;
} }
/* #info,
#price,
#advantages,
#detail,
#guarantees,
#discount,
#working,
#stock,
#team,
#advice,
#come,
#map,
footer {
display: none;
} */