File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -167,11 +167,11 @@ Stripe Styles
167
167
content : '' ;
168
168
position : absolute;
169
169
width : 100% ;
170
- height : 100 % ;
170
+ height : 65 % ;
171
171
top : 0 ;
172
172
left : 0 ;
173
173
background : url(./ images/hero.svg);
174
- background-size : contain ;
174
+ background-size : cover ;
175
175
background-repeat : no-repeat;
176
176
z-index : -1 ;
177
177
}
@@ -243,9 +243,14 @@ Stripe Styles
243
243
244
244
/* hero media query */
245
245
@media screen and (min-width : 800px ) {
246
+ .hero ::before {
247
+ background-size : contain;
248
+ height : 100% ;
249
+ }
246
250
.hero-center {
247
251
grid-template-columns : 2fr 1fr ;
248
252
align-items : end;
253
+
249
254
padding-bottom : 5vh ;
250
255
}
251
256
@@ -261,11 +266,17 @@ Stripe Styles
261
266
}
262
267
.phone-img {
263
268
width : 10rem ;
264
- padding-bottom : 10vh ;
265
269
}
266
270
}
271
+ @media screen and (min-width : 992px ) {
272
+ .phone-img {
273
+ width : 11rem ;
274
+ }
275
+ }
276
+
267
277
@media screen and (min-width : 1200px ) {
268
278
.hero-center {
279
+ grid-template-columns : 1fr 1fr ;
269
280
padding-bottom : 15vh ;
270
281
}
271
282
.hero-info h1 {
@@ -276,7 +287,7 @@ Stripe Styles
276
287
align-self : end;
277
288
}
278
289
.phone-img {
279
- width : 15 rem ;
290
+ width : 20 rem ;
280
291
}
281
292
}
282
293
/* sidebar */
You can’t perform that action at this time.
0 commit comments