![]() |
#271 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 882
Karma: 409970
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Now if Doc thank you very much for the explanation, I needed to adjust some parameters.
Image 1 as I had it. Image 2 after adjustments. Last edited by dunhill; 12-30-2019 at 09:58 PM. |
![]() |
![]() |
![]() |
#272 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2020
Device: naw
|
Footer
Hello. I use this CSS Code
Code:
P{ margin-left: 1.47em !important; margin-right: 1.47em !important; } body { margin-top: 0.70em !important; } Div{ margin-left: 0.25em !important; } *{ color:black !important; } div{ max-width: 90vw !important; } |
![]() |
![]() |
Advert | |
|
![]() |
#273 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
There is nothing you can do but set the top and bottom margins in the layout and not in extra css. |
|
![]() |
![]() |
![]() |
#274 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2020
Device: naw
|
Footer
Quote:
![]() |
|
![]() |
![]() |
![]() |
#275 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Sep 2017
Device: PocketBook
|
a new question: where is stored (in Linux) custom css?
My question is in the title: neither in /home nor in /opt I managed to find my (custom) css code for Calibre Viewer.
Can someone tell me where is it stored? Last edited by duns; 04-02-2020 at 02:02 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#276 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,993
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#277 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Sep 2017
Device: PocketBook
|
what folder is stored custom css
Quote:
Unfortunately custom css, in that file, is "mixed" with many other settings, f.e. the last books opened, what is something again and again changing ... Any way, thanks EDIT I tried to link a css file in that json file (with something like "user_stylesheet": "@import url(/pathto-css-file/mystyle.css);") but unsuccessfully. There is a way to link an external css to that json file? EDIT Found! This code works: "user_stylesheet": "@import url(http://localhost/path/pro-calibre.css);" Excellent! Last edited by duns; 04-02-2020 at 04:17 PM. |
|
![]() |
![]() |
![]() |
#278 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2014
Device: none
|
Is there any way to style the 'Table of Contents' panel in the viewer?
The issue I'm facing in particular is that when I click an entry, the font changes from normal to bold italic and reduces in size thereafter by about 80%, without restoring to it's original size. Is this behaviour intended? Having a mechanism to visually see the sections that have already been visited can potentially be useful, of course, but the reduction in font size creates a strange clash of styles that's quite off-putting. |
![]() |
![]() |
![]() |
#279 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,294
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Whatever section you are currently reading is highlighteb in the table fo contents. And the font styling most defintely restores itself after you move on to the next section.
|
![]() |
![]() |
![]() |
#280 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2014
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#281 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,294
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's rather weird what OS is this??
|
![]() |
![]() |
![]() |
#282 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,294
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In any case, this should take care of it: https://github.com/kovidgoyal/calibr...8f75c44dd7d1d6
|
![]() |
![]() |
![]() |
#283 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2014
Device: none
|
Linux (Arch)
Actually, just this question alone made me consider whether the issue was originating with the fact that I'm using my distro's calibre package. And lo and behold, after switching to the binary install, I can say it (probably) is! I know you generally advise against using distro calibre packages, and I've had my fingers burned by this before when problems I was having with calibre were resolved by using the binary install from the calibre site instead. Well, a lesson learnt (again (for now)). Anyway, thanks for this and for all your ceaseless work on calibre (and now kitty too). You truly are a force for good in this world! |
![]() |
![]() |
![]() |
#284 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,294
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're welcome
![]() |
![]() |
![]() |
![]() |
#285 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2014
Device: none
|
Quote:
Still, no matter, it's certainly working now. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom CSS for output | deckoff | Calibre | 1 | 08-28-2010 11:55 PM |
ePub with custom .css on a 505 | dicknskip | Sony Reader Dev Corner | 3 | 06-09-2010 11:34 PM |
User stylesheets for ePub files | salty-horse | Sony Reader Dev Corner | 12 | 02-23-2010 07:44 AM |
ePub conversion: override existing css with a custom one | sbin | Calibre | 1 | 01-09-2010 04:03 AM |
Calibre's generated css for epub | brewt | Calibre | 7 | 12-29-2008 09:59 AM |