File tree Expand file tree Collapse file tree 3 files changed +43
-16
lines changed
Expand file tree Collapse file tree 3 files changed +43
-16
lines changed Original file line number Diff line number Diff line change 128128 color : var (--main-background-color );
129129 background : transparent ;
130130 border : 1px solid var (--main-background-color );
131+ transition : border var (--animation-dur ) var (--animation-type );
132+
133+ & :hover {
134+ border : 1px solid var (--orange-color-text );
135+ }
131136
132137 @media screen and (min-width : 768px ) {
133138 width : 390px ;
185190 text-transform : uppercase ;
186191 margin-top : 50px ;
187192
193+ transition : background-color var (--animation-dur ) var (--animation-type ), color var (--animation-dur ) var (--animation-type );
194+
195+ & :hover ,
196+ :focus {
197+ background-color : var (--main-background-color );
198+ color : var (--orange-color-text );
199+ }
200+
188201 @media screen and (min-width : 768px ) {
189202 margin-top : 30px ;
190203 }
Original file line number Diff line number Diff line change @@ -115,7 +115,13 @@ align-items: center;
115115 font-family : Montserrat,sans-serif ;
116116 font-style : normal ;
117117 font-weight : 700 ;
118-
118+ transition : background-color var (--animation-dur ) var (--animation-type ), color var (--animation-dur ) var (--animation-type );
119+
120+ & :hover , :focus {
121+ background-color : var (--orange-color-text );
122+ color : var (--main-background-color );
123+ }
124+
119125 @media screen and (max-width : 1279px ) {
120126 margin-left : auto ;
121127 }
@@ -148,7 +154,7 @@ display: none;
148154 background-color : rgba (17 ,21 ,24 ,.01 );
149155 @media screen and (min-width : 768px ) {
150156 display : none ;
151-
157+
152158 }
153159}
154160.header__container__menu_list {
Original file line number Diff line number Diff line change 2020}
2121
2222.hero__offer {
23-
23+
2424
2525 @media screen and (min-width : 1280px ) {
2626 padding-bottom : 140px ;
3131 width : 280px ;
3232 margin-bottom : 30px ;
3333 padding-top : 10px ;
34-
34+
3535
3636 @media screen and (min-width : 768px ) {
3737 width : 332px ;
4646}
4747
4848.hero__title {
49-
49+
5050 margin-top : 0px ;
5151 margin-bottom : 30px ;
5252 font-weight : 800 ;
5757 @media screen and (min-width : 768px ) {
5858 font-size : 26px ;
5959 line-height : 1.30 ;
60-
60+
6161 }
6262
6363 @media screen and (min-width : 1280px ) {
8686
8787.hero__subtext {
8888 margin-top : 5px ;
89-
89+
9090 font-weight : 700 ;
9191 font-size : 14px ;
9292 line-height : 1.571 ;
9595 @media screen and (min-width : 1280px ) {
9696 font-size : 20px ;
9797 line-height : 1.65 ;
98-
98+
9999 }
100100}
101101
118118 line-height : 1.25 ;
119119 text-transform : uppercase ;
120120 letter-spacing : 0.08em ;
121- padding-top : 16 px ;
122- padding-bottom : 16 px ;
121+ padding-top : 14 px ;
122+ padding-bottom : 14 px ;
123123 cursor : pointer ;
124124 letter-spacing : 0.08em ;
125+ border : 2px solid var (--orange-color-text );
126+
127+ transition : background-color var (--animation-dur ) var (--animation-type ), color var (--animation-dur ) var (--animation-type );
128+
129+ & :hover , :focus {
130+ background-color : var (--main-background-color );
131+ color : var (--orange-color-text );
132+ }
125133
126134 @media screen and (min-width : 768px ) {
127135 display : inline-block ;
134142 font-size : 14px ;
135143 line-height : 1.21 ;
136144 width : 354px ;
137-
138-
145+
146+
139147 }
140148}
141149
144152
145153 @media screen and (min-width : 768px ) {
146154 padding-top : 40px ;
147-
155+
148156 }
149157
150158 @media screen and (min-width : 1280px ) {
151159 padding-top : 70px ;
152-
160+
153161 }
154162
155163}
156164
157165.hero__img {
158-
166+
159167 min-width : 208px ;
160168 margin-left : auto ;
161169 margin-right : auto ;
170178
171179 @media screen and (min-width : 1280px ) {
172180 max-width : 617px ;
173-
181+
174182 }
175183
176184}
You can’t perform that action at this time.
0 commit comments