The parts of the footer patch CSS are:
- min-height/max-height: sets the height of the footer
- font-size: height of the text within the footer (vertical position of text within footer depends on font-family)
- margin-top: minimum space between the top of the footer and the book text
- padding-bottom: space between the bezel and the bottom of the footer
- footerMargin: I have no idea what this does. As far as I can tell it does nothing.
Code:
BOOK TEXT
----------------------
} <-- margin-top
----------------------
}
font size --> { Page 34 of 408 } <-- min-height/max-height
}
----------------------
} <-- padding-bottom
----------------------
BEZEL
Edit: Other things that can affect the gap between footer and book text:
- the font-family used for the book text (some fonts such as Gothic sit lower on the line, occupying some of the footer gap)
- widows/orphans settings in the book (can be disabled with the `Fix page breaks bug` patch)
- @page margins settings in the book (can be stripped easily with Modify ePub plugin)
- .xpgt settings in the book (.xpgt file and links can be deleted easily with Modify ePub plugin)
- `ePub adjustable top/bottom margins` and `ePub fixed top margin` patches (these override the @page margin settings in the book)