Skip to content

Commit 7d0e539

Browse files
committed
Added border to the example and note blocks, matching the color-scheme of issue blocks.
1 parent 3ad71e2 commit 7d0e539

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

css-module/default.css

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,20 @@ code.xml { color: #600 } /* inline XML */
161161

162162
dfn { font-weight: bolder; /*font-size: 1em*/ }
163163

164-
/* Open issue / editorial remark; not intended for a final publication */
164+
p.issue, div.issue, p.note, div.note, div.example {
165+
padding: .5em;
166+
border-left-width: .5em;
167+
border-left-style: solid;
168+
}
165169

166-
p.issue, p.note, div.note, div.example {
167-
border-left: 0.5em solid #E05252;
168-
padding: 0.5em;
170+
/* Open issue / editorial remark; not intended for a final publication */
171+
p.issue, div.issue {
172+
border-color: #E05252;
169173
background: #FBE9E9;
174+
counter-increment: issue;
170175
}
171176

172-
p.issue { counter-increment: issue; }
173-
174-
p.issue:before {
177+
p.issue:before, div.issue:before {
175178
content: "Issue " counter(issue);
176179
padding-right: 1em;
177180
text-transform: uppercase;
@@ -182,8 +185,8 @@ span.issue { color: red; }
182185

183186
/* Class note is a non-normative note. May be inline or a P or DIV */
184187
p.note, div.note {
185-
border: 0;
186-
background: #F1FDF1;
188+
border-color: #52E052;
189+
background: #E9FBE9;
187190
}
188191

189192
span.note { color: green; }
@@ -194,7 +197,7 @@ span.note { color: green; }
194197

195198
/* Example box */
196199
div.example {
197-
border: 0;
200+
border-color: #E0CB52;
198201
background: #FCFAEE;
199202
}
200203

0 commit comments

Comments
 (0)