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 ce9a136 commit d16af11Copy full SHA for d16af11
src/theme/reference.css
@@ -77,3 +77,35 @@ the parenthetical. So for this example, you'd use
77
.parenthetical {
78
white-space: nowrap;
79
}
80
+
81
+/*
82
+Warnings and notes:
83
84
+Write the <div>s on their own line. E.g.
85
86
+<div class="warning">
87
88
+Warning: This is bad!
89
90
+</div>
91
+*/
92
+main .warning p {
93
+ padding: 10px 20px;
94
+ margin: 20px 0;
95
+}
96
97
+.light main .warning p,
98
+.rust main .warning p {
99
+ border: 2px solid red;
100
+ background: #f2dede;
101
102
103
+.coal main .warning p,
104
+.navy main .warning p,
105
+.ayu main .warning p {
106
+ background: #542626
107
108
109
+main .warning p::before {
110
+ content: "⚠️ ";
111
0 commit comments