init
This commit is contained in:
commit
7813a44af0
5 changed files with 359 additions and 0 deletions
118
public/index.css
Normal file
118
public/index.css
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
@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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue