![]() |
#1 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,424
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
KoboTouch driver extra CSS in calibre 8
Would it be possible to modify the extra CSS in the KoboTouch driver for calibre 8 to allow us to have different CSS based on ePub or KePub? Thanks.
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,260
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
With a bit of creativity, you can (sort of) do this already using the existing single override file, kobo_extra.css.
For example, by taking advantage of the "special Kobo <div>s" which have traditionally been injected during the on-the-fly epub --> kepub transformation: Code:
/* Put all your epub-specific CSS rules first */ div#book-columns > div#book-inner { /* Put all your kepub-specific CSS rules here */ } How well it works may depend on what kind of CSS differences you want for epub vs. kepub. Last edited by jackie_w; Yesterday at 05:37 PM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Device Plugin] KoboTouch - Metaguide Driver (intellireading) | 0x6f677548 | Plugins | 13 | 09-10-2025 08:16 AM |
KoboTouch driver & SeriesID | ownedbycats | Devices | 36 | 07-07-2024 12:12 PM |
Bug with Subtitle in KoboTouch Driver 2.5.1 | JSWolf | Devices | 2 | 01-01-2021 09:35 AM |
[Device Plugin]KoboTouch driver for calibre 1.48 | davidfor | Plugins | 4 | 12-27-2015 06:03 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |