View Single Post
Old 07-15-2020, 04:45 AM   #403
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,138
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jiembe View Post
I ask somewhere (can't find it) as a side question (I think) why kobo limited the title font size in the the title page to 2em. I tough it was due to the device. But comparing epub file with the resulting kepub file I note the size is reduced during conversion:

original stylesheet

.titre {
display: block;
font-size: 3em;
margin: 0 0 10% 0;
}

resulting kepub

.titre {
display: block;
font-size: 2em;
line-height: 1.2;
margin: 0 0 10%
}

Why is it happening ?

(Adding) I just try 4em and get the same result 2em.
It is your settings in Calibre. I used your original CSS style and after the ePub to ePub conversion I ended up with...
Code:
.titre {
    display: block;
    font-size: 3em;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0
    }
I don't know which setting it is. But I'll have a look and see what I can find.
JSWolf is offline   Reply With Quote