View Single Post
Old 05-29-2024, 06:39 PM   #9639
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by johansolo View Post
Is there a way to add that code automatically so later I can tinkering with personal.ini to adjust css?
You can customize the HTML generated for cover.xhtml using the cover_content setting. Changing it to include <link href="stylesheet.css" type="text/css" rel="stylesheet"/> should be easy enough.

See CustomOutput wiki page.

Also, be aware that by default FFF reduces the size of large cover images to a 'reasonable' default:
Code:
[epub]
# ...
## Resize images down to width, height, preserving aspect ratio.
## Nook size, with margin.
image_max_size: 580, 725
Your example already has a smaller image, so it wouldn't matter in that case.
JimmXinu is offline   Reply With Quote