Skip to content

Commit

Permalink
design changes in popular category play song done (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarnibalgoher5 authored Jan 17, 2024
1 parent c5aa17d commit 5e3949d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 43 deletions.
18 changes: 11 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -474,15 +474,15 @@ <h3 id="bestofartist"> Best Of Artists </h3>
<div class="main_div hidden" id="main_div">
<div id="particles-js"></div>

<div class="main-img_container">
<div class="img_container" id="songimage">
<img src="songs-images/AtifAslam/DekhteDekhte.jpg" class="songimg" id="songimg" />
</div></div>
<div class="music_container">

<h2 id="title">songtitle</h2>
<h3>
<marquee id="artist">artists</marquee>
</h3>
<div class="img_container" id="songimage">
<img src="songs-images/AtifAslam/DekhteDekhte.jpg" class="songimg" id="songimg" />
</div>


<audio src="songs-images/AtifAslam/DekhteDekhte.mp3"></audio>
<!-- progress-bar -->
<div class="progress_container" id="progress_container">
Expand All @@ -494,6 +494,10 @@ <h3>
<!-- <div class="progress_div" id="progress_div">
<div class="progress" id="progress"></div>
</div> -->
<!-- artists name -->
<h3>
<marquee id="artist">artists</marquee>
</h3>
</div>

<!-- controls -->
Expand All @@ -508,7 +512,7 @@ <h3>
<input type="checkbox" id="likeToggle" />
<label for="likeToggle" class="like_icon"></label>
</div>
<div class="download_controls">
<div class="download_controls">
<div class="fa fa-download download_button" id="download" title="Download Music"></div>
</div>
</div>
Expand Down
66 changes: 30 additions & 36 deletions swetify.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,24 +702,27 @@ footer .top:hover {
}

.music_container {
width: 40rem;
height: 63rem;
width:80%;
height:100%;
background-color: #000000;
border-radius: 2rem;
box-shadow: 1.2rem 1.2rem rgba(0, 0, 0, 0.2);
padding: 2rem;
text-align: center;
position: relative;
margin-left:20%;
margin-top: 0%;
padding:0% 0% 0% 2rem;

}

.music_container #title {
text-transform: uppercase;
letter-spacing: 0.2rem;
word-spacing: 0.5rem;
color: #b3b3b3;
margin: 2rem 0 0.5rem 0;
margin: 5px 0 0 0 ;
font-size: 2.3rem;
font-weight: bold;
padding-top: 0;
text-shadow: 0 3px 10px 2.5rem rgba(0, 0, 0, 0.7);
}

Expand All @@ -728,16 +731,10 @@ footer .top:hover {
text-transform: capitalize;
letter-spacing: 0.1rem;
font-size: 2rem;
margin-bottom: 4rem;
margin-bottom: 0;
font-weight: 300;
}

.img_container {
width: 28rem;
height: 28rem;
margin: auto;
}

.songimg {
width: 100%;
height: 100%;
Expand All @@ -752,23 +749,29 @@ footer .top:hover {
width: 29rem;
display: flex;
margin: auto;
margin-top: 2rem;
justify-content: space-around;
align-items: center;
padding-top: 0;
padding-bottom: 10px;
margin-top: 0;
}

.progress_container h3{
margin-bottom: 0;
}
.download_controls {
position: absolute;
position: relative;
bottom: 7px;
right: 10px;
padding: 1rem;
padding: 1.75rem 1rem 0rem 1rem;
}

.music_controls .fa {
color: #919191;
font-size: 2rem;
cursor: pointer;
filter: drop-shadow(0 1.2rem 3rem 0.5rem rgba(0, 0, 0, 0.4));
padding-top: 0;
margin-top: 0;
}

.download_controls .fa {
Expand Down Expand Up @@ -918,8 +921,8 @@ input[type="checkbox"]:checked+.like_icon {
.progress_container {
width: 100%;
height: auto;
padding: 1rem;
margin-top: 1rem;
padding: 1rem 1rem 0 1rem;
margin-top:0;
}

.progress_div {
Expand Down Expand Up @@ -1168,11 +1171,6 @@ input[type="checkbox"]:checked+.like_icon {
opacity: 1;
}

.music_container {
width: 30rem;
height: 53rem;
background-color: #000000;
}

.footer {
height: 300px;
Expand Down Expand Up @@ -1238,30 +1236,26 @@ input[type="checkbox"]:checked+.like_icon {
}
}

.music_container #title {
text-transform: uppercase;
letter-spacing: 0.2rem;
word-spacing: 0.5rem;
color: #ffffff;
margin: 2rem 0 0.5rem 0;
font-size: 2.3rem;
font-weight: bold;

}

.music_container #artist {
color: white;
text-transform: capitalize;
letter-spacing: 0.1rem;
font-size: 1.7rem;
margin-bottom: 3rem;
margin-bottom: 0rem;
font-weight: 300;
}
}

.main-img_container{
margin:auto auto 0 auto;
}

.img_container {
position: relative;
left: 50%;
width: 28rem;
height: 28rem;
margin: auto;
margin: 35% 10% 5% auto;
}

/******Super Extra Small Devices Only*****/
Expand Down

0 comments on commit 5e3949d

Please sign in to comment.