Skip to content

Commit 097a348

Browse files
committed
Made illegal example distinguishable from legal ones.
1 parent ab8f73b commit 097a348

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

css-module/default.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,16 @@ ul.indexlist li li { margin-left: 1em }
8787
.example {
8888
counter-increment: exampleno;
8989
}
90-
div.example:before {
90+
div.example:before, pre.example:before {
9191
content: "Example";
9292
content: "Example " counter(exampleno);
9393
min-width: 7.5em;
9494
text-transform: uppercase;
9595
display: block;
9696
}
97-
pre.example:before {
98-
content: "Example";
99-
content: "Example " counter(exampleno);
100-
min-width: 7.5em;
101-
text-transform: uppercase;
102-
display: block;
97+
div.illegal-example:before, pre.illegal-example:before {
98+
content: "Invalid Example";
99+
content: "Invalid Example" counter(exampleno);
103100
}
104101
div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
105102
div.illegal-xml, pre.example, pre.illegal-example, pre.html,

0 commit comments

Comments
 (0)