View Single Post
Old 02-06-2019, 06:18 PM   #1
Lodan
Junior Member
Lodan began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2019
Device: none
Post Calibre PDF Output: Adding Background Rgb colors customization options and Font Color

Hi everyone!

New here.
I have a request for the following feature if possible with PDFs.
Adding Background Rgb colors customization options and
Font Color customization options to the PDF output in Calibre converter


Would be great to have the option to color the background of
the PDF page other than the default white, and if possible too the font color.
It would be of great help to make is easier on the eyes for on screen PDFs reading.

This feature is currently available in
Calibre> Epub viewer> Preferences> User Stylesheet tab.

I use the following background color code within the viewer to read
my epubs and would love to replicate them on my PDFs.

Many thanks for your help.


body {

color: rgb(0,0,0);


background-color:rgb(237,229,206);

text-align:justify;

line-spacing:1.8;

margin-top:10px;

margin-bottom:4px;

margin-right:20px;

margin-left:20px;

text-indent:2em;

}

h1, h2, h3, h4, h5, h6 {

color:black;

text-align:center;

font-style:italic;

font-weight:bold;}


Last edited by Lodan; 02-06-2019 at 06:26 PM.
Lodan is offline   Reply With Quote