From 2e94b519334c128accaaaf64698ed54c911e76da Mon Sep 17 00:00:00 2001 From: Sara Garcia Date: Sun, 9 Feb 2025 19:12:02 +0000 Subject: [PATCH 1/2] feat: lab-done --- index.html | 62 ++++++++++++++-- styles/style.css | 183 +++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 232 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index da7db46f..cb500e2d 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,63 @@ Instagram Clone - + + - 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 - — 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 © 2014 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 — 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?

+
+ + +
+
+
+ + diff --git a/styles/style.css b/styles/style.css index c4865cc6..87af5412 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,10 +1,179 @@ -/* -Colors to use: -dark blue: #06365f -light blue: #1c5380 -*/ - body { - font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 1.4; + color: #333; margin: 0; + padding: 0; +} + +.blue-bg { + position: absolute; + width: 100vw; + height: 380px; + top: 0; + background: url(../images/bgtile.png); +} + +/*Center*/ +main { + position: relative; + display: flex; + flex-wrap: wrap; + margin-top: 200px; + align-items: center; + justify-content: center; +} + +.images-mobile { + flex: 1 1 45%; + max-width: 300px; + margin-right: 5%; +} + +section { + max-width: 500px; +} + +nav { + display: flex; + align-items: center; + justify-content: space-between; +} + +.logo { + width: 300px; +} + +.login-text { + color: white; +} + +.login { + display: flex; + align-items: center; + justify-content: space-around; + width: 100px; + background: rgb(144, 198, 247); + background: linear-gradient( + 180deg, + rgba(144, 198, 247, 1) 0%, + rgba(67, 126, 177, 1) 41%, + rgba(58, 104, 144, 1) 75% + ); + border-radius: 10%; + border: 1px solid #0d375c; + cursor: pointer; +} + +.text-box { + background: url(../images/frame.png); + background-repeat: no-repeat; + display: flex; + flex-direction: column; + justify-content: center; + padding: 1em 2em 0em; +} + +h1 { + color: #0d375c; +} + +.download-links { + display: flex; + flex-wrap: wrap; + padding-top: 1em; + gap: 20px; +} + +.download-links img { + width: 150px; + cursor: pointer; +} + +/*Footer*/ +footer { + display: flex; + align-items: center; + justify-content: center; + padding: 3em; + flex-wrap: wrap; +} + +footer a { + margin-right: 30px; + text-transform: uppercase; + color: #0d375c; + font-weight: bold; + font-size: 0.75rem; + text-decoration: none; +} + +#copyright { + color: rgb(148, 148, 148); + font-weight: bold; + font-size: 0.75rem; +} + +/* Responsive*/ +@media (max-width: 768px) { + main { + margin-top: 50px; + flex-direction: column; + padding: 0 10%; + } + + .images-mobile { + max-width: 80%; + margin-right: 0; + margin-bottom: 20px; + } + + section { + width: 100%; + padding: 0 10%; + } + + .logo { + width: 180px; + } + + .text-box { + padding: 2em 1em 0em; + } + + footer { + flex-direction: column; + padding: 2em; + text-align: center; + } + + footer a { + margin-right: 0; + margin-bottom: 10px; + } +} + +@media (max-width: 480px) { + .images-mobile { + max-width: 90%; + } + + .download-links { + flex-direction: column; + gap: 10px; + } + + footer { + flex-direction: column; + padding: 2em 0; + } + + footer a { + margin-right: 0; + margin-bottom: 10px; + } + + #copyright { + margin-top: 20px; + } } From 30a6fd579d2b9c8fe964d8c48e180b294ca2b6eb Mon Sep 17 00:00:00 2001 From: Sara Garcia Date: Sun, 9 Feb 2025 19:17:37 +0000 Subject: [PATCH 2/2] finished --- styles/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/styles/style.css b/styles/style.css index 87af5412..401ffa44 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,6 +1,5 @@ body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - line-height: 1.4; + font: 200 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; color: #333; margin: 0; padding: 0;