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

[RMT WDPT SEPT 24 ES]ana-molina #3479

Open
wants to merge 4 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
65 changes: 58 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,65 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="styles/style.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
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.
<nav>
<img src="images/spotify-logo.png">
<ul>
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
<header class="header">
<div>
<h1>Music for everyone.</h1>
<h2>Spotify is now free on mobile, tablet and computer.<br> Listen to the right music, wherever you are.</h2>
</div>
</header>
<h3>What’s on Spotify?</h3>
<div class="boxes">
<div class="box">
<img src="images/music-icon.png" alt="music-icon">
<h4>Millions of Songs</h4>
<p>There are millions of songs on Spotify</p>
</div>
<div class="box">
<img src="images/high-quality-icon.png" alt="high-quality-icon">
<h4>HD Music</h4>
<p>Listen to music as if you were listening live</p>
</div>
<div class="box">
<img src="images/devices-icon.png" alt="music-icon">
<h4>Stream Everywhere</h4>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
<div class="green">
<div class="content">
<h3>It’s as yeezy as Kanye West.</h3>
<div class="content-text">
<div class="greenboxes">
<div class="greenbox">
<h4>Search</h4>
<p>Know what you want to listen to?Just search and hit play.</p>
</div>
<div class="greenbox">
<h4>Browse</h4>
<p>Check out the latest charts , brand new releases and great playlists for right now.</p>
</div>
<div class="greenbox">
<h4>Discover</h4>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
</div>
<img class="logo-white" src="images/spotify-icon-white.png" alt="spotify-icon-white">
</div>
</div>
<img class="app" src="images/spotify-app.jpg" alt="spotify-app">
</div>
</body>
</html>
184 changes: 181 additions & 3 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,186 @@
/*
Colors:

Text: 1A1A1A
Text: #1A1A1A
Green: #00B172
White: #FFF

*/

* {
margin: 0;
padding: 0;
}

body {
background-color: #FFF;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
}

/* Títulos principales */
h1 {
font-size: 72px;
color: #FFF;
text-align: center;
margin-bottom: 30px;
}

h2 {
font-size: 24px;
font-weight: 300;
color: #FFF;
text-align: center;
}

h3 {
font-size: 32px;
text-align: center;
text-decoration: solid underline #00B172 3px;
text-underline-offset: 15px;
padding: 5%;
}

h4 {
font-size: 24px;
}

p {
font-size: 20px;
font-weight: 300;
}

nav {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
padding: 20px;
background-color: #FFF;
}

nav img {
max-width: 150px;
height: auto;
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 25px;
}

nav ul li {
color: #1A1A1A;
cursor: pointer;
font-size: 16px;
}

/* Adaptaciones responsive para móviles */
@media (max-width: 768px) {
nav {
flex-direction: column;
align-items: flex-start;
}
}

.header {
background-image: url('../images/landing.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
}

.boxes {
display: flex;
align-items: stretch;
padding: 5%;
gap: 5%;
}

.box {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
gap: 20px;
color: #00B172;
}

.box img {
max-width: 120px;
height: auto;
}

.box p {
color: #1A1A1A;
}

.green {
background-color: #00B172;
color: #FFF;
display: flex;
flex-direction: row;
padding: 80px;
margin-left: 20px;
margin-right: 20px;
align-items: center;
gap: 60px;
}

.green img.app {
max-width: 300px;
height: auto;
}

.green img.logo-white {
max-width: 120px;
height: 120px;
}

.green h3 {
text-decoration: solid underline #fff 3px;
text-align: left;
padding: 0;
}

.green p {
font-size: 18px;
font-weight: 300;
line-height: 32px;
}

.content {
display: flex;
flex-direction: column;
gap: 60px;
}

.content-text {
display: flex;
flex-direction: row;
align-items: center;
gap: 150px;
}

.greenboxes {
display: flex;
flex-direction: column;
gap: 40px;
}

.greenbox {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
text-align: left;
font-size: 16px;
color: #FFF;
}