View Single Post
Old 09-26-2014, 07:53 PM   #1
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
Alter the indentation of ToC

Hi there,

the automatically generated ToC is a bit too spaced out for my liking (ePub). Where are the indents defined?

This is a bit of the code:

Code:
<h2 class="calibre2">Indice</h2>

  <ul class="level">

    <li class="calibre3"><a href="Ringraziamenti_001.html" class="calibre4 pcalibre">Ringraziamenti</a></li>

    <li class="calibre3"><a href="Introduzione_003.html" class="calibre4 pcalibre">Introduzione</a>

      <ul class="level1">
        <li class="calibre3"><a href="Introduzione_003.html#id_RefHeading__54440_203786428" class="calibre4 pcalibre">Bits</a></li>
        <li class="calibre3"><a href="Introduzione_003.html#id_RefHeading__54442_203786428" class="calibre4 pcalibre">Things</a></li>
        <li class="calibre3"><a href="Introduzione_003.html#id_RefHeading__54444_203786428" class="calibre4 pcalibre">somehow</a></li>
        <li class="calibre3"><a href="Introduzione_003.html#id_RefHeading__54446_203786428" class="calibre4 pcalibre">Something</a></li>
      </ul>

    </li>

    <li class="calibre3"><a href="Cap_1_titolo_004.html" class="calibre4 pcalibre">blah blah</a>
...
...
"calibre3" is the only thing with some left padding defined. So I removed that and now the ToC looks better. However I would like to reduce indents between levels.
In the stylesheet there is nothing obvious, so it isn't something like "padding", or at least it is not there.

Any idea of where I cold look?

Thanks

Last edited by Arkadian; 09-26-2014 at 07:56 PM.
Arkadian is offline   Reply With Quote