diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-06-17 15:54:28 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-06-17 15:54:28 -0600 |
| commit | 0e2fd43ccbf0c66787c27dfd79c53ae0d307c0b3 (patch) | |
| tree | 14f2c29fc27d4be52c6c76b0e65a7891248d48f7 /data | |
| parent | 2e68c355fea566002a07e2bc7a89d7bda81f5c8d (diff) | |
make conum selector more specific by identifying element name
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index 90e102b5..bdea9f2f 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -362,10 +362,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } .admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; } .admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; } .admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; } -.conum { display: inline-block; color: white !important; background-color: #222222; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 20px; font-family: Arial, sans-serif; font-style: normal; position: relative; top: -2px; letter-spacing: -1px; } -.conum * { color: white !important; } -.conum + b { display: none; } -.conum:after { content: attr(data-value); } -.conum:not([data-value]):empty { display: none; } +i.conum { display: inline-block; color: white !important; background-color: #222222; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 20px; font-family: Arial, sans-serif; font-style: normal; position: relative; top: -2px; letter-spacing: -1px; } +i.conum * { color: white !important; } +i.conum + b { display: none; } +i.conum:after { content: attr(data-value); } +i.conum:not([data-value]):empty { display: none; } #toc.toc2 { background: white; } .literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 0; border-radius: 0; } |
