Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2019, 02:18 AM   #1
nqk
Addict
nqk doesn't litternqk doesn't litter
 
Posts: 310
Karma: 130
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Visited link color and Cover size and...

Dear Kovid,

1) The visited link color now is black (same color as normal text), should be red or something? As far as I remember, it was red. (Book Details window)

2) Is it possible to have the cover width/height automatically stretched to width/height of the device on portrait and landscape mode, respectively? (Several cover images are now much smaller (resolution) than the Android screen). (Book Details window)

3) A vertical scroll bar now appears on the screen while reading (required me to tap OK without the 'Show a scrollbar' ticked to deactivate it). But it seems you have fixed it already. (reading on page mode)

4) I took your advice on the other thread to apply .book-content-popup-container * {display: block;} to overwrite the footnote hiding, but it doesn't have any effect, hence, the pop-up is still blank. (user defined css in Styles window)


Last edited by nqk; 10-16-2019 at 02:27 AM.
nqk is offline   Reply With Quote
Old 10-16-2019, 05:18 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,499
Karma: 12737927
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1. no i dont think it was ever red. May have been purple at one time. But I decided there is not much point in having it. After all knowing you have searched before for tag X or Author Y is not very useful

2. See the option under Page Layout

3. yes fixed in next release

4. Add !important and use the inspector to check
kovidgoyal is offline   Reply With Quote
Old 10-17-2019, 06:32 AM   #3
nqk
Addict
nqk doesn't litternqk doesn't litter
 
Posts: 310
Karma: 130
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
2. See the option under Page Layout
There is this: Preserve cover aspect ratio (checked).

I indeed want to keep the aspect ratio. And I want the cover (if small) to fill the width of my phone screen (portrait). It looks like the cover can be REDUCED to the screen width if it is bigger.


Quote:
Originally Posted by kovidgoyal View Post
4. Add !important and use the inspector to check
This is the footnote test file. I set [epub|type~="footnote"] { display: none;} in the css. As a result, the popup footnote is blank/hidden.


I use the Inspector and locate the source. It was replaced by Calibre to role="doc-footnote", the value is still display: none; I change this "none" to anything else in the Inspector, and it works. The popup container now shows the content.





However, when I copy the [role~="doc-footnote"] { display: block; } to user-defined css window, it forces even the hidden footnote to show on the body.



I tried to use

Code:
#content-iframe-1 > [role~="doc-footnote"] {
    display: block !important;
    }
or

Code:
.book-content-popup-container > [role~="doc-footnote"] {
    display: block !important;
    }
or
Code:
.book-content-popup-container * {
    display: block !important;
    }
but it came back to the original state where the footnote popup is blank.
nqk is offline   Reply With Quote
Old 10-17-2019, 06:57 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,499
Karma: 12737927
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, I am not really a fan of blowing up small images, makes them blurry, so there is no option to do that. As for the popup footnote, wait for the next release, as I have removed the mapping of epub:type to role, then use

Code:
@namespace epub url(http://www.idpf.org/2007/ops);

[epub|type="footnote] { display: none }
.calibre-footnote-container [epub|type="footnote] { display: block }
kovidgoyal is offline   Reply With Quote
Old 10-17-2019, 07:52 AM   #5
nqk
Addict
nqk doesn't litternqk doesn't litter
 
Posts: 310
Karma: 130
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
Yeah, I am not really a fan of blowing up small images, makes them blurry, so there is no option to do that.
Yet you added arrows to the top corners of the cover. They are supposed to be on the edges of the screen, aren't they?


Moderator Notice
Inline images are limited to 600x600. Moved to ATACHMENT


PS: Am I the only one using the Content Server to read epubs on phone? I rarely read on PC screen.
Attached Thumbnails
Click image for larger version

Name:	79c90ddf95b28401aee5fc4a31697d33.jpg
Views:	12
Size:	50.5 KB
ID:	174291  

Last edited by theducks; 10-17-2019 at 09:54 AM. Reason: Oversize inline image
nqk is offline   Reply With Quote
Old 10-17-2019, 10:06 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,499
Karma: 12737927
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by nqk View Post
Yet you added arrows to the top corners of the cover. They are supposed to be on the edges of the screen, aren't they?

no, they are supposed to be on the edges of the cover, in fact on a wide screne the cover is displayed to the side of the text, not below it.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cover size - epub what's a good size? christopher22 Calibre 3 01-19-2019 05:56 PM
NOOK Color -- using an IMG as a link taneal1 Sigil 13 08-17-2017 10:14 AM
E-reader size comparison (with Video Link) The Inktelligent Which one should I buy? 50 08-09-2016 05:02 PM
Command line: How to embed color default cover instead of missing cover? EbokJunkie Conversion 9 07-22-2015 01:30 AM


All times are GMT -4. The time now is 05:33 PM.


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