top2000/public/index.css
2025-12-26 01:04:35 +01:00

118 lines
1.5 KiB
CSS

@import"https://fonts.googleapis.com/css?family=Work+Sans:400,500,600,700,800,900";
body {
background-color: #262626;
margin: 20px;
color: #ffffff;
overflow: clip;
font-family:Work Sans,sans-serif;
}
.columns {
display: flex;
flex-direction: columns;
justify-content: space-between;
}
#title {
max-width: 500px;
}
/* --- Left column --- */
.song {
position: relative;
}
#song-image {
width: 500px;
height: 500px;
border-radius: 20px;
}
#song-diff {
font-size: 2rem;
padding: 16px;
min-width: 80px;
height: 40px;
border-radius: 20px;
border: 1px solid black;
position: absolute;
top: 0;
right: 0;
margin: 10px;
text-align: center;
}
#song-diff.stale {
background-color: gray;
}
#song-diff.risen {
background-color: green;
}
#song-diff.fallen {
background-color: red;
}
/* --- Middle column --- */
.left-divide {
display: flex;
justify-content: space-around;
}
.song-stats {
margin-left: 100px;
}
.artist-info p {
margin: 0;
padding: 0;
}
/* --- Right column --- */
#queue {
width: 700px;
}
.queue-item {
display: flex;
margin: 5px;
}
.queue-item .song-title {
font-size: 2rem;
margin-left: 20px;
}
.queue-item .song-artist {
font-size: 1.5rem;
margin-left: 20px;
color: #ccc;
}
.queue-item .song-time {
text-align: right;
margin-right: 10px;
font-size: 1.5rem;
}
.queue-right-wrapper {
width: 100%;
}
.queue-item p {
margin: 0;
padding: 0;
}
.queue-image {
height: 100px;
width: 100px;
}
.queue-item.playing {
background-color: #1a1a1a;
}