08-27-2024, 09:46 PM | #61 | |
Evangelist
Posts: 462
Karma: 41524
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. |
|
08-28-2024, 05:14 PM | #62 | |
Resident Curmudgeon
Posts: 76,994
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
08-28-2024, 06:10 PM | #63 | |
Evangelist
Posts: 462
Karma: 41524
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. |
|
08-28-2024, 08:08 PM | #64 |
Bibliophagist
Posts: 41,347
Karma: 158303864
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.
|
08-28-2024, 08:10 PM | #65 |
Bibliophagist
Posts: 41,347
Karma: 158303864
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.
|
Advert | |
|
08-28-2024, 10:56 PM | #66 | |
Evangelist
Posts: 462
Karma: 41524
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; |
|
08-28-2024, 11:07 PM | #67 | |
Bibliophagist
Posts: 41,347
Karma: 158303864
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; } |
|
08-30-2024, 08:34 AM | #68 |
Evangelist
Posts: 462
Karma: 41524
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. |
09-05-2024, 06:31 PM | #69 |
Evangelist
Posts: 462
Karma: 41524
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; } |
09-05-2024, 06:54 PM | #70 |
Grand Sorcerer
Posts: 11,827
Karma: 232664548
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.
|
09-05-2024, 07:05 PM | #71 | |
Evangelist
Posts: 462
Karma: 41524
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; 09-05-2024 at 08:21 PM. |
|
09-06-2024, 06:28 AM | #72 | |
Resident Curmudgeon
Posts: 76,994
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
a { text-decoration: none; } |
|
09-06-2024, 06:58 AM | #73 | |
Evangelist
Posts: 462
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
EDIT: you can change the color, for example, color: red or color: inherit. Last edited by foosion; 09-06-2024 at 08:01 AM. |
|
09-06-2024, 08:15 AM | #74 |
Resident Curmudgeon
Posts: 76,994
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I guess it's a quirk of the KePub software.
Last edited by JSWolf; 09-06-2024 at 08:49 AM. |
09-06-2024, 08:50 AM | #75 |
Evangelist
Posts: 462
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Another oddity: Occasionally when my Kobos go to sleep book covers will display as text (title and kobo epub) with a surrounding box rather than the expected graphic. This will be after displaying normally for days and without any changes to the device. I use kobo utilities to restore the cover.
Anyone else? Any idea how to prevent this? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.dat in miscellaneous | ottischwenk | Editor | 1 | 01-06-2024 07:45 PM |
Accessories Best display graphics tablet for photo editing? | fanhun | enTourage eDGe | 0 | 06-05-2018 06:15 AM |
File gets moved to Miscellaneous | MerlinMama | Editor | 13 | 01-14-2017 10:19 PM |
Preferences Miscellaneous Tab | adun | EPUBReader | 2 | 07-28-2010 07:06 AM |
Miscellaneous questions ? | bugsbunny14 | iRex | 5 | 09-17-2006 12:40 PM |