Skip to content

Commit d936d82

Browse files
authored
Merge pull request #877 from codeRIT/mobilefixes
Fixed sign-in not being vertically centered on mobile + mobile zooming
2 parents 287df50 + b862243 commit d936d82

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

24 KB
Loading

app/assets/stylesheets/home/layout.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,18 @@ body {
114114
background-size: 700px;
115115

116116
@media (max-width: 1100px) {
117-
/*background-image: asset-url("home/about-background-bricks-double.svg");*/
118-
height: 1200px;
117+
background: asset-url("home_asset_1_2.png") no-repeat left;
118+
height: 200%;
119+
width: 100%;
119120
opacity: 0.15;
121+
margin-top: 100px;
120122
}
121123
@media (max-width: 480px) {
122-
margin-top: 40px;
124+
background-size: 450px;
125+
margin-top: 0px;
126+
}
127+
@media (max-width: 400px) {
128+
margin-top: 50px;
123129
}
124130
}
125131

app/assets/stylesheets/home/nav.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $nav-space-tablet: 15px;
2424
font-weight: bold;
2525
padding-right: 5%;
2626
@media (max-width: 1100px) {
27-
padding-top: 40px;
27+
padding-top: 30px;
2828
padding-bottom: 20px;
2929
}
3030
}
@@ -120,8 +120,9 @@ $nav-space-tablet: 15px;
120120
.nav__signup__button{
121121
position: fixed;
122122
right: 140px;
123+
width: 115px;
123124
@media (max-width: 850px) {
124125
left: 120px;
125-
top: 30px;
126+
top: 15px;
126127
}
127128
}

0 commit comments

Comments
 (0)