View Single Post
Old 09-14-2010, 10:18 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,098
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Skitzman69 View Post
Hi,

Am trying to standardize my epubs, they are quite a mess (converted from various things) and was wondering what basic stylesheet do people use? Could you post yours?

Thanks,
Mike.
I belong to the one size fits none crowd
Lean and mean, Just what that book needs for a brisk performance. Most weigh in at 100 lines for basic books.
Add another 100 for books with drop caps and/or with syled headers.

Code:
.calibre {
    display: block;
    font-size: 1.25em;
    margin-bottom: 0;
    margin-left: 2pt;
    margin-right: 16pt;
    margin-top: 0;
    page-break-before: always;
    text-align: justify  /* optional */
    }

.calibre3 {  /* non-indented, when not just first Para */
    display: block;
    margin-bottom: 0.85em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5em;
    text-align: justify;
	text-indent: 0
    }
.calibre4 {  /* when indented para */
    display: block;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5em;
    text-align: justify;
    text-indent: 3%   
    }
 .firstpara { /* when non-indent 1st para wanted */
  text-indent:0
  }
theducks is offline   Reply With Quote