View Single Post
Old 05-05-2010, 01:38 PM   #35
theducks
Well trained by Cats
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: 31,238
Karma: 61360164
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Robertb View Post
Dear Duckey:

If you can post bulletpoints on how someone can set the indent... then I will copy it and put it in the FAQ sheet for all to enjoy!

I am always looking for discoveries by experts like you that will improve the FAQ sheet!
Robert
This is really a EPUB stylesheet (css) edit exercise and not specific to Astak products

I would say, use Sigil, except we found that Sigil will fix badly defined attributes.

Another: not simple facet is there is not a single or constant place to do the changes. And not all places should be changed

You peek at section (source view) you want to look different.
You find the controlling style for that and you tweak that part of the css

Code:
<<<<< are my emphasis and not part of the code

@namespace h "http://www.w3.org/1999/xhtml";
.Section {
    border-bottom: 0;
    border-top: 0;
    display: block;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    padding-bottom: 0;
    padding-top: 0
    }
.calibre {
    display: block;
    font-size: 1em;
    margin-bottom: 0;
    margin-left: 2pt;      <<<<<<<
    margin-right: 16pt;  <<<<<<<
    margin-top: 0;
    page-break-before: always
    }
.calibre10 {
    border-bottom: 0;
    border-top: 0;
    display: block;
    line-height: 110%;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5em;
    padding-bottom: 0;
    padding-top: 0;
    text-align: justify;
    text-indent: 1.5em   <<<<<
    }
(very simplified explanation)

The actual sections and values may change from document to document.
To be valid a style section definition must exist in either the css or the document. before it is used in the document.
Hope this does not confuse.
theducks is online now   Reply With Quote