Quote:
Originally Posted by gsbe
Anyone have such a template they would be willing to post?
|
You can start off with the one Project Gutenberg used for one of their latest ebook offerings,
Ulster Folklore by Elizabeth Andrews and modifiy to suit your generic needs. That html ebook can be found
here.
( It's etext # 37187 for GuteBook users...
)
By the way, below is just a listing of their <styles> section embedded in their .html, namely:
Code:
<style type="text/css">
<!--
p { margin-top: .75em;
text-align: justify;
text-indent: 1.25em;
margin-bottom: .75em;
}
body{margin-left: 10%;
margin-right: 10%;
}
h1,h2,h3,h4,h5,h6 {
text-align: center; /* all headings centered */
clear: both;
margin: auto;
}
hr { width: 33%;
margin-top: 2em;
margin-bottom: 2em;
margin-left: auto;
margin-right: auto;
clear: both;
}
table {
margin-left: auto;
margin-right: auto;
}
.pagenum { /* uncomment the next line for invisible page numbers */
position: absolute; right: 2%;
font-size: 75%;
color: gray;
background-color: inherit;
text-align: right;
text-indent: 0em;
font-style: normal;
font-weight: normal;
font-variant: normal;}
/* Chapter Start */
.newpg {page-break-before: always;}
.firstwords {font-variant:small-caps;font-size:1.2em;font-weight:bold;}
.firstLetter{
display : block;
float : left;
margin-top : -0.17em;
margin-left : -0.1em;
margin-right : 0.4em;
height : 2em;
text-indent: 0em;
}
.firstLetter span{
font-size : 3.33em; /* use 3.33em for two lines */
line-height : 1em;
}
.firstLetter + span{
margin-left : -1.4em;
}
.chapsub {
font-size:1.1em;
font-weight:bold;
text-align: center;
font-variant: small-caps;
text-indent:0em;
margin-top:.35em;
margin-bottom:.75em;
margin-left: 5%;
margin-right: 5%;}
.center {text-align: center;text-indent:0em;}
.smcap {font-variant: small-caps;}
.caption {
font-size: .7em;
font-weight:bold;
text-align: left;
font-family: serif;
text-indent:0em;
margin-left:.8em;
margin-bottom:.2em;
}
.captioncenter {
font-size: .7em;
font-weight: bold;
text-align: center;
font-family: serif;
margin-top:.2em;
text-indent:0em;
margin-left:0em;
}
.captionimage {
font-size: .9em;
font-weight: bold;
text-align: center;
font-family: serif;
margin-top:.3em;
text-indent:0em;
margin-left:0em;
font-variant: small-caps;
}
/* Images */
.figcenter {
margin: auto;
text-align: center;
}
.alignright {
float: right;
padding-right: .4em;
font-style:italic;
}
/* Footnotes */
.footnotes {border: dashed 1px;margin-top:2em;}
.footnote {margin-left: 5%; margin-right: 5%; font-size: 0.9em; text-indent: 1.5em;}
.fnanchor {vertical-align: super; font-size: .7em; text-decoration: none;}
.fnanchorchap {vertical-align: super; font-size: .5em; text-decoration: none;}
.label { font-size: 1em; font-weight: bold;}
/* Poetry */
.poem {
margin-left:15%;
margin-right:15%;
text-align: left;
}
.poem br {display: none;}
.poem .stanza {margin: 1em 0em 1em 0em;}
.poem span.i0 {
font-size: .9em;
display: block;
margin-left: 2em;
padding-left: 3em;
text-indent: -3em;
}
.poem span.i0a {
font-size: .9em;
display: block;
margin-left: 2em;
padding-left: 2.65em;
text-indent: -3.00em;
}
.poem span.i2 {
font-size: .9em;
display: block;
margin-left: 3.25em;
padding-left: 3em;
text-indent: -3em;
}
.smaller {font-size:.7em;}
.toctext {text-align: left;font-size:1em; display: block; padding-left: 1.8em; text-indent: -2.5em;margin-left:1em;}
.linearound {
border-width: 2px;
border-style: solid; border-color: black; margin-left:10%;margin-right:10%;
}
.index {
margin-top:.2em;
margin-bottom:.2em;
margin-right:15%;
margin-left:15%;
display: block;
padding-left: 1.8em;
text-indent: -1.8em;
}
.indexstart {
margin-top:.2em;
margin-bottom:.2em;
padding-top:.9em;
margin-right:15%;
margin-left:15%;
display: block;
padding-left: 1.8em;
text-indent: -1.8em;
}
-->
</style>