Skip to content

Commit 808d224

Browse files
committed
one more background change in 17
1 parent 369b851 commit 808d224

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

17-stripe-submenus/final/styles.css

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Variables
4242
--radius: 0.75rem;
4343
--light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
4444
--dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
45-
--max-width: 1120px;
45+
--max-width: 1170px;
4646
--fixed-width: 620px;
4747
}
4848
/*
@@ -249,9 +249,6 @@ Stripe Styles
249249
}
250250
.hero-center {
251251
grid-template-columns: 2fr 1fr;
252-
align-items: end;
253-
254-
padding-bottom: 5vh;
255252
}
256253

257254
.hero-info h1 {
@@ -268,26 +265,22 @@ Stripe Styles
268265
width: 10rem;
269266
}
270267
}
271-
@media screen and (min-width: 992px) {
272-
.phone-img {
273-
width: 11rem;
274-
}
275-
}
276268

277269
@media screen and (min-width: 1200px) {
278270
.hero-center {
279-
grid-template-columns: 1fr 1fr;
280-
padding-bottom: 15vh;
271+
grid-template-columns: 2fr 1fr;
272+
align-items: end;
273+
padding-bottom: 10vh;
281274
}
282275
.hero-info h1 {
283276
max-width: 100%;
284-
font-size: 6rem;
277+
font-size: 5rem;
285278
}
286279
.hero-images {
287280
align-self: end;
288281
}
289282
.phone-img {
290-
width: 20rem;
283+
width: 15rem;
291284
}
292285
}
293286
/* sidebar */

0 commit comments

Comments
 (0)