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

Ada #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
65 changes: 65 additions & 0 deletions starter-code/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,68 @@ body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
}

header {
height: 300px;
background-color: #06365F;
z-index: -1;
}

.logo {
position: relative;
top: 100px;
left: 450px;
}

h1 {
color: #06365F;
}

p {
color: #1C5380;
}

.container {
height: 400px;
}

.left {
display: inline;
float: left;
position: relative;
top: -250px;
left: auto;
height: 400px;
width: 350px;
margin: 0 50px;
}

.right {
/* background image not working */
background-image: url(images/frame.png);
display: inline;
background-color: #000000;
position: relative;
top: -50px;
z-index: 1;
}

.download {
display: inline;
}

nav {
text-transform: uppercase;
text-align: center;
}

a {
margin: 0 10px;
font-size: 14px;
color: #1c5380;
}

span {
margin: 0 10px;
font-size: 14px;
}
62 changes: 45 additions & 17 deletions starter-code/index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Instagram</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
Instagram
<header>
<div class="logo">
<img src="images/brand.png" alt="Instagram">
</div>
</header>

Capture and Share the World's Moments
<section>
<div class="container">
<div class="left">
<img src="images/phones.png" alt="Phones">
</div>

<div class="right">
<div>
<h1>
Capture and Share<br />
the World's Moments
</h1>

<p>Instagram is a fast, beautiful and fun way to share your life with friends and family.</p>

Instagram is a fast, beautiful and fun way to share your life with friends and family.
<p>Take a picture or video, choose a filter to transform its look and feel, then post to Instagram &mdash; it's that easy. You can even share to Facebook, Twitter, Tumblr and more. It's a new way to see the world.</p>

Take a picture or video, choose a filter to transform its look and feel, then post to Instagram &mdash; it's that easy. You can even share to Facebook, Twitter, Tumblr and more. It's a new way to see the world.
<p>Oh yeah, did we mention it's free?</p>
</div>

Oh yeah, did we mention it's free?
<div>
<div class="download"><img src="images/badge-iphone.png" alt="Download on the App Store"></div>
<div class="download"><img src="images/badge-android.png" alt="Get it on Google Play"></div>
</div>
</div>

Download on the App Store
Get it on Google Play
</div>

</section>

About Us
Support
Blog
Press
API
Jobs
Privacy
Terms

&copy; 2014 Instagram
<footer>
<nav>
<a>About Us</a>
<a>Support</a>
<a>Blog</a>
<a>Press</a>
<a>API</a>
<a>Jobs</a>
<a>Privacy</a>
<a>Terms</a>
<span>&copy; 2014 Instagram</span>
</nav>
</footer>
</body>
</html>