support more variations of nested lists (closes #47)
authorHakim El Hattab <hakim.elhattab@gmail.com>
Fri, 1 Jun 2012 00:53:28 +0000 (20:53 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Fri, 1 Jun 2012 00:53:28 +0000 (20:53 -0400)
css/main.css

index 71eff1907a2e2f03c488bebd7bef14d065036bc2..392235af6fcfbe719d132d3d6f5d753ec60f3ef9 100644 (file)
@@ -157,10 +157,22 @@ body {
                        list-style: circle;
                }
 
-#reveal ul>li>ul,
-#reveal ol>li>ol,
-#reveal ul>li>ul>li>ul,
-#reveal ol>li>ol>li>ol {
+/* 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 {
        display: block;
        margin-left: 40px;
 }