Makes album covers resize nicely with viewport

This commit is contained in:
aarbit 2024-06-02 23:59:33 -05:00
parent fba3c58a8f
commit c542b34932

View File

@ -1,17 +1,17 @@
#root {
margin: 0 auto;
padding: 2rem;
padding: 0rem;
text-align: center;
}
.photoContainer {
width: 150px;
height: 150px;
width: clamp(5vmin, 15vmin, 25vmin);
height: clamp(5vmin, 15vmin, 25vmin);
}
.photo {
width: 150px;
height: 150px;
width: clamp(5vmin, 15vmin, 25vmin);
height: clamp(5vmin, 15vmin, 25vmin);
}
.photo:hover {
@ -22,6 +22,8 @@
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.player-position {