![]() |
#61 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
I have noticed that there is a tremendous variety in the number of CSS entries (and corresponding complexity) in ebooks and more complex tends to mean more things I don't like. YMMV. |
|
![]() |
![]() |
![]() |
#62 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,739
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#63 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
I'm amazed at how many unused classes there are in some books. I suppose some publishers, or some software, has a standard large number of classes for all CSS, then just uses whatever may be desirable. |
|
![]() |
![]() |
![]() |
#64 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,054
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Most publishers have a stock stylesheet or three which are used in every book. Since most publishers do not remove unused stylesheet entries before ending the editing process, those entries will be there for our amusement.
|
![]() |
![]() |
![]() |
#65 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,054
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Personally, I remove all the text-align: justify; entries from the stylesheet and use a single text-align: left; in the body style.
|
![]() |
![]() |
![]() |
#66 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Code:
body { text-align: left; } perhaps including in body: Code:
font-size: normal; margin: 0 0 0 0; padding: 0; |
|
![]() |
![]() |
![]() |
#67 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,054
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
body { display: block; font-size: 1em; margin: 0 0 0 0; padding: 0 0 0 0; text-align: left; text-indent: 0; widows: 1; orphans: 1; } |
|
![]() |
![]() |
![]() |
#68 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
For whatever it's worth, it seems easiest for me to have my Kobo set to left justification. If there are issues with centering that I notice, then it's easier to turn off justification and, if necessary, edit as you suggest.
I find it odd that <center> works, while things such as <p class="center-style"> do not in kepub files, but rendering oddities are no longer a surprise. |
![]() |
![]() |
![]() |
#69 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
"a href" defaults to blue underline. The following removes the underline in an epub using the Calibre viewer, but not for a kepub on my Kobo. How do I remove the underline?
Code:
a:link, a:visited, a:hover, a:active { text-decoration: none; } |
![]() |
![]() |
![]() |
#70 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,046
Karma: 227000002
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
I think there's a patch for it, but I don't use that patch myself, so no idea how well it works.
|
![]() |
![]() |
![]() |
#71 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
EDIT: Un-force link decoration in KePubs: in libnickel.so.1.0.0.yaml fixes the problem. EDIT 2: The patch does not just unforce the link decoration, it sets the default to black with no underline. If you want an underline or color you have to set that explicitly. Last edited by foosion; Yesterday at 07:21 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
.dat in miscellaneous | ottischwenk | Editor | 1 | 01-06-2024 06:45 PM |
Accessories Best display graphics tablet for photo editing? | fanhun | enTourage eDGe | 0 | 06-05-2018 05:15 AM |
File gets moved to Miscellaneous | MerlinMama | Editor | 13 | 01-14-2017 09:19 PM |
Preferences Miscellaneous Tab | adun | EPUBReader | 2 | 07-28-2010 06:06 AM |
Miscellaneous questions ? | bugsbunny14 | iRex | 5 | 09-17-2006 11:40 AM |