support for nested lists

This commit is contained in:
Vadim Makeev 2011-06-02 13:00:46 +04:00
parent 7be8f70bf0
commit bf5db5a968
3 changed files with 36 additions and 8 deletions

View File

@ -44,10 +44,13 @@
<ul>
<li>This tool is provided</li>
<li>Without warranty, guarantee</li>
<li>Or much in the way of explanation</li>
<li>Or much in the way of explanation
<ul>
<li>Note that use of this tool</li>
<li>May or may not crash your browser</li>
<li>Lock up your machine</li>
</ul>
</li>
<li>Erase your hard drive…</li>
</ul>
</article>
@ -58,10 +61,13 @@
<ol>
<li>This tool is provided</li>
<li>Without warranty, guarantee</li>
<li>Or much in the way of explanation</li>
<li>Or much in the way of explanation
<ol>
<li>Note that use of this tool</li>
<li>May or may not crash your browser</li>
<li>Lock up your machine</li>
</ol>
</li>
<li>Erase your hard drive…</li>
</ol>
</article>

View File

@ -174,6 +174,20 @@ A {
counter-reset:list;
font-size:0.65em;
}
.slide ARTICLE UL UL,
.slide ARTICLE UL OL,
.slide ARTICLE OL OL,
.slide ARTICLE OL UL {
font-size:1em;
}
.slide ARTICLE UL UL,
.slide ARTICLE OL UL {
margin:0 0 0 1.5em;
}
.slide ARTICLE OL OL,
.slide ARTICLE UL OL {
margin:0 0 0 1.8em;
}
.slide ARTICLE OL LI:before,
.slide ARTICLE UL LI:before {
position:absolute;

View File

@ -153,6 +153,14 @@ A {
margin:0 0 1em;
counter-reset:list;
}
.slide ARTICLE UL UL,
.slide ARTICLE OL UL {
margin:0 0 0 1.7em;
}
.slide ARTICLE OL OL,
.slide ARTICLE UL OL {
margin:0 0 0 1.8em;
}
.slide ARTICLE OL LI:before,
.slide ARTICLE UL LI:before {
position:absolute;