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

Finished clone. Vladys #2807

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
62 changes: 57 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,64 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Instagram Clone</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
Instagram Capture and Share the World's Moments Instagram is a fast, beautiful and fun way to share your life with
friends and family. 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.
Oh yeah, did we mention it's free? Download on the App Store Get it on Google Play About Us Support Blog Press API
Jobs Privacy Terms &copy; 2014 Instagram
<div class="blue-section"></div>
<div class="white-section"></div>
<section id="main-block">

<section id="main-section">
<header>
<img src="images/brand.png" alt="instagra brand image">
<div>
<button><img src="images/home.png" alt="home image">Log In</button></div>
</header>
<main>
<div>
<div>
<h1>Capture and Share the World's Moments </h1>
<p class="parragraph"> Instagram is a so <b>fast</b>, <b>beautiful</b> and <b>fun</b> way to share your life with
friends and family.</p>
<p class="parragraph">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>
<p class="parragraph">Oh yeah, did we mention it's free?</p>

</div>
<div>
<img src="images/badge-iphone.png" alt="apple store link">
<img src="images/badge-android.png" alt="google play link">
</div>

</div>

</main>

</section>

<aside>
<img src="images/phones.png" alt="phones with ig filters">
</aside>
</section>


<section id="footer-section">

<footer>
<ul>
<li>About</li>
<li>Us</li>
<li>Support</li>
<li>Blog</li>
<li>Press</li>
<li>API</li>
<li>Jobs</li>
<li>Privacy</li>
<li>Terms</li>
<li>&copy; 2014 Instagram</li>
</ul>
</footer>
</section>

</body>
</html>
138 changes: 138 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,142 @@ light blue: #1c5380
body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.blue-section {
background:linear-gradient(to top,#1c5380 60%, #06365f 90%);
height: 35%; /* One third of the height */
width: 100%;
position: absolute;
top: 0;
left: 0;
}

/* White section, covering the remaining 2/3 */
.white-section {
background-color: white;
height: 63%; /* The rest of the height */
width: 100%;
position: absolute;
bottom: 0;
left: 0;
}

#main-block{
position: relative;
z-index: 1;
display: flex;
flex-direction: row-reverse;
margin: 6rem 2rem 0 2rem;
}
#main-section {

width: 30rem;
margin: 50px;
header{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 25px;
img[src="images/brand.png"]{
width: 60%;
}
div {
width: 83px;
button {
display: flex;
justify-content: center;
align-items: center;
padding: 7px;
font-size: 12px;
font-weight: 600;
background:linear-gradient( #1c5380 40%,#06365f 90% );
color: white;
border: 1px solid #06365f;
border-radius: 2px;
img {
width: 20px;
margin-right: 5px;
}
}
}
}
main {
background-color: white;
padding: 5px 30px 10px 30px;
border-radius: 3px;
box-shadow: 0 -10px 15px -10px rgba(0, 0, 0, 0.4), 0 20px 30px -10px rgba(0, 0, 0, 0);
div {
div {
h1 {
font-size: 22px;
width: 55%;
font-weight: 600;
color: #06365f;
margin-top: 20px;

}
.parragraph {
display: block;
b {
display: inline;
margin: 0;
}
}
p {
width: 93%;
font-weight: 400;

}
}
:nth-child(2){
margin: 30px 20px 0 0;
display: flex;
justify-content: flex-start;
img {
margin: 0;
}
img[src="images/badge-iphone.png"]{
height: 51px;
margin-right: 2rem;
}
}
}

}
}
aside {
width: 23rem;
img {
width: 100%;
}
}
#footer-section {
display: flex;
justify-content: center;
}
footer {
width: 700px;
position: relative;
z-index: 1;
margin: 30px 0 60px 0;
ul {
padding: 0;
list-style-type: none;
display: flex;
align-items: center;
justify-content: space-between;
li {
text-transform: uppercase;
font-size: 12px;
font-weight: 600;
color: #06365f;
}
li:last-child {
color: rgb(187 187 188);
}
}
}
}