Skip to content

Commit 3c9f065

Browse files
nikhilaravifacebook-github-bot
authored andcommitted
update website css on mobile
Summary: Updated media queries for website on mobile. Reviewed By: gkioxari Differential Revision: D19745526 fbshipit-source-id: a8dc25fcc04726056231d2e1ebeb581251be9324
1 parent 10ec66d commit 3c9f065

File tree

1 file changed

+39
-6
lines changed

1 file changed

+39
-6
lines changed

website/static/css/custom.css

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,13 @@ html body {
6363
rgba(129, 44, 229, 1) 0%,
6464
rgba(255, 175, 0, 1) 100%
6565
);
66-
padding: 30px 0px;
66+
padding: 25px 0px;
6767
}
6868

6969
.splashLogo {
7070
display: block;
7171
margin: 0 auto;
72-
height: 200px;
73-
width: 800px;
72+
width: 65%;
7473
}
7574

7675
.projectTitle {
@@ -128,7 +127,10 @@ div.productShowcaseSection {
128127
}
129128

130129
.productShowcaseSection div.container {
131-
padding: 40px 0px;
130+
padding-bottom: 40px;
131+
padding-top: 10px;
132+
padding-left: 0px;
133+
padding-right: 0px;
132134
}
133135

134136
.productShowcaseSection img {
@@ -289,13 +291,44 @@ p a:hover {
289291
max-width: 1400px;
290292
}
291293

294+
292295
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
296+
.fixedHeaderContainer header a:nth-child(2) {
297+
position: absolute;
298+
right: 150px;
299+
}
300+
.promoSection .button {
301+
font-size: 12px;
302+
margin: 3px;
303+
}
304+
.inner h2 {
305+
margin-top: 0px;
306+
}
307+
.splashLogo {
308+
width: 90%;
309+
}
310+
.headerTitleWithLogo {
311+
display: block !important;
312+
}
313+
.blockContent > div span p {
314+
margin-bottom: 30px
315+
}
316+
.productShowcaseSection div.container {
317+
padding-top: 0px;
318+
}
319+
.productShowcaseSection > h2 {
320+
padding-bottom: 20px;
321+
}
293322
}
294323

295-
@media only screen and (min-width: 1024px) {
324+
@media only screen and (max-width: 1023px) {
325+
.fixedHeaderContainer header a:nth-child(2) {
326+
position: absolute;
327+
right: 200px;
328+
}
296329
}
297330

298-
@media only screen and (max-width: 1023px) {
331+
@media only screen and (min-width: 1024px) {
299332
}
300333

301334
@media only screen and (min-width: 1400px) {

0 commit comments

Comments
 (0)