From: Francesco Schwarz Date: Tue, 5 Jun 2012 16:19:10 +0000 (+0200) Subject: simplified handling of nested lists X-Git-Tag: 1.4.0~48^2 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=beed1ab8540ee932de3dc198049f0b714efce5d4;p=reveal.js.git simplified handling of nested lists --- diff --git a/css/main.css b/css/main.css index a508dce..41c06cf 100644 --- a/css/main.css +++ b/css/main.css @@ -144,35 +144,26 @@ body { } .reveal ol { - list-style: decimal inside; + list-style-type: decimal; } .reveal ul { - list-style: disc; + list-style-type: disc; +} + +.reveal ul ul { + list-style-type: square; +} + +.reveal ul ul ul { + list-style-type: circle; } - .reveal ul>li>ul { - list-style: square; - } - .reveal ul>li>ul>li>ul { - list-style: 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; }