Skip to content

Commit 87931ea

Browse files
committed
More responsiveness
1 parent 234ebf0 commit 87931ea

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

_sass/layout.scss

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040

4141

4242
.container {
43-
grid-template-rows: 115px 300px auto auto;
44-
43+
grid-template-rows: 115px auto 939px auto auto;
4544
grid-template-areas:
4645
"h h h h h h h h h h h h"
4746
"i i i i i i i i i i i i"
@@ -124,7 +123,7 @@ nav > ul li a:active {
124123
@media only screen and (max-width: 992px) {
125124

126125
.appInfo {
127-
padding-top: 0px;
126+
padding-top: 50px;
128127
justify-content: center;
129128
}
130129

@@ -232,16 +231,18 @@ nav > ul li a:active {
232231
@media only screen and (max-width: 992px) {
233232

234233
.iphonePreview {
235-
margin-top: 168px;
236-
background-position: center;
234+
display: flex;
235+
justify-content: center;
236+
background-position: center 0;
237+
margin-top: 47px;
237238
}
238239

239240
.iphoneScreen {
240-
241+
241242
}
242243

243244
.videoContainer {
244-
245+
margin-left: -100px;
245246
}
246247

247248
}
@@ -327,6 +328,33 @@ nav > ul li a:active {
327328
line-height: 1.5;
328329
}
329330

331+
@media only screen and (max-width: 992px) {
332+
333+
.features {
334+
flex-grow: 1;
335+
flex-direction: row;
336+
flex-wrap: wrap;
337+
}
338+
339+
.feature {
340+
display: flex;
341+
padding-top: 41px;
342+
padding-left: 15px;
343+
padding-right: 15px;
344+
width: 100%;
345+
}
346+
347+
.feature:nth-child(3n) {
348+
padding-right: 15px;
349+
}
350+
351+
.feature:nth-child(3n+1) {
352+
padding-left: 15px;
353+
}
354+
355+
356+
}
357+
330358
footer {
331359
grid-area: f;
332360
display: flex;

0 commit comments

Comments
 (0)