- Create /music landing page with artist grid - Add /music/Darnea artist page with album listing - Build /music/Darnea/DGDN album player with clickable tracklist - Auto-play next track on completion - Dangrubb-branded styling with cyan accent colors - FLAC player pulls from /src/audio/DGDN - Move landing page links to bottom with yellow announcement box
140 lines
2.1 KiB
CSS
140 lines
2.1 KiB
CSS
/* Album Player */
|
|
|
|
.album-player {
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.album-header {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin-bottom: 40px;
|
|
padding: 30px;
|
|
background: rgba(107, 225, 233, 0.05);
|
|
border-radius: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.album-artwork {
|
|
font-size: 5rem;
|
|
min-width: 150px;
|
|
text-align: center;
|
|
}
|
|
|
|
.album-info h2 {
|
|
margin: 0 0 5px 0;
|
|
font-size: 2rem;
|
|
color: #9d9aa4;
|
|
}
|
|
|
|
.album-info .artist-name {
|
|
margin: 0 0 5px 0;
|
|
color: #6be1e9;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.album-info .album-desc {
|
|
margin: 0;
|
|
color: #6be1e9;
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Now Playing */
|
|
.now-playing {
|
|
text-align: center;
|
|
padding: 20px;
|
|
background: rgba(107, 225, 233, 0.1);
|
|
border: 1px solid rgba(107, 225, 233, 0.3);
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
min-height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.now-playing p {
|
|
margin: 0;
|
|
color: #9d9aa4;
|
|
}
|
|
|
|
.now-playing.playing p {
|
|
color: #6be1e9;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Audio Player */
|
|
#audio-player {
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
accent-color: #6be1e9;
|
|
}
|
|
|
|
/* Tracklist */
|
|
.tracklist {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.tracklist h3 {
|
|
margin: 0 0 20px 0;
|
|
font-size: 1.3rem;
|
|
color: #9d9aa4;
|
|
}
|
|
|
|
.tracklist ol {
|
|
list-style-position: inside;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.tracklist li {
|
|
padding: 12px;
|
|
margin-bottom: 8px;
|
|
background: rgba(157, 154, 164, 0.05);
|
|
border: 1px solid rgba(107, 225, 233, 0.2);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
color: #9d9aa4;
|
|
}
|
|
|
|
.tracklist li:hover {
|
|
background: rgba(107, 225, 233, 0.1);
|
|
border-color: rgba(107, 225, 233, 0.5);
|
|
}
|
|
|
|
.tracklist li.active {
|
|
background: rgba(107, 225, 233, 0.2);
|
|
border-color: #6be1e9;
|
|
color: #6be1e9;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.track-duration {
|
|
float: right;
|
|
color: #6be1e9;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.album-header {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.album-artwork {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.album-info h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.tracklist li {
|
|
padding: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|