View Single Post
Old 03-27-2013, 04:15 PM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
-I want it to start the first letter of the first paragraph in a chapter with a huge bold letter (http://epubzengarden.com/?style=mode.../chapter1.html) like this.
Code:
span.drop {
  font-weight: bold;
  font-size: 300%;
}
and in the HTML:

Code:
<p><span class="drop">T</span>his is the first paragraph of the chapter.</p>
Quote:
-I want it to not indent only the first paragraph and indent all the rest for easier reading.
Code:
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
  text-indent: 0;
}
and make sure the chapter headings are indeed marked with <h1> to <h6>

Quote:
-I want it to have some kind of code for italic part and that the margin is set to lets say 1/4 of the page width or something that looks esthetic.
Use <i> for italic.

For the margin:

Code:
@page {
  margin: 25%;
}
but I'm sure that's not what you want.
Jellby is offline   Reply With Quote