The Design and Construction of eBooks, by Steve Thomas

Multi-file styles

Where books are split into multiple files (e.g. by chapter), each file ends with navigation and document info. sections. The effect of these can be seen in any ebook and need not be explained here.

The Document header section. This should be used at the head of individual parts when a book is divided into multiple files, but NOT on the title page. Normally, only h2 is used here.

div.dochead { text-align:center; }
div.dochead h2 {
    font-family:sans-serif;
    font-weight:normal;
    font-size:1em;
    font-style:normal;
    color:gray;
    }
div.dochead hr { display:none; } /* fix for older pages */

Navigation is used at the end of each part:

div.navigation {
    font-family:sans-serif;
    font-size:.9em;
    text-align:center;
    text-indent:0;
    margin-top:2em;
    border-top:1px dotted gray;
    padding-top:2em;
    }
div.navigation p {
    font-size:.9em;
    text-align:center;
    text-indent:0;
    }
div.navigation a,
div.navigation a:visited {
    border-right:2px solid gray;
    border-bottom:2px solid gray;
    background-color:#ddd;
    color:#333;
    text-decoration:none;
    padding:3px;
    font-size:.9em;
    font-family:sans-serif;
    }

Docinfo is added to the end of each part:

div.docinfo {
    font-family:sans-serif;
    font-size:.9em;
    color:#666;
    background-color:#fff;
    text-align:center;
    }
div.docinfo p { text-align:center; }

div.docinfo p a {
    font-family:sans-serif;
    color:#666; background-color:#fff;
    text-decoration:underline;
    }
div.docinfo p a:visited {
    font-family:sans-serif;
    color:#666; background-color:#fff;
    text-decoration:underline;
    }
div.docinfo p a:hover {
    font-family:sans-serif;
    color:#f00; background-color:#fff;
    text-decoration:underline;
    }

https://ebooks.adelaide.edu.au/about/part2.10.html

Last updated Tuesday, January 26, 2016 at 23:27