View Single Post
Old 07-26-2022, 07:44 PM   #15
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: 79,959
Karma: 146918083
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 DaveLessnau View Post
The book is "Necropolis" by Michael Dempsey. It was published in 2011 by Night Shade Books. The number of paragraph classes seems a tad excessive to me. But what really bothered me was that with their defaults, every character was something like 3/4 of normal size and the character spacing reduced (I think). I've included the main stylesheet if you're interested:

Code:
@namespace h "http://www.w3.org/1999/xhtml";
.Apple-tab-span {
    white-space: pre-wrap
    }
.big {
    font-family: Helvetica;
    font-size: 2em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
    text-align: justify
    }
.calibre {
    display: block;
    font-size: 1.29167em;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 5pt;
    margin-right: 5pt;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0
    }
.calibre1 {
    display: block
    }
.calibre2 {
    display: block
    }
.calibre3 {
    font-style: italic
    }
.calibre4 {
    display: block
    }
.chapter {
    display: block;
    font-family: Helvetica;
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p {
    display: block;
    font-family: Helvetica;
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 58px;
    text-align: center
    }
.p1 {
    display: block;
    font-family: Helvetica;
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p10 {
    display: block;
    
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 13px;
    text-align: center;
    text-indent: 10.8px
    }
.p11 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 18px;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p12 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 18px;
    margin-right: 0;
    margin-top: 0;
    min-height: 14px;
    text-align: center
    }
.p13 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0
    }
.p14 {
    display: block;
    
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 43px;
    text-align: justify;
    text-indent: 13.5px
    }
.p15 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 14px;
    text-align: justify;
    text-indent: 13.5px
    }
.p16 {
    display: block;
    font-family: Helvetica;
    font-size: 1.29032em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 36px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p17 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: 0
    }
.p18 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: 13.5px
    }
.p19 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center;
    text-indent: 13.5px
    }
.p2 {
    display: block;
    font-family: Helvetica;
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p20 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 14px;
    text-align: center;
    text-indent: 13.5px
    }
.p21 {
    display: block;
    
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center;
    text-indent: 13.5px
    }
.p22 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: justify
    }
.p23 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 14px;
    text-align: justify
    }
.p24 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 14px;
    text-align: center
    }
.p25 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p26 {
    display: block;
    font-family: Helvetica;
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p27 {
    display: block;
    font-family: Helvetica;
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: justify
    }
.p28 {
    display: block;
    font-family: Helvetica;
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 29px;
    margin-right: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: -9px
    }
.p29 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 27px;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p3 {
    display: block;
    font-family: Helvetica;
    font-size: 1.54839em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 36px;
    text-align: center
    }
.p30 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 27px;
    margin-right: 0;
    margin-top: 0;
    text-align: justify
    }
.p31 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 27px;
    margin-right: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: 13.5px
    }
.p32 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 18px;
    margin-right: 0;
    margin-top: 0;
    text-align: justify;
    text-indent: 13.5px
    }
.p33 {
    display: block;
    font-family: Helvetica;
    font-size: 1.29032em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p34 {
    display: block;
    
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 15px
    }
.p4 {
    display: block;
    font-family: Helvetica;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 22px;
    text-align: center
    }
.p5 {
    display: block;
    font-family: Helvetica;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 17px;
    text-align: center
    }
.p6 {
    display: block;
    font-family: Helvetica;
    font-size: 0.77419em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.p7 {
    display: block;
    
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center;
    text-indent: 10.8px
    }
.p8 {
    display: block;
    
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    min-height: 13px;
    text-align: center
    }
.p9 {
    display: block;
    
    font-size: 0.64516em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center
    }
.s {
    font-family: Helvetica;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.2px;
    line-height: 1.2
    }
.s1 {
    letter-spacing: 0.2px
    }
.s10 {
    font-family: Helvetica;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.1px;
    line-height: 1.2
    }
.s11 {
    
    font-size: 0.5em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.1px;
    line-height: 1.2
    }
.s2 {
    letter-spacing: 0.1px
    }
.s3 {
    
    font-size: 0.83333em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.2px;
    line-height: 1.2
    }
.s4 {
    
    font-size: 1.29167em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.1px;
    line-height: 1.2
    }
.s5 {
    letter-spacing: 0.3px
    }
.s6 {
    
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: 0.1px;
    line-height: 1.2
    }
.s7 {
    letter-spacing: -0.1px
    }
.s8 {
    letter-spacing: 0.5px
    }
.s9 {
    letter-spacing: 0.1px;
    text-decoration: underline
    }
This looks fairly easy to clean up this mess. You dump most of the classes and you can go from there rather easily.
JSWolf is online now   Reply With Quote