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

View File

@ -174,6 +174,20 @@ A {
counter-reset:list; counter-reset:list;
font-size:0.65em; 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 OL LI:before,
.slide ARTICLE UL LI:before { .slide ARTICLE UL LI:before {
position:absolute; position:absolute;

View File

@ -153,6 +153,14 @@ A {
margin:0 0 1em; margin:0 0 1em;
counter-reset:list; 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 OL LI:before,
.slide ARTICLE UL LI:before { .slide ARTICLE UL LI:before {
position:absolute; position:absolute;