simplified handling of nested lists

This commit is contained in:
Francesco Schwarz 2012-06-05 18:19:10 +02:00
parent 2b38f523f2
commit beed1ab854
1 changed files with 11 additions and 20 deletions

View File

@ -144,35 +144,26 @@ body {
}
.reveal ol {
list-style: decimal inside;
list-style-type: decimal;
}
.reveal ul {
list-style: disc;
}
.reveal ul>li>ul {
list-style: square;
}
.reveal ul>li>ul>li>ul {
list-style: circle;
list-style-type: disc;
}
.reveal ul ul {
list-style-type: square;
}
.reveal ul ul ul {
list-style-type: circle;
}
/* Brain freeze there has to be a better way of doing this? */
.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul,
.reveal ul ul ul,
.reveal ul ul ol,
.reveal ul ol ol,
.reveal ul ol ul,
.reveal ol ol ol,
.reveal ol ol ul,
.reveal ol ul ul,
.reveal ol ul ol {
.reveal ol ul {
display: block;
margin-left: 40px;
}