Reduce the size of the ebook heading and padding on mobile

A lot of our ebook titles are way too wide on mobile. This reduces the size of the text a bit, but also reduces the padding on either side to give it more room.
This commit is contained in:
Robin Whittleton 2019-10-16 17:04:00 +02:00 committed by Alex Cabal
parent 9221bf93fa
commit f69291c24b

View file

@ -1782,6 +1782,20 @@ main.ebooks nav ol li.highlighted:nth-last-child(2)::after{
font-size: 1rem;
margin: 0;
}
article.ebook > header > div{
margin: 1rem;
padding: 1rem;
max-width: 85%;
}
article.ebook h1{
font-size: 1.5rem;
}
article.ebook > header > div > p{
font-size: 1.2rem;
}
}
@media(max-width: 380px){