109 lines
1.9 KiB
SCSS
109 lines
1.9 KiB
SCSS
|
|
#trackArt {
|
|
overflow-x: hidden;
|
|
flex: 1 1 50%;
|
|
min-width: 512px;
|
|
height: 100vh;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-size: 100%;
|
|
background: rgb(31,23,41);
|
|
background: linear-gradient(180deg, rgba(31,23,41,1) 26%, rgba(56,255,89,0.25) 100%);
|
|
-moz-transition: background-size 2s ease-in-out;
|
|
-webkit-transition: background-size 2s ease-in-out;
|
|
-ms-transition: background-size 2s ease-in-out;
|
|
transition: background-size 2s ease-in-out;
|
|
> section {
|
|
position: absolute;
|
|
height: 100vh;
|
|
width: 50%;
|
|
background: transparent;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: center;
|
|
> * {
|
|
margin: 40px;
|
|
}
|
|
|
|
}
|
|
.coverartwrapper {
|
|
|
|
margin-top: 120px;
|
|
margin-left: 50%;
|
|
translate: -50%;
|
|
|
|
width: 50%;
|
|
padding-top: 50%; /* 1:1 Aspect Ratio */
|
|
position: relative; /* If you want text inside of it */
|
|
}
|
|
.coverartwrapped {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
border-radius: 100%;
|
|
padding-bottom: 0;
|
|
background-size: cover;
|
|
}
|
|
.playbutton {
|
|
cursor: pointer;
|
|
justify-self: center;
|
|
}
|
|
|
|
}
|
|
#trackInfo {
|
|
flex: 1 1 50%;
|
|
|
|
height:100vh;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
section {
|
|
text-align: left;
|
|
> * {
|
|
margin: 20px;
|
|
}
|
|
.info {
|
|
margin: 20px;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.post-nav-next {
|
|
text-align: right;
|
|
}
|
|
.post-nav {
|
|
text-align: left;
|
|
}
|
|
|
|
}
|
|
.playerlogo {
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1023px) {
|
|
#trackArt {
|
|
height: 80vh;
|
|
min-width: 100%;
|
|
section {
|
|
position: absolute;
|
|
top: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 80vh;
|
|
}
|
|
}
|
|
#trackInfo {
|
|
height: unset;
|
|
overflow-y: unset;
|
|
}
|
|
|
|
}
|
|
|
|
.bouncer {
|
|
-webkit-animation: backgroundSize 10s ease infinite;
|
|
-moz-animation: backgroundSize 10s ease infinite;
|
|
animation: backgroundSize 10s ease infinite;
|
|
} |