We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ff232 commit 6cc819cCopy full SHA for 6cc819c
src/theme/reference.css
@@ -69,3 +69,35 @@ the parenthetical. So for this example, you'd use
69
.parenthetical {
70
white-space: nowrap;
71
}
72
+
73
+/*
74
+Warnings and notes:
75
76
+Write the <div>s on their own line. E.g.
77
78
+<div class="warning">
79
80
+Warning: This is bad!
81
82
+</div>
83
+*/
84
+main .warning p {
85
+ padding: 10px 20px;
86
+ margin: 20px 0;
87
+}
88
89
+.light main .warning p,
90
+.rust main .warning p {
91
+ border: 2px solid red;
92
+ background: #f2dede;
93
94
95
+.coal main .warning p,
96
+.navy main .warning p,
97
+.ayu main .warning p {
98
+ background: #542626
99
100
101
+main .warning p::before {
102
+ content: "⚠️ ";
103
0 commit comments