You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
676 B
40 lines
676 B
#latest-books { |
|
.books { |
|
align-items: flex-start; |
|
} |
|
} |
|
|
|
.featured_book { |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: space-between; |
|
width: 100%; |
|
height: 100%; |
|
border: solid 1px var(--accent); |
|
margin: 0 0 2rem; |
|
|
|
&__cover { |
|
aspect-ratio: 3 / 4; |
|
width: 100%; |
|
background-repeat: no-repeat; |
|
background-size: cover; |
|
background-position: center; |
|
min-height: 17rem; |
|
} |
|
|
|
a { |
|
margin: 0; |
|
text-decoration: none; |
|
text-align: center; |
|
hyphens: auto; |
|
} |
|
|
|
&__title { |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
font-weight: 500; |
|
margin-top: 1rem; |
|
min-height: 4rem; |
|
} |
|
}
|
|
|