Skip to content

Commit a7a5718

Browse files
authored
更新样式
1 parent b5ddf31 commit a7a5718

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

_sass/minimal-mistakes-plus.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
blockquote {
44
margin-inline: 0;
55
font-style: normal;
6+
7+
&[data-type="note"] {
8+
@extend .notice--info;
9+
}
10+
11+
&[data-type="tip"] {
12+
@extend .notice--success;
13+
}
14+
15+
&[data-type="important"] {
16+
@extend .notice--primary;
17+
}
18+
19+
&[data-type="warning"] {
20+
@extend .notice--warning;
21+
}
22+
23+
&[data-type="caution"] {
24+
@extend .notice--danger;
25+
}
626
}
727

828
* {

0 commit comments

Comments
 (0)