8
8
font-display : swap;
9
9
}
10
10
.iconfont ,
11
- .admonition . admonition -title: before ,
12
- details .admonition summary : after {
11
+ .notice . notice -title: before ,
12
+ details .notice summary : after {
13
13
font-family : "iconfont" !important ;
14
14
speak : none;
15
15
font-style : normal;
@@ -28,7 +28,7 @@ details.admonition summary:after {
28
28
-moz-osx-font-smoothing : grayscale;
29
29
}
30
30
31
- .admonition {
31
+ .notice {
32
32
box-shadow : 0 2px 2px 0 rgba (0 , 0 , 0 , 0.14 ), 0 1px 5px 0 rgba (0 , 0 , 0 , 0.12 ),
33
33
0 3px 1px -2px rgba (0 , 0 , 0 , 0.2 );
34
34
position : relative;
@@ -38,154 +38,154 @@ details.admonition summary:after {
38
38
border-radius : 0.125rem ;
39
39
overflow : auto;
40
40
}
41
- .admonition . admonition -title {
41
+ .notice . notice -title {
42
42
margin : 0 -0.75rem ;
43
43
padding : 0.5rem 0.75rem 0.5rem 2.5rem ;
44
44
border-bottom : 0.1rem solid rgba (68 , 138 , 255 , 0.1 );
45
45
background-color : rgba (68 , 138 , 255 , 0.1 );
46
46
font-weight : 700 ;
47
47
}
48
- .admonition . admonition -title: before {
48
+ .notice . notice -title: before {
49
49
cursor : auto;
50
50
position : absolute;
51
51
left : 0.75rem ;
52
52
top : 0.75rem ;
53
53
}
54
- .admonition .note {
54
+ .notice .note {
55
55
border-left-color : # 448aff ;
56
56
}
57
- .admonition .note .admonition -title: before {
57
+ .notice .note .notice -title: before {
58
58
color : # 448aff ;
59
59
content : "\e903" ;
60
60
}
61
- .admonition .abstract {
61
+ .notice .abstract {
62
62
border-left-color : # 00b0ff ;
63
63
}
64
- .admonition .abstract .admonition -title {
64
+ .notice .abstract .notice -title {
65
65
background-color : rgba (0 , 176 , 255 , 0.1 );
66
66
}
67
- .admonition .abstract .admonition -title: before {
67
+ .notice .abstract .notice -title: before {
68
68
color : # 00b0ff ;
69
69
content : "\e9bb" ;
70
70
}
71
- .admonition .info {
71
+ .notice .info {
72
72
border-left-color : # 00b8d4 ;
73
73
}
74
- .admonition .info .admonition -title {
74
+ .notice .info .notice -title {
75
75
background-color : rgba (0 , 184 , 212 , 0.1 );
76
76
}
77
- .admonition .info .admonition -title: before {
77
+ .notice .info .notice -title: before {
78
78
color : # 00b8d4 ;
79
79
content : "\ea0c" ;
80
80
}
81
- .admonition .tip {
81
+ .notice .tip {
82
82
border-left-color : # 00bfa5 ;
83
83
}
84
- .admonition .tip . admonition-title {
84
+ .notice .tip {
85
85
background-color : rgba (0 , 191 , 165 , 0.1 );
86
86
}
87
- .admonition .tip .admonition -title: before {
87
+ .notice .tip .notice -title: before {
88
88
color : # 00bfa5 ;
89
89
content : "\e906" ;
90
90
}
91
- .admonition .success {
91
+ .notice .success {
92
92
border-left-color : # 00c853 ;
93
93
}
94
- .admonition .success . admonition-title {
94
+ .notice .success {
95
95
background-color : rgba (0 , 200 , 83 , 0.1 );
96
96
}
97
- .admonition .success .admonition -title: before {
97
+ .notice .success .notice -title: before {
98
98
color : # 00c853 ;
99
99
content : "\ea10" ;
100
100
}
101
- .admonition .question {
101
+ .notice .question {
102
102
border-left-color : # 64dd17 ;
103
103
}
104
- .admonition .question . admonition-title {
104
+ .notice .question {
105
105
background-color : rgba (100 , 221 , 23 , 0.1 );
106
106
}
107
- .admonition .question .admonition -title: before {
107
+ .notice .question .notice -title: before {
108
108
color : # 64dd17 ;
109
109
content : "\ea09" ;
110
110
}
111
- .admonition .warning {
111
+ .notice .warning {
112
112
border-left-color : # ff9100 ;
113
113
}
114
- .admonition .warning . admonition-title {
114
+ .notice .warning {
115
115
background-color : rgba (255 , 145 , 0 , 0.1 );
116
116
}
117
- .admonition .warning .admonition -title: before {
117
+ .notice .warning .notice -title: before {
118
118
color : # ff9100 ;
119
119
content : "\ea07" ;
120
120
}
121
- .admonition .failure {
121
+ .notice .failure {
122
122
border-left-color : # ff5252 ;
123
123
}
124
- .admonition .failure . admonition-title {
124
+ .notice .failure {
125
125
background-color : rgba (255 , 82 , 82 , 0.1 );
126
126
}
127
- .admonition .failure .admonition -title: before {
127
+ .notice .failure .notice -title: before {
128
128
color : # ff5252 ;
129
129
content : "\ea0f" ;
130
130
}
131
- .admonition .danger {
131
+ .notice .danger {
132
132
border-left-color : # ff1744 ;
133
133
}
134
- .admonition .danger . admonition-title {
134
+ .notice .danger {
135
135
background-color : rgba (255 , 23 , 68 , 0.1 );
136
136
}
137
- .admonition .danger .admonition -title: before {
137
+ .notice .danger .notice -title: before {
138
138
color : # ff1744 ;
139
139
content : "\e905" ;
140
140
}
141
- .admonition .bug {
141
+ .notice .bug {
142
142
border-left-color : # f50057 ;
143
143
}
144
- .admonition .bug . admonition-title {
144
+ .notice .bug {
145
145
background-color : rgba (245 , 0 , 87 , 0.1 );
146
146
}
147
- .admonition .bug .admonition -title: before {
147
+ .notice .bug .notice -title: before {
148
148
color : # f50057 ;
149
149
content : "\e907" ;
150
150
}
151
- .admonition .example {
151
+ .notice .example {
152
152
border-left-color : # 651fff ;
153
153
}
154
- .admonition .example . admonition-title {
154
+ .notice .example {
155
155
background-color : rgba (101 , 31 , 255 , 0.1 );
156
156
}
157
- .admonition .example .admonition -title: before {
157
+ .notice .example .notice -title: before {
158
158
color : # 651fff ;
159
159
content : "\e9b9" ;
160
160
}
161
- .admonition .quote {
161
+ .notice .quote {
162
162
border-left-color : # 9e9e9e ;
163
163
}
164
- .admonition .quote . admonition-title {
164
+ .notice .quote {
165
165
background-color : rgba (158 , 158 , 158 , 0.1 );
166
166
}
167
- .admonition .quote .admonition -title: before {
167
+ .notice .quote .notice -title: before {
168
168
color : # 9e9e9e ;
169
169
content : "\e904" ;
170
170
}
171
- .admonition : last-child {
171
+ .notice : last-child {
172
172
margin-bottom : 0.75rem ;
173
173
}
174
- details .admonition summary {
174
+ details .notice summary {
175
175
display : block;
176
176
outline : none;
177
177
cursor : pointer;
178
178
}
179
- details .admonition summary ::-webkit-details-marker {
179
+ details .notice summary ::-webkit-details-marker {
180
180
display : none;
181
181
}
182
- details .admonition summary : after {
182
+ details .notice summary : after {
183
183
position : absolute;
184
184
top : 0.75rem ;
185
185
right : 0.75rem ;
186
186
color : rgba (0 , 0 , 0 , 0.26 );
187
187
content : "\e908" ;
188
188
}
189
- details .admonition [open ] > summary : after {
189
+ details .notice [open ] > summary : after {
190
190
transform : rotate (180deg );
191
191
}
0 commit comments