1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00
smov/src/components/MovieRow.css

56 lines
917 B
CSS
Raw Normal View History

2021-07-14 00:31:37 +02:00
.movieRow {
display: flex;
border-radius: 5px;
background-color: #35363D;
color: white;
padding: .8rem 1.5rem;
margin-top: .5rem;
cursor: pointer;
transition: transform 50ms ease-in-out;
user-select: none;
}
.movieRow p {
margin: 0;
}
.movieRow .left {
flex: 1;
display: flex;
align-items: flex-start;
}
.movieRow .watch {
color: #D678B7;
display: flex;
align-items: center;
}
.movieRow .watch .arrow {
margin-left: .5rem;
transition: transform 50ms ease-in-out;
transform: translateY(.1rem);
}
.movieRow:active {
transform: scale(1.02);
}
.movieRow:hover {
background-color: #3A3B40;
}
.movieRow:hover .watch .arrow {
transform: translateX(.3rem) translateY(.1rem);
2021-07-14 00:57:31 +02:00
}
@media screen and (max-width: 400px) {
.movieRow {
flex-direction: column;
}
.movieRow .watch {
margin-top: .5rem;
}
}