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

PT RMT 102024 TRIX MOSTERT #2819

Open
wants to merge 1 commit 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
50 changes: 44 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,51 @@
<meta charset="UTF-8" />
<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="tile"></div>
<div class="main-content">
<div class="left-phones">
<img src="images/phones.png" height="512" width="318"/>
</div>
<div class="right-welcome-txt">
<div class="brand">
<img src="images/brand.png" height="78" width="314"/>
<button class="login"><img class="lgn-btn-img" src="images/home.png" height="22" width="25"/><span class="lgn-btn-txt">Log in</span></button>
</div>
<article class="main-txt">
<h1>Capture and Share <br/> the World's Moments</h1>
<p>
Instagram is a <strong>fast</strong>, <strong>beautiful</strong> and <strong>fun</strong> way to share your life with
friends and family.
</p>
<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>
<p>
Oh yeah, did we mention it's free?
</p>
<div class="btn-container-main">
<img src="images/badge-iphone.png" height="51" width="164" alt="Download on the App Store"/>
<img class="btn-main-right" src="images/badge-android.png" height="51" width="153" alt="Get it on Google Play"/>
</div>
</article>
</div>
</div>
<footer>
<ul class="nav">
<li><a href="#">About Us</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">API</a></li>
<li><a href="#">Jobs</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
</ul>
<div class="copy-icon">&copy 2014 Instagram</div>
</footer>
</body>
</html>
122 changes: 121 additions & 1 deletion styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,126 @@ light blue: #1c5380
*/

body {
font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 200;
margin: 0;
font-size: 10px;
}

h1 { color: #06365f }

button > img,
button > span {
vertical-align: middle;
}

/* start main content */
.main-content {
display: flex;
flex-direction: row;
font-size: 1rem;
margin-top: -12rem;
margin-left: 5rem;
margin-right: 5rem;
align-content: center;
justify-content: center;
}

.brand {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 1.5rem;
}

.login{
height: 2.8rem;
text-align: center;
background-image: linear-gradient(to bottom, RGBA(161, 202, 241, 1), #456681, #1c5380, RGBA(161, 202, 241, 1));
border: 0.5px solid RGBA(205, 205, 205, 1);
color: white;
}

.lgn-btn-txt{
padding-left: 5px;
}

.right-welcome-txt {
width: 30.4rem;
margin: 0 3rem;
}

.main-txt {
height: 10rem;
background: white;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
padding: 1rem 4rem;
line-height: 1.5rem;
box-shadow: 0 20px 0px 0px white, 0 -20px 0px 0px white, -5px 0 3px -3px RGBA(205, 205, 205, 1), 5px 0 3px -3px RGBA(205, 205, 205, 1);
}

.btn-container-main {
position: relative;
z-index: 12;
display: flex;
justify-content: flex-start;
padding-top: 2rem;
}
.btn-main-right{
padding-left: 1rem;
}

.tile {
width: 100vw;
height: 35vh;
background-image: url("../images/bgtile.png");
background-repeat: repeat;
}

ul {
display: flex;
flex-direction: row;
list-style-type: none;
padding: 0;
margin: 0;
}

ul li {
margin: 0.25rem;
}

ul li a {
text-decoration: none;
font-weight: 700;
color: #1c5380;
}

footer {
position: fixed;
left: 0;
bottom: 0;
width: 100vw;
height: 10vh;
font-size: 12px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
text-transform: uppercase;
}

footer nav {
height: 10vh;
font-weight: bold;
}

footer .copy-icon {
padding-left: 0.25rem;
color: grey;
font-weight: 400;
}