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;
|
z-index: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
object-fit: cover;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
article.ebook section#details ul{
|
article.ebook section#details ul{
|
||||||
|
@ -885,6 +887,10 @@ article.ebook h1{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article.ebook h2{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
aside#reading-ease,
|
aside#reading-ease,
|
||||||
section#description{
|
section#description{
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue