Skip to content

Commit 377f6fc

Browse files
committed
Update styling for .why blocks.
1 parent 23dc846 commit 377f6fc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

default.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ p, div.note, div.issue, details.why {
4444
margin-bottom: 1em;
4545
}
4646

47-
dd > p:first-child, li > p:first-child, .note > p:first-child, .issue > p:first-child, .why > summary + p {
47+
dd > p:first-child, li > p:first-child, .note > p:first-child, .issue > p:first-child {
4848
margin-top: 0
4949
}
5050

@@ -216,7 +216,7 @@ code.xml { color: #600 } /* inline XML */
216216
dfn { font-weight: bolder; }
217217
a > i { font-style: normal; } /* Instance of term */
218218

219-
.issue, .note, .example {
219+
.issue, .note, .example, .why {
220220
padding: .5em;
221221
/* padding: .5rem; /* proposed unit in css3-values */
222222
border-left-width: .5em;
@@ -240,7 +240,7 @@ span.note, span.issue { padding: .1em .5em .15em; }
240240
}
241241

242242
/* Class note is a non-normative note. May be inline or a P or DIV */
243-
.note {
243+
.note, .why {
244244
border-color: #52E052;
245245
background: #E9FBE9;
246246
}
@@ -251,11 +251,11 @@ span.note, span.issue { padding: .1em .5em .15em; }
251251
/* Example box */
252252
.example {
253253
border-color: #E0CB52;
254-
background: #FCFAEE;
254+
background: #FCFAEE;
255255
}
256256

257-
.example:before {
258-
color: #B9AB2D;
257+
.example:before {
258+
color: #B9AB2D;
259259
font-family: sans-serif;
260260
}
261261

0 commit comments

Comments
 (0)