45 lines
703 B
CSS
45 lines
703 B
CSS
.review {
|
|
max-width: calc(70ch + 60px);
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.review-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 30px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.review-header h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
.review-poster {
|
|
position: relative;
|
|
aspect-ratio: 1/1;
|
|
flex-basis: 200px;
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.review-poster > img {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.review-favorite {
|
|
position: absolute;
|
|
display: flex;
|
|
right: 10px;
|
|
top: 10px;
|
|
padding: 10px;
|
|
background: rgba(255,255,255,0.25);
|
|
border-radius: 100%;
|
|
}
|