File tree Expand file tree Collapse file tree 10 files changed +35
-21
lines changed
Expand file tree Collapse file tree 10 files changed +35
-21
lines changed Original file line number Diff line number Diff line change @@ -322,11 +322,11 @@ <h3 class="additional-product__title">Витамины</h3>
322322 < section class ="catalog__newsletter newsletter ">
323323 < h2 class ="newsletter__title section-subtitle "> Акции и новинки</ h2 >
324324 < p class ="newsletter__description "> Подпишитесь на наши новости и не пропустите ни одного предложения!</ p >
325- < form class ="newsletter__form form " action ="https://echo.htmlacademy.ru " method ="post ">
325+ < form class ="newsletter__form " action ="https://echo.htmlacademy.ru " method ="post ">
326326 < label class ="visually-hidden " for ="newsletter-email "> Укажите ваш email</ label >
327327 <!-- Если поле заполнено неверно, добавить к field-input модификатор invalid -->
328- < input class ="form__input field-input " id ="newsletter-email " type ="email " name ="newsletter-email " placeholder ="kuklachev@gmail.com " required >
329- < button class ="form__button button " type ="submit "> Подписаться</ button >
328+ < input class ="newsletter__input field-input " id ="newsletter-email " type ="email " name ="newsletter-email " placeholder ="kuklachev@gmail.com " required >
329+ < button class ="newsletter__button button " type ="submit "> Подписаться</ button >
330330 </ form >
331331 </ section >
332332 </ main >
@@ -357,7 +357,7 @@ <h2 class="visually-hidden">Как до нас добраться</h2>
357357 </ section >
358358 < div class ="main-footer__wrap ">
359359 < a class ="main-footer__logo logo " href ="index.html ">
360- < img class ="logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
360+ < img class ="main-footer__logo-text logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
361361 </ a >
362362 < ul class ="main-footer__social social ">
363363 < li class ="social__item ">
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ <h2 class="visually-hidden">Как до нас добраться</h2>
165165 </ section >
166166 < div class ="main-footer__wrap ">
167167 < a class ="main-footer__logo logo " href ="index.html ">
168- < img class ="logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
168+ < img class ="main-footer__logo-text logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
169169 </ a >
170170 < ul class ="main-footer__social social ">
171171 < li class ="social__item ">
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ <h2 class="visually-hidden">Как до нас добраться</h2>
173173 </ section >
174174 < div class ="main-footer__wrap ">
175175 < a class ="main-footer__logo logo " href ="index.html " aria-current ="page ">
176- < img class ="logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
176+ < img class ="main-footer__logo-text logo__text " src ="images/logo-text.svg " width ="128 " height ="24 " lang ="en " alt ="Cat Energy ">
177177 </ a >
178178 < ul class ="main-footer__social social ">
179179 < li class ="social__item ">
Original file line number Diff line number Diff line change 5656 }
5757
5858 @media (min-width : $desktop-width ) {
59- background-image : linear-gradient (180deg , #ffffff 135px , #eaeaea 135px 100% );
59+ background-image : linear-gradient (180deg , #ffffff 135px , #f2f2f2 135px 100% );
6060 }
6161}
6262
Original file line number Diff line number Diff line change 1212 @media (min-width : $desktop-width ) {
1313 grid-template-columns : 1fr 660px minmax (calc (1280px - 720px ), 1fr ) 1fr ;
1414 column-gap : 0 ;
15- background-image : linear-gradient (180deg , #ffffff 135px , #eaeaea 135px 100% );
15+ background-image : linear-gradient (180deg , #ffffff 135px , #f2f2f2 135px 100% );
1616 }
1717}
1818
101101 position : relative ;
102102 width : max-content ;
103103
104+ @media (min-width : $tablet-width ) {
105+ margin-top : 80px ;
106+ }
107+
104108 @media (min-width : $desktop-width ) {
105109 margin : 0 0 10px ;
106110 }
Original file line number Diff line number Diff line change 6060 }
6161
6262 @media (min-width : $desktop-width ) {
63- background-color : $bg-color-secondary-darken ;
63+ background-color : $bg-color-secondary ;
6464 }
6565}
Original file line number Diff line number Diff line change 1111 opacity : 0.6 ;
1212 }
1313}
14+
15+ .logo__text {
16+ @media (max-width : $mobile-width-only ) {
17+ transform : translate (50% );
18+ }
19+
20+ @media (min-width : $desktop-width ) {
21+ width : 118px ;
22+ }
23+ }
Original file line number Diff line number Diff line change 3333 margin-bottom : 18px ;
3434 display : block ;
3535
36+ @media (max-width : $mobile-width-only ) {
37+ transform : translateX (-64px );
38+ }
39+
3640 @media (min-width : $tablet-width ) {
3741 margin-bottom : 0 ;
3842 padding-top : 5px ;
3943 flex-shrink : 0 ;
4044 }
4145}
4246
47+ .main-footer__logo-text {
48+ @media (min-width : $desktop-width ) {
49+ width : 128px ;
50+ }
51+ }
52+
4353.main-footer__social {
4454 @include list-reset ;
4555 margin-bottom : 18px ;
Original file line number Diff line number Diff line change 2828 }
2929}
3030
31- .main-header__logo .logo__text {
32- @media (max-width : $mobile-width-only ) {
33- transform : translate (50% );
34- }
35-
36- @media (min-width : $desktop-width ) {
37- width : 118px ;
38- }
39- }
40-
4131.main-header__nav {
4232 @media (max-width : $mobile-width-only ) {
4333 width : 100% ;
Original file line number Diff line number Diff line change 3737 }
3838}
3939
40- .newsletter__form .form__input {
40+ .newsletter__input {
4141 margin-bottom : 16px ;
4242 width : 100% ;
4343 padding : 12px ;
5151 }
5252}
5353
54- .newsletter__form .form__button {
54+ .newsletter__button {
5555 margin : 0 ;
5656 padding : 15px ;
5757 width : 100% ;
You can’t perform that action at this time.
0 commit comments