Skip to content

Commit 234ebf0

Browse files
committed
Added some responsiveness for screens under 992px
1 parent d0b7d46 commit 234ebf0

File tree

4 files changed

+77
-5
lines changed

4 files changed

+77
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 Emil Baehr
3+
Copyright (c) 2019 Emil Baehr
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Author
77

8-
**[Emil Baehr](https://emilbaehr.com/)**
8+
[Emil Baehr](https://emilbaehr.com/)
99

1010
## License
1111

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,5 @@ exclude:
114114
- README.md
115115
- CNAME
116116
- mobile-app-landing-page.gemspec
117+
118+
github: [metadata]

_sass/layout.scss

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
url($header-image);
1010

1111
background-repeat: no-repeat;
12-
background-size: 100% auto;
12+
background-size: cover;
1313
background-position: top;
1414
border-radius: 0px 0px 40px 40px;
1515
}
@@ -36,6 +36,21 @@
3636
"f f f f f f f f f f f f";
3737
}
3838

39+
@media only screen and (max-width: 992px) {
40+
41+
42+
.container {
43+
grid-template-rows: 115px 300px auto auto;
44+
45+
grid-template-areas:
46+
"h h h h h h h h h h h h"
47+
"i i i i i i i i i i i i"
48+
"p p p p p p p p p p p p"
49+
"c c c c c c c c c c c c"
50+
"f f f f f f f f f f f f";
51+
}
52+
}
53+
3954
header {
4055
grid-area: h;
4156
display: flex;
@@ -106,6 +121,15 @@ nav > ul li a:active {
106121
align-content: flex-start;
107122
}
108123

124+
@media only screen and (max-width: 992px) {
125+
126+
.appInfo {
127+
padding-top: 0px;
128+
justify-content: center;
129+
}
130+
131+
}
132+
109133
.appIconShadow {
110134
display: flex;
111135
filter: $drop-shadow;
@@ -148,22 +172,51 @@ nav > ul li a:active {
148172
color: #fff;
149173
}
150174

151-
.downloadButtonsContainer {
152-
display: flex;
175+
@media only screen and (max-width: 992px) {
176+
177+
.appDescription {
178+
text-align: center;
179+
}
153180

181+
}
182+
183+
.downloadButtonsContainer {
184+
display: inline-flex;
185+
flex-direction: column;
154186
margin-top: 42px;
155187
filter: $drop-shadow;
156188
}
157189

190+
@media only screen and (max-width: 992px) {
191+
192+
.downloadButtonsContainer {
193+
align-items: center;
194+
}
195+
196+
}
197+
158198
.playStore {
159199
height: 75px;
160200
margin-right: 25px;
201+
margin-bottom: 27px;
161202
}
162203

204+
@media only screen and (max-width: 992px) {
205+
206+
.playStore {
207+
margin-right: 0px;
208+
}
209+
210+
}
211+
163212
.appStore {
164213
height: 75px;
165214
}
166215

216+
.playStoreLink {
217+
margin: 0px;
218+
}
219+
167220
.appStoreLink {
168221
margin: 0px;
169222
}
@@ -176,6 +229,23 @@ nav > ul li a:active {
176229
margin-top: 68px;
177230
}
178231

232+
@media only screen and (max-width: 992px) {
233+
234+
.iphonePreview {
235+
margin-top: 168px;
236+
background-position: center;
237+
}
238+
239+
.iphoneScreen {
240+
241+
}
242+
243+
.videoContainer {
244+
245+
}
246+
247+
}
248+
179249
.iphoneScreen {
180250
width: 388px;
181251
height: 839px;

0 commit comments

Comments
 (0)