Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style get it free section #105

Merged
merged 1 commit into from
Sep 23, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions public/assets/arrowblack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 8 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ <h1>Best Way To Present Your Beautiful Mobile App</h1>
<img src="assets/iPhone.png" alt="iPhone">
</div>
</div>
<h2>GET IT FOR FREE</h2>
<p>Choose your native platform and download the app FREE!</p>
<svg>arrow</svg>
<a href="#"><img src="assets/googleLogo.svg" alt="Google Play">Google Play</a>
<a href="#"><span class="icon-apple">iOS App Store</span></a>
<h2 class="getitfree">GET IT FOR FREE</h2>
<div>
<p>Choose your native platform and download the app FREE!</p>
</div>
<div class="getitfree-link-wrapper">
<a href="#" class="google-play-link lg-eclipse-border"><svg width=32 height=32></svg>Google Play</a>
<a href="#" class="ios-store-link lg-eclipse-border"><span class="icon-apple">iOS App Store</span></a>
</div>
</section>
<section id="features-nav" class="amazing-features">
<h1>Some Amazing Features</h1>
Expand Down
2 changes: 1 addition & 1 deletion public/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@import "partials/form";

@import "partials/best-way";

@import "partials/get-it-free";
@import "partials/paragraphs";

@import "partials/nav";
Expand Down
54 changes: 54 additions & 0 deletions public/sass/partials/_get-it-free.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

.getitfree {
font: $head-big-medium-font;
text-align: center;
margin-top: 3em;
+ div p {
text-align: center;
margin-top: 0.5em;
font: $head-small-light-font;
color: $color-4;
display: flex;
justify-content: center;
margin-left: 4em;
&:after {
background: url("../assets/arrowblack.svg") no-repeat;
background-size: contain;
display: block;
content: '';
height: 4em;
width: 2em;
margin-left: 2em;
}
}
}

.getitfree-link-wrapper {
@include flexbox;
margin-bottom: 3em;
}

.google-play-link {
width: 11.5em;
height: 4em;
font: 300 1em Roboto;
> svg {
content: '';
display: block;
height: 2em;
background: url("../assets/googleLogo.svg") no-repeat;
background-size: contain;
}
}

.ios-store-link {
width: 9.5em;
height: 3.35em;
background-color: $color-2;
border-color: $color-7;
span {
font: $small-button-link-font;
color: $color-3;
}

}