Skip to content
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
124 changes: 121 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,126 @@ dark blue: #06365f
light blue: #1c5380
*/

* {
box-sizing: border-box;
}

body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
margin: 0;
/*background-image: url(../img/bgtile.png);
background-repeat: repeat-x;*/
background-color: #eeeeee;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
margin: 0;
}

.blue {
background-color: #386283;
background: linear-gradient(#567e9d, #386283);
width: 100%;
height: 280px;
position: absolute;
top: 0px;
}

main {
width: 870px;
height: 500px;
margin: 70px auto;
position: relative;
}

.logo {
position: absolute;
width: 500px;
right: 0px;
padding-top: 20px;
}

#login {
display: inline-block;
background-color: #1c5380;
background: linear-gradient(#6d93ae, #427092);
box-shadow: 0px 0.03em 0.03em 0.03em rgba(0, 0, 0, .4);
padding: 7px;
position: absolute;
right: 0px;
bottom: 25px;
border: 1px solid #427092;
border-radius: 3px;
}

#login span {
padding: 5px;
position: relative;
top: -4px;
color: #eeeeee;
font-weight: 400;
font-size: 14px;
text-transform: bold;
}

.content {
background-color: #ffffff;
background: linear-gradient(#ffffff, #eeeeee);
padding: 30px 40px;
position: absolute;
width: 500px;
right: 0px;
top: 120px;
bottom: 0px;
border-radius: 6px;

}

#badge {
margin-right: 20px;
bottom: 0px;
position: relative;
bottom: -3px;
}

.phone {
position: absolute;
left: 0px;

}

h1 {
margin-top: 0px;
font-size: 26px;
letter-spacing: 0.05em;
color: #06365f;
}

p {
font-size: 14px;
line-height: 20px;
letter-spacing: 0.03em;
}

footer {
font-size: 11px;
text-transform: uppercase;
position: relative;
text-align: center;
}

footer a {
text-decoration: none;
font-weight: 500;
color: #1c5380;
display: inline-block;
margin: 0 8px;
}

#copyright {
margin-left: 10px;
color: #a9a9a9;
}






58 changes: 42 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,57 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Instagram</title>
</head>

<body>
Instagram
<div class="blue">

</div>

<main>

Capture and Share the World's Moments
<div class="logo">
<!-- Instagram logo and login -->
<img width="300" src="img/brand.png">
<a href="#"><div id="login">
<img src="img/home.png"> <span>Log in</span>
</div></a>
</div>

Instagram is a fast, beautiful and fun way to share your life with friends and family.
<div class="phone">
<img src="img/phones.png">
</div>

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.
<div class="content">
<!-- intro and download buttons -->

Oh yeah, did we mention it's free?
<h1>Capture and Share<br>the World's Moments</h1>

Download on the App Store
Get it on Google Play
<p>
Instagram is a <b>fast, beautiful</b> and <b>fun</b> way to share your life with friends and family.<br><br>

About Us
Support
Blog
Press
API
Jobs
Privacy
Terms
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.<br><br>

Oh yeah, did we mention it's free?<br><br>
</p>
<a href="#"><img id="badge" src="img/badge-iphone.png"></a><a href="#"><img id="badge" src="img/badge-android.png"></a>
</div>
</main>

<footer>
<a href="#">About Us</a>
<a href="#">Support</a>
<a href="#">Blog</a>
<a href="#">Press</a>
<a href="#">API</a>
<a href="#">Jobs</a>
<a href="#">Privacy</a>
<a href="#">Terms</a>
<span id="copyright">&copy; 2014 Instagram</span>
</footer>

&copy; 2014 Instagram
</body>

</html>