diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-10-13 03:22:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 03:22:15 -0600 |
| commit | f80441fd2ad46439cce19bf54581eb9d79097f3d (patch) | |
| tree | 1d2d82e7f41f7027da000522bc585de541b6515d /src | |
| parent | f22e09c1ebda573215a9d687fde9f501da6759c5 (diff) | |
resolves #4361 honor marker on unordered list when marker is defined on ancestor unordered list (PR #4367)
Diffstat (limited to 'src')
| -rw-r--r-- | src/stylesheets/asciidoctor.css | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css index b002a676..21cc3bc9 100644 --- a/src/stylesheets/asciidoctor.css +++ b/src/stylesheets/asciidoctor.css @@ -338,16 +338,6 @@ ul li ol { margin-bottom: 0; } -ul.square li ul, -ul.circle li ul, -ul.disc li ul { - list-style: inherit; -} - -ul.square { - list-style-type: square; -} - ul.circle { list-style-type: circle; } @@ -356,6 +346,16 @@ ul.disc { list-style-type: disc; } +ul.square { + list-style-type: square; +} + +ul.circle ul:not([class]), +ul.disc ul:not([class]), +ul.square ul:not([class]) { + list-style: inherit; +} + ol li ul, ol li ol { margin-left: 1.25em; |
