View Single Post
Old 09-26-2020, 01:21 PM   #9
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,219
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by bookgobrrr View Post
Ok so I changed *all* instances of where I saw "color: rgb(0,0,0);" to read color: inherit;

There were also other some rgb values.

This seemed to have done the trick! Thanks.
You figured it out while I was typing.

Quote:
Originally Posted by bookgobrrr View Post
Now I just want to find out how to makes images responsive... Any tips on how to make .epub's as adaptable as possible?
One good way to have your images adapting to the screen size is to use a value in percentage, like this:

Code:
img.big {
   width: 100%;
   height: auto;
}
Code:
img.small {
   width: 30%;
   height: auto;
}
You define only the width and let it adjust automatically the height, to avoid distortions.

Last edited by thiago.eec; 09-26-2020 at 01:27 PM.
thiago.eec is online now   Reply With Quote