Skip to content

Commit 59bc3d3

Browse files
committed
refactor (#86): remove icons from containers except for danger
1 parent c07faff commit 59bc3d3

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

src/.vuepress/styles/index.styl

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,42 +40,30 @@
4040
font-weight: 600;
4141
margin-bottom: -0.4rem;
4242
}
43+
4344
&.info {
4445
border-color: #007bff;
45-
46-
&::before {
47-
content: 'i';
48-
background-color: #007bff;
49-
}
5046
}
47+
5148
&.tip {
5249
border-color: #42b983;
53-
54-
&::before {
55-
content: '✓';
56-
background-color: #42b983;
57-
}
5850
}
51+
5952
&.warning {
6053
border-color: #dcbc1e;
61-
background-color: #f8f8f8;
62-
63-
64-
&::before {
65-
content: '⚠';
66-
background-color: #dcbc1e;
67-
}
54+
background-color: #f8f8f8;
6855
}
56+
6957
&.danger {
7058
border-color: #f66;
7159
background-color: #f8f8f8;
7260

73-
7461
&::before {
7562
content: '!';
7663
background-color: #f66;
7764
}
7865
}
66+
7967
&.details {
8068
display: block;
8169
position: relative;

0 commit comments

Comments
 (0)