mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Fix off-center ebook author and hero images on small screens
This commit is contained in:
parent
fdfd9fb97b
commit
128c701074
1 changed files with 6 additions and 0 deletions
|
@ -695,6 +695,8 @@ article.ebook > header img{
|
|||
z-index: 0;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
object-fit: cover;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
article.ebook section#details ul{
|
||||
|
@ -885,6 +887,10 @@ article.ebook h1{
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
article.ebook h2{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
aside#reading-ease,
|
||||
section#description{
|
||||
margin-top: 2rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue