mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
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:
parent
9221bf93fa
commit
f69291c24b
1 changed files with 14 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue