Giter VIP home page Giter VIP logo

Comments (5)

captn3m0 avatar captn3m0 commented on May 27, 2024

It kinda does. I've set a global style on body for margin, which I think is getting re-applied on every page.

Can you try a rebuild after removing the following 3 lines from style.css:

  1. margin: 5pt 5pt;
  2. cosmere-books/style.css

    Lines 113 to 114 in 46e302c

    text-indent: 1em;
    margin: 0;

And see if it fixes the issue? I'll try installing Icecreame over wine to see if I can figure this out better.

from cosmere-books.

kakaroto avatar kakaroto commented on May 27, 2024

Tried it, no change unfortunately.

from cosmere-books.

captn3m0 avatar captn3m0 commented on May 27, 2024

Try removing the entire body section:

cosmere-books/style.css

Lines 36 to 42 in 46e302c

body {
display: block;
font-size: 1em;
padding-left: 0;
padding-right: 0;
margin: 5pt 5pt;
}

If that doesn't work, it has to be the text-align: justify, which will get us back to the center aligned text. Will see if I can find an epub css template.

from cosmere-books.

kakaroto avatar kakaroto commented on May 27, 2024

Nope, I removed the body and the text-align and it broke the justification but the page overlap remained. I then removed the stylesheet argument and it fixed it (but justify broke of course).

epub_stylesheet "style.css"

Then I started to progressively delete anything I saw in the css (I don't understand any of it) until it worked.. I had to do a lot of tests before I realized that if I don't delete the ebook from the reader, then empty the trash (the icecream ebook reader in-app trash), then close the app before opening the file, then it would somehow load a cached version of it...
Anyways, I found the faulty line :

margin-left: 2em; /* This will increasingly indent nested header sections */

Just delete that line (which ironically says "increasingly indent" ) and it will fix it!

from cosmere-books.

captn3m0 avatar captn3m0 commented on May 27, 2024

Thanks for the debug, will commit the fix. (I don't think this should affect the PDF version, but have to confirm)

from cosmere-books.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.