Skip to content

Commit 1e81c4a

Browse files
committed
Update comment now that warnings use admonitions
1 parent 934b3a1 commit 1e81c4a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

theme/reference.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ the parenthetical. So for this example, you'd use
1111
}
1212

1313
/*
14-
Warnings and notes:
14+
Warnings are defined using admonitions in blockquotes:
1515
16-
Write the <div>s on their own line. E.g.
16+
> [!WARNING]
17+
> This is bad!
1718
18-
<div class="warning">
19-
20-
Warning: This is bad!
21-
22-
</div>
2319
*/
2420
main .warning p {
2521
padding: 10px 20px;

0 commit comments

Comments
 (0)