88 body { font-family : serif }
99 th , td { font-family : inherit }
1010 a { color : inherit !important }
11- div .example : before { font-family : serif !important }
12- pre .example : before { font-family : serif !important }
11+ .example : before { font-family : serif !important }
1312 a : link , a : visited { text-decoration : none !important }
1413 a : link : after , a : visited : after { /* create a cross-ref "see..." */ }
1514}
2625/* Pagination */
2726h1 , h2 , h3 , h4 , h5 , h6 { page-break-after : avoid }
2827figure , div .figure , div .sidefigure , pre , table .propdef , table .propdef-extra ,
29- div .example { page-break-inside : avoid }
28+ .example { page-break-inside : avoid }
3029dt { page-break-after : avoid }
3130
3231span .id {float : right; font-weight : bold}
@@ -96,7 +95,7 @@ ul.indexlist a { font-weight: bold; }
9695.example {
9796 counter-increment : exampleno;
9897}
99- div . example : before , pre .example : before {
98+ .example : before {
10099 content : "Example" ;
101100 content : "Example " counter (exampleno);
102101 min-width : 7.5em ;
@@ -107,8 +106,8 @@ div.illegal-example:before, pre.illegal-example:before {
107106 content : "Invalid Example" ;
108107 content : "Invalid Example" counter (exampleno);
109108}
110- div .example , div .illegal-example , div .html , div .illegal-html , div .xml ,
111- div .illegal-xml , pre .example , pre . illegal-example , pre . html ,
109+ .example , .illegal-example , div .html , div .illegal-html , div .xml ,
110+ div .illegal-xml , pre .html ,
112111pre .illegal-html , pre .xml , pre .illegal-xml {
113112 padding : 0.5em ;
114113 margin : 1em 0 ;
@@ -149,7 +148,7 @@ code.xml { color: #600 } /* inline XML */
149148dfn { font-weight : bolder; }
150149a > i { font-style : normal; } /* Instance of term */
151150
152- .issue , .note , div . example , pre .example {
151+ .issue , .note , .example {
153152 padding : .5em ;
154153 /* padding: .5rem; /* proposed unit in css3-values */
155154 border-left-width : .5em ;
@@ -182,12 +181,12 @@ span.note, span.issue { padding: .1em .5em .15em; }
182181.informref { color : green }
183182
184183/* Example box */
185- div . example , pre .example {
184+ .example {
186185 border-color : # E0CB52 ;
187186 background : # FCFAEE ;
188187}
189188
190- div . example : before , pre .example : before {
189+ .example : before {
191190 color : # B9AB2D ;
192191 font-family : sans-serif;
193192}
0 commit comments