Style reviews
This commit is contained in:
parent
4a261ec67a
commit
b41b2bac3d
7 changed files with 56 additions and 12 deletions
46
static/review.css
Normal file
46
static/review.css
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.review {
|
||||
max-width: 800px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.review-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 30px;
|
||||
margin: 30px 0;
|
||||
}
|
||||
|
||||
.review-header h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.review-poster {
|
||||
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;
|
||||
}
|
||||
|
||||
.core-review {
|
||||
margin: 30px 10px;
|
||||
}
|
||||
.core-review p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.core-review h2,h3,h4,h5 {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue