From a278516e42c55205f8f91239f5bd6e4b6307259e Mon Sep 17 00:00:00 2001 From: "eslahkonha.mona@gmail.com" Date: Mon, 30 Sep 2024 23:44:11 +0200 Subject: [PATCH 1/2] css updated&html section added --- index.html | 126 +++++++++++++++++++++++++++++++++++++------ styles/style.css | 137 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index 0697f92fe..6b6041fd4 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,112 @@ - - - - - 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. - - + + + + + + Spotify Clone + + + + + + + +
+
+

+ 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. + + +
+
+ +
+
+
+ +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 55efb32c6..790fda4e0 100644 --- a/styles/style.css +++ b/styles/style.css @@ -6,3 +6,140 @@ Green: #00B172 White: #FFF */ +body, +h1, +h2, +h3, +h4, +h5, +h6, +p, +ol, +ul { + margin: 0; + padding: 0; + font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif; +} +body { + font-size: 18px; + color: #1a1a1a; +} +/* ************* */ +/* Class Selectors */ +/* ************ */ +.navbar { + display: flex; + justify-content: space-between; + margin: 0 2rem; + height: 70px; + justify-items: center; + align-items: center; +} +.header-main { + background-image: url('../images/landing.jpg'); + height: 800px; + background-repeat: no-repeat; + background-size: cover; + display: flex; + justify-items: center; + justify-content: center; + align-items: center; + color: #ffff; +} +.feature { + margin: 2rem auto; +} +.feature-card { + display: flex; + justify-content: space-around; +} +.card { + text-align: center; + max-width: 200px; +} +.music-feature { + background-color: #00b172; + display: flex; + justify-content: space-between; + padding: 40px; +} +.spotify-card { + width: 60%; + color: #fff; + text-align: left; +} + +.spotify-app { + width: 40%; +} +.app-card { + display: flex; + flex-direction: column; +} +.spotify-card-app { + display: flex; + justify-content: space-between; +} +/* *********Descendant*********** */ +.navbar img { + width: 180px; +} +nav a { + text-decoration: none; + color: #1a1a1a; + margin: 0 5px; +} +.header-main div { + text-align: center; +} +.header-main h1 { + font-size: 40px; +} +.feature h2 { + text-align: center; + border-bottom: 3px solid #00b172; + width: 250px; + margin: auto; + margin-bottom: 1rem; +} +.card img { + width: 90px; +} +.feature-card .card p { + color: #00b172; + font-size: 25px; + font-weight: 600; +} +.card span { + font-weight: 100; +} +.spotify-card h3 { + border-bottom: 3px solid #fff; + width: 350px; + font-size: 25px; + margin-bottom: 1rem; +} +.spotify-app img { + max-width: 400px; + height: 500px; +} + +.spotify-card-app img { + width: 130px; + height: 130px; + margin: auto 0; + margin-right: 90px; +} +.app-card .card { + text-align: left; + min-width: 250px; +} +.app-card .card p { + font-size: 25px; + margin: 20px 0; + font-weight: 600; +} +.app-card .card { + font-weight: 100; + line-height: 1.5; +} From 621c838c2c6b5ecd0119d3c63dec3c64ae8ebb4b Mon Sep 17 00:00:00 2001 From: "eslahkonha.mona@gmail.com" Date: Mon, 30 Sep 2024 23:47:58 +0200 Subject: [PATCH 2/2] update navbar git push origin master --- styles/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/style.css b/styles/style.css index 790fda4e0..75e1afa29 100644 --- a/styles/style.css +++ b/styles/style.css @@ -34,6 +34,8 @@ body { height: 70px; justify-items: center; align-items: center; + position: fixed; + width: 100%; } .header-main { background-image: url('../images/landing.jpg');