From fa5345e06ee23b98578a77536ec0d5969704b58a Mon Sep 17 00:00:00 2001 From: denakwob Date: Mon, 16 Dec 2024 14:14:27 +0000 Subject: [PATCH 1/3] done --- index.html | 76 ++++++++++++++-- styles/style.css | 231 +++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 294 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 0697f92..712ee78 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,80 @@ + + + + Spotify Clone - - Premium Discover Help Download Music for everyone. Spotify is now free on mobile, tablet and computer. Listen to the - right music, wherever you are. What’s on Spotify? Millions of Songs There are millions of songs on Spotify HD Music - Listen to music as if you were listening live Stream Everywhere Stream music on your smartphone, tablet or computer - It’s as yeezy as Kanye West. Search Know what you want to listen to? Just search and hit play. Browse Check out the - latest charts, brand new releases and great playlists for right now. Discover Enjoy new music every Monday with your - own personal playlist. Or sit back and enjoy Radio. + +
+
+

Music for everyone.

+

Spotify is now free on mobile, tablet and computer.

+

Listen to the right music, wherever you are.

+
+
+
+
+

What’s on Spotify?

+
+
+ music icon +

Millions of Songs

+

There are millions of songs on Spotify

+
+
+  HD music icon +

HD Music

+

Listen to music as if you were listening live

+
+
+  HD music icon +

Stream Everywhere

+

Stream music on your smartphone, tablet or computer

+
+
+
+
+
+

It’s as yeezy as Kanye West.

+
+
+

Search

+

Know what you want to listen to? Just search and hit play.

+
+
+

Browse

+

Check out the + latest charts, brand new releases and great playlists for right now.

+
+
+

Discover

+

Enjoy new music every Monday with your + own personal playlist. Or sit back and enjoy Radio.

+
+
+
+ +
+ app +
+
+
diff --git a/styles/style.css b/styles/style.css index 55efb32..3441c8f 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,8 +1,227 @@ -/* -Colors: +:root { + --text: #1A1A1A; + --green: #00B172; + --white: #FFF +} -Text: 1A1A1A -Green: #00B172 -White: #FFF +* { + margin: 0; + padding: 0; + box-sizing: border-box; + text-decoration: none; + list-style: none; +} -*/ +body { + width: 100%; + font-family: "Poppins", sans-serif; +} + +p { + font-size: 1.3rem; +} + +/* navigation bar */ + +.nav--items { + /* padding: 1.5em; */ + position: relative; +} + +.nav--bar { + display: flex; + justify-content: space-between; + align-items: center; + position: fixed; + width: 100%; + background-color: var(--white); + height: 11vh; + z-index: 100; + padding: 1.5em 1.5em; +} + +.nav--bar ul { + display: flex; + gap: 1em; +} + +.nav--bar ul li { + cursor: pointer; +} + +.logo { + width: 9em; +} + +/* landing--page */ +.landing--page { + background: url(../images/landing.jpg) center center / cover no-repeat; + height: 85vh; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + text-align: center; +} + +.message h2 { + font-size: 4rem; + font-weight: 700; + margin-bottom: .2em; +} + +.message p { + font-size: 1.2rem; +} + + +/* content */ +/* info cards */ + +.content { + display: flex; + flex-direction: column; + gap: 2em; padding: 1.5em; +} +.info--cards { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + /* padding: 1.5em; */ + gap: 2em; +} + +.info--cards h2 { + font-size: 2rem; +} + +.info--cards h2::after { + content: ''; + display: block; + width: 100%; + height: 4px; + margin-top: 5px; + background: var(--green); +} + +.cards { + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; + gap: 1em; +} + +.card { + width: 100%; + padding: 4em; + border: 5px solid rgb(243, 243, 66); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: .5em; + text-align: center; +} + +.card p { + font-weight: 300; +} + +.card h4 { + font-size: 1.5rem; + color: var(--green); +} + +.card--img { + width: 8em; + height: auto; + /* border: 1px solid red; */ +} + +.card.hd { + padding: 4.5em; +} + +.card.stream { + /* padding: 3em; */ + /* width: 95%; */ + height: 339px; + +} + +/* footer */ + +.spotify--details { + width: 100%; + background: var(--green); + height: 120vh; + display: flex; + justify-content: space-between; + padding: 3em 6em; + gap: 20em; + /* align-items: center; */ + color: white; + position: relative; +} + +#spotify--white { + width: 100px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-100%, -100%); +} + +.spotify--app { + width: 463px; + + margin-top: 3em; + /* border: 1px solid red; */ +} + +.spotify--app img { + width: 100%; + /* border: 1px solid red; */ +} + +.info { + display: flex; + flex-direction: column; + /* justify-content: space-between; */ + /* align-items: fle; */ + gap: 1em; + width: 50%; + /* margin: 3em; */ +} + +.info h3 { + font-size: 1.8rem; +} + +.info h3::after { + content: ''; + display: block; + width: 100%; + height: 4px; + margin-top: .2em; + background: var(--white); +} + +.info--details { + margin-top: 1.2em; + width: 350px; + display: flex; + flex-direction: column; + gap: 2em; + justify-content: space-between; + font-weight: 300; + font-size: .8rem; +} + +.info--details h4 { + font-size: 1.3rem; + font-weight: 600; + margin-bottom: 1em; +} From f5a22dca7d46aa6760d1c514cfb8334083a79bbf Mon Sep 17 00:00:00 2001 From: denakwob Date: Mon, 16 Dec 2024 14:18:37 +0000 Subject: [PATCH 2/3] done --- styles/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/style.css b/styles/style.css index 3441c8f..cc176c3 100644 --- a/styles/style.css +++ b/styles/style.css @@ -170,7 +170,7 @@ p { width: 100px; position: absolute; top: 50%; - left: 50%; + left: 55%; transform: translate(-100%, -100%); } From e9723549e49f97fe8b20a4a11f0e3731be54545c Mon Sep 17 00:00:00 2001 From: denakwob Date: Mon, 16 Dec 2024 14:20:12 +0000 Subject: [PATCH 3/3] done --- styles/style.css | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/styles/style.css b/styles/style.css index cc176c3..1233a3e 100644 --- a/styles/style.css +++ b/styles/style.css @@ -24,7 +24,6 @@ p { /* navigation bar */ .nav--items { - /* padding: 1.5em; */ position: relative; } @@ -88,7 +87,6 @@ p { flex-direction: column; justify-content: center; align-items: center; - /* padding: 1.5em; */ gap: 2em; } @@ -137,7 +135,6 @@ p { .card--img { width: 8em; height: auto; - /* border: 1px solid red; */ } .card.hd { @@ -145,8 +142,6 @@ p { } .card.stream { - /* padding: 3em; */ - /* width: 95%; */ height: 339px; } @@ -161,7 +156,6 @@ p { justify-content: space-between; padding: 3em 6em; gap: 20em; - /* align-items: center; */ color: white; position: relative; } @@ -176,24 +170,19 @@ p { .spotify--app { width: 463px; - + margin-top: 3em; - /* border: 1px solid red; */ } .spotify--app img { width: 100%; - /* border: 1px solid red; */ } .info { display: flex; flex-direction: column; - /* justify-content: space-between; */ - /* align-items: fle; */ gap: 1em; width: 50%; - /* margin: 3em; */ } .info h3 {