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

Browse podcasts feature #60

Open
wants to merge 1 commit into
base: main
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
16 changes: 15 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</div>
Create Playlist
</button>

<button>
<div class="heart_bttn">
<svg role="img" height="12" width="12" aria-hidden="true" viewBox="0 0 16 16">
Expand All @@ -87,6 +87,20 @@
</div>
Liked Songs
</button>
<div class="translucent-rectangle">
<div class ="sub-text1">Let's find some podcasts to follow</div>


<div class ="sub-text2">We'll keep you updated on new episodes</div>

<button onclick="window.location.href='https://open.spotify.com/genre/podcasts-web'">
<div class="pc_button">
Browse podcasts
</div>
</button>

</div>

</div>

<!-- End of side bar-->
Expand Down
50 changes: 49 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ body,
}

#principal #latNav {
max-width: 246px;
max-width: 320px;
background-color: #0a0a0a;
}

Expand Down Expand Up @@ -773,3 +773,51 @@ body,
display: flex;
flex-direction: column;
}

.translucent-rectangle {
position: relative;
width: 295px;
height: 150px;
background-color: rgba(179, 179, 179, 0.2); /* Adjust the last value for transparency */
border-radius: 20px; /* Adjust the value for corner radius */
padding-top: 3px;
padding-left: 10px;
margin-left: 10px;
margin-top: 20px;
}
.sub-text1{
margin-left: 5px;
margin-top: 10px;
font-size: 1em;
font-weight: bold;

}
.sub-text2{
margin-left: 5px;
margin-top: 10px;
font-size: 0.9em;
}
.pc_button {
display: inline-block;
padding: 8px 18px;
margin-top: 15px;
margin-left: -20px; /* Adjusted margin */
font-size: 14px;

text-align: center;
text-decoration: none;
border: none;
border-radius: 20px;
background-color: #ffffff;
color: #000000;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}

.pc_button:hover {
background-color: #f0f0f0;
transform: scale(1.05);
}