CSS for indenting TOCs

48 views
Skip to first unread message

David Gifford

unread,
Nov 13, 2014, 1:09:06 PM11/13/14
to tiddl...@googlegroups.com
If I have a TOC

<div class="tc-table-of-contents">
<<toc "toc">>
</div>

What would be the CSS for adjusting the indenting of all levels of the TOC? I just want a little wider indenting between levels.

Dave
Message has been deleted

Stephan Hradek

unread,
Nov 13, 2014, 1:42:22 PM11/13/14
to tiddl...@googlegroups.com
Maybe something like:

.tc-table-of-contents ul,
.tc
-table-of-contents ol {
   margin
-left: 1em;
}

David Gifford

unread,
Nov 13, 2014, 1:46:30 PM11/13/14
to tiddl...@googlegroups.com
Thanks, Stephan, just with one adjustment:

.tc-table-of-contents ul ul,
.tc-table-of-contents ol ol {
   margin-left: 1.5em;
}


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/13pXURhmSXM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
David Gifford
Christian Reformed World Missions, Mexico City
Reply all
Reply to author
Forward
0 new messages