Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-18-2012, 06:23 AM   #1
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Inserted Metadata Page Header Background

Calibre version 8.60 (and also version 8.58).
Nook Tablet Night and Mocha Themes (white text color on darker background)

The inserted metadata page header (the box at the top with the title, author, series, publisher & date) now has a light grey background, so it is unreadable because of white text color.

Whichever Calibre version I was using on May 13, 2012, worked correctly with white text After that date I started using the Modify ePub plug-in, but just recently the plug-in started inserting the metadata page in front of the cover again (instead of after the cover) so I did some conversions, and this glitch came up.
paw3pals is offline   Reply With Quote
Old 07-18-2012, 06:47 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by paw3pals View Post
The inserted metadata page header (the box at the top with the title, author, series, publisher & date) now has a light grey background, so it is unreadable because of white text color.
You can edit the css for this under \Calibre Settings\resources\jacket\stylesheet.css and alter or eliminate the background color of the jacket added to the book.
DoctorOhh is online now   Reply With Quote
Old 07-18-2012, 07:51 AM   #3
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Thank you, but I don't want to mess with the program itself without very detailed instructions. I don't know enough and am not conversant in CSS.

I did find the stylesheet.css (in program files\calibre) and "background #eee" but what is needed as a property is transparency, isn't it? And is that the only reference to background color in the stylesheet?

Quote:
Originally Posted by dwanthny View Post
You can edit the css for this under \Calibre Settings\resources\jacket\stylesheet.css and alter or eliminate the background color of the jacket added to the book.
paw3pals is offline   Reply With Quote
Old 07-18-2012, 07:59 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by paw3pals View Post
I did find the stylesheet.css (in program files\calibre) and "background #eee" but what is needed as a property is transparency, isn't it? And is that the only reference to background color in the stylesheet?
Just copy the css file somewhere safe then experiment with 1 book. I think removing the line that has the #eee should give you what you want. The worst that could happen is you mess it up and copy the original css back in place.
DoctorOhh is online now   Reply With Quote
Old 07-18-2012, 10:47 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The CSS lines that affect color all have color as part of the element. All you have to do is figure which selector is being used for the color you want to change.

Colors can be specified as Hexadecimal (#eee) or (for the 16 basic ones)their color name (black, grey, red, blue...)
for the Jacket page, this seems to bee the one
Code:
.cbjbanner {
    -webkit-border-radius: 8px;
    background: #eee;
    border: thin solid black;
    display: block;
    margin-bottom: 0.5em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0.5em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em
    }
theducks is offline   Reply With Quote
Old 07-22-2012, 04:15 AM   #6
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
I removed only the "#eee" and left the "background" and it seems to have worked. thanx.

Quote:
Originally Posted by dwanthny View Post
Just copy the css file somewhere safe then experiment with 1 book. I think removing the line that has the #eee should give you what you want. The worst that could happen is you mess it up and copy the original css back in place.
paw3pals is offline   Reply With Quote
Old 07-22-2012, 09:17 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by paw3pals View Post
I removed only the "#eee" and left the "background" and it seems to have worked. thanx.
I think it would be better to remove the entire line, you don't know what other devices will do with a missing (error) value or just set it to white
theducks is offline   Reply With Quote
Old 07-23-2012, 12:05 AM   #8
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
White would be no good, as the text is white. There either needs to be a way to have the background transparent or to make the text within black.

I will try eliminating background and see if it still works. thanx.

Quote:
Originally Posted by theducks View Post
I think it would be better to remove the entire line, you don't know what other devices will do with a missing (error) value or just set it to white
paw3pals is offline   Reply With Quote
Old 07-23-2012, 12:11 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by paw3pals View Post
I will try eliminating background and see if it still works. thanx.
All theducks or I suggested was removing the line from your css. It is not needed.
DoctorOhh is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A page background color for less eyestrain? racsw Library Management 13 03-01-2011 12:15 PM
Regexp and Alternate Page Header/Footer adad Calibre 5 01-15-2011 09:03 PM
Easy Way to Remove Inserted Metadata Page? AgentBEATS Calibre 6 06-02-2010 09:08 PM
epub to pdf conversion: blank page inserted before any section Nicoo Calibre 0 12-06-2009 06:10 PM
Odd and Even page Header Settings RajeshKumar Sony Reader 11 05-18-2007 10:16 AM


All times are GMT -4. The time now is 01:36 PM.


MobileRead.com is a privately owned, operated and funded community.