diff options
author | Francesco Schwarz <mail@frncs.co> | 2012-06-05 18:19:10 +0200 |
---|---|---|
committer | Francesco Schwarz <mail@frncs.co> | 2012-06-05 18:19:10 +0200 |
commit | beed1ab8540ee932de3dc198049f0b714efce5d4 (patch) | |
tree | 317491dfae7c67ffae818280e7331cf9d95ebb9f /css/main.css | |
parent | 2b38f523f24dd80392224c4cc4fc21b7885464df (diff) | |
download | fosdem-2018-presentation-beed1ab8540ee932de3dc198049f0b714efce5d4.tar fosdem-2018-presentation-beed1ab8540ee932de3dc198049f0b714efce5d4.tar.gz |
simplified handling of nested lists
Diffstat (limited to 'css/main.css')
-rw-r--r-- | css/main.css | 31 |
1 files changed, 11 insertions, 20 deletions
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; } |