From 0e2fd43ccbf0c66787c27dfd79c53ae0d307c0b3 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 17 Jun 2014 15:54:28 -0600 Subject: make conum selector more specific by identifying element name --- data/stylesheets/asciidoctor-default.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'data') 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; } -- cgit v1.2.3