Skip to content

Commit f5ec320

Browse files
committed
Adjusted iPhone size slightly
1 parent 8a73ed9 commit f5ec320

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

_sass/layout.scss

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.imageWrapper { // Sets the background image in the header area
2-
height: 768px;
2+
height: 714px;
33
background:
44
linear-gradient(
55
rgba($image-overlay-color, $image-overlay-transparency),
@@ -26,9 +26,8 @@
2626
max-width: $content-width;
2727
padding-left: 15px;
2828
padding-right: 15px;
29-
grid-column-gap: 50px;
3029
grid-template-columns: repeat(12, 1fr);
31-
grid-template-rows: 115px 960px auto auto;
30+
grid-template-rows: 115px 876px auto auto;
3231
grid-column-gap: 30px;
3332
grid-template-areas:
3433
"h h h h h h h h h h h h"
@@ -116,7 +115,7 @@ nav > ul li a:active {
116115
grid-area: i;
117116
display: flex;
118117
flex-wrap: wrap;
119-
padding-top: 158px;
118+
padding-top: 113px;
120119
align-content: flex-start;
121120
}
122121

@@ -188,21 +187,38 @@ nav > ul li a:active {
188187
@media only screen and (max-width: 992px) {
189188

190189
.downloadButtonsContainer {
191-
align-items: center;
192-
flex-direction: column;
190+
text-align: center;
191+
}
192+
193+
}
194+
195+
@media only screen and (max-width: 1070px) {
196+
197+
.playStore {
198+
margin-bottom: 27px;
193199
}
194200

195201
}
196202

197203
.playStore {
198204
height: 75px;
199-
margin-bottom: 27px;
205+
margin-right: 24px;
200206
}
201207

202208
@media only screen and (max-width: 992px) {
203209

210+
.playStore {
211+
margin-right: 24px;
212+
margin-bottom: 0px;
213+
}
214+
215+
}
216+
217+
@media only screen and (max-width: 528px) {
218+
204219
.playStore {
205220
margin-right: 0px;
221+
margin-bottom: 24px;
206222
}
207223

208224
}
@@ -214,31 +230,31 @@ nav > ul li a:active {
214230
.iphonePreview {
215231
grid-area: p;
216232
background-image: url($device-color);
217-
background-size: 445px auto;
233+
background-size: 400px auto;
218234
background-repeat: no-repeat;
219235
margin-top: 68px;
220236
}
221237

222238
.iphoneScreen {
223-
width: 388px;
239+
width: 349px;
224240
-webkit-clip-path: url(#screenMask);
225241
clip-path: url(#screenMask);
226-
margin-left: 29px;
227-
margin-top: 27px;
242+
margin-left: 26px;
243+
margin-top: 22px;
228244
}
229245

230246
.videoContainer {
231-
width: 388px;
232-
height: 839px;
247+
width: 349px;
248+
height: 755px;
233249
-webkit-clip-path: url(#screenMask);
234250
clip-path: url(#screenMask);
235251
margin-left: 28px;
236252
margin-top: 3px;
237253
}
238254

239255
.videoContainer > video {
240-
width: 388px;
241-
height: 839px;
256+
width: 349px;
257+
height: 755px;
242258
}
243259

244260
@media only screen and (max-width: 992px) {
@@ -362,6 +378,7 @@ footer {
362378
.footerText {
363379
color: $secondary-text-color;
364380
display: block;
381+
line-height: 1.5;
365382
width: 100%;
366383
text-align: center;
367384
padding-top: 100px;

0 commit comments

Comments
 (0)