Selector/Selector.Web/CSS/now.scss

72 lines
1015 B
SCSS
Raw Normal View History

2021-11-11 19:54:28 +00:00
.app {
display: block;
}
.card {
background-color: grey;
color: white;
margin: 5px;
2021-11-11 19:54:28 +00:00
padding: 15px;
box-shadow: 4px 4px 2px #5e5e5e;
transition: box-shadow 0.5s;
&:hover {
box-shadow: none;
offset: 4px 4px;
}
}
.now-playing-card {
// max-width: 300px;
text-shadow: 2px 2px 2px #5e5e5e;
.cover-art {
box-shadow: 4px 4px 2px #5e5e5e;
2021-11-11 19:54:28 +00:00
margin-bottom: 15px;
}
img {
// margin: 15px;
}
2021-11-11 19:54:28 +00:00
}
.info-card {
margin-top: 10px;
margin-bottom: 10px;
img {
2021-11-11 19:54:28 +00:00
// margin: 15px;
}
}
@media only screen and (min-width: 768px) {
2021-11-11 19:54:28 +00:00
.app {
display: flex;
align-items: flex-start;
}
.now-playing-card {
position: fixed;
2021-11-11 19:54:28 +00:00
z-index: 10;
right: 20px;
bottom: 20px;
2021-11-11 19:54:28 +00:00
width: 250px;
}
}
@media only screen and (min-width: 768px) {
.info-card {
max-width: 300px;
}
}
.spotify-logo {
width: 21px;
img {
width: 21px;
}
}