Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2017, 06:05 AM   #16
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
tnxs najgori, now i try!
But i use black background, not night theme... is the same?
larysa is offline   Reply With Quote
Old 11-30-2017, 07:50 AM   #17
najgori
Klak
najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'
 
najgori's Avatar
 
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
i havent tried it with black background. only in night mode.
najgori is offline   Reply With Quote
Advert
Old 11-30-2017, 11:52 AM   #18
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Ok work fine!
But have 2 problem:
1) calibre have error on -webkit-text-fill-color
2) more important... all text on ePub have a color!!
larysa is offline   Reply With Quote
Old 12-01-2017, 06:10 AM   #19
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by larysa View Post
Ok work fine!
But have 2 problem:
1) calibre have error on -webkit-text-fill-color
2) more important... all text on ePub have a color!!
The code is not for use with Calibre, but for use with iBooks.
JSWolf is offline   Reply With Quote
Old 12-01-2017, 12:31 PM   #20
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Oh yes, work on iBooks and with calibre isn’t a problem...
The problem is the color on all text on my ePub....!
I want setting color only to one title (with p, not h) and not to all text of book...
This code setting color to all!

Last edited by larysa; 12-01-2017 at 12:46 PM.
larysa is offline   Reply With Quote
Advert
Old 12-01-2017, 03:29 PM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by larysa View Post
Oh yes, work on iBooks and with calibre isn’t a problem...
The problem is the color on all text on my ePub....!
I want setting color only to one title (with p, not h) and not to all text of book...
This code setting color to all!
Code:
.color {
  color: #bd2716;
}
Then use that class with your p and it's class as in <p class="headerclass color"> and you have your text that color.

Last edited by JSWolf; 12-01-2017 at 06:38 PM.
JSWolf is offline   Reply With Quote
Old 12-01-2017, 06:32 PM   #22
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
Code:
.color {
  color: #bd2716;
}
Then use that class with your p and it's class as in <p class=headerclass color> and you have your text that color.
I think you wanted to write <p class="headerclass color">
RbnJrg is offline   Reply With Quote
Old 12-01-2017, 06:38 PM   #23
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
I think you wanted to write <p class="headerclass color">
Thanks for catching that goof. I've fixed it.
JSWolf is offline   Reply With Quote
Old 12-02-2017, 06:21 AM   #24
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Ok now i try this new trick....

But anyway i have solved my problem!
tnxs to najgori i have search on google -webkit-text-fill-color and I’ve find a solution: simple add this sting (only string) on my css:
.title
-webkit-text-fill-color: #bd2716;

and on html <p class=“title”>

or more simple add the string directly on <p style=“-webkit-text-fill-color: #bd2716”
and this work on normal mode and on night mode!!!
larysa is offline   Reply With Quote
Old 12-02-2017, 06:24 AM   #25
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Now calibre find ever an error on cheek book...
It’s possible hide this error on calibre?
larysa is offline   Reply With Quote
Old 12-02-2017, 11:42 AM   #26
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by larysa View Post
Now calibre find ever an error on cheek book...
It’s possible hide this error on calibre?
Nope.
JSWolf is offline   Reply With Quote
Old 12-02-2017, 11:40 PM   #27
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by larysa View Post
Now calibre find ever an error on cheek book...
It’s possible hide this error on calibre?
As Wolfie stated, no.

And presumably, you're only doing this for yourself, so the error isn't a big deal, right?

Hitch
Hitch is offline   Reply With Quote
Old 12-03-2017, 06:07 AM   #28
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Yes it’s my problem with calibre with all ePub with this string...
I hope on future release of calibre add the possibility to hide error messages....

And anyway JSWolf your code at post #21 not work on iBooks night mode...!
larysa is offline   Reply With Quote
Old 12-03-2017, 01:43 PM   #29
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by larysa View Post
Yes it’s my problem with calibre with all ePub with this string...
I hope on future release of calibre add the possibility to hide error messages....

And anyway JSWolf your code at post #21 not work on iBooks night mode...!
Larysa:

OK, well, first, the solutions you have been given are really only for iBooks, right? Secondly, in post #24, I thought you said you'd solved your issue?

And that solution is never going to work with OTHER eReaders, whether software-driven like Calibre or device-driven, like, a Kobo or Nook. The solution that @najgori gave you is iBooks-specific. For now, anyway.

There's no simple CSS solution to an "if/then" like you have. Najgori's current solution is about the best, as far as I know.

So, sorry, but--you solved it, right? Or not?

Hitch
Hitch is offline   Reply With Quote
Old 12-03-2017, 01:54 PM   #30
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Yes solved! I’m only curious for error on calibre, but right on iBooks this string work correctly!
Tanxs to everybody for your support! Regards
larysa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub color text on night mode on iPad larysa Apple Devices 1 11-29-2017 05:54 AM
Aura HD on/off in night mode: white diagonals barutanseijin Kobo Reader 2 10-04-2014 07:55 AM
Text stays black in white on black mode. bizzybody Kindle Formats 7 11-25-2013 07:54 AM
Creating a 'Night Mode' epub for viewing in iBook on an iPad ??? slayda Calibre 2 07-23-2011 04:43 PM
Book doesn't display text in night mode Valkrider Conversion 6 06-18-2011 09:25 AM


All times are GMT -4. The time now is 08:15 PM.


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