Skip to content

Commit 225c1df

Browse files
Neaten up file
1 parent f6f31f2 commit 225c1df

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,62 @@
11
div.alert {
2-
position: relative;
3-
42
background: #e7f2fa;
5-
6-
padding: 20px 24px 20px 24px;
7-
margin-bottom: 24px;
83
border-radius: 16px;
4+
margin-bottom: 24px;
5+
padding: 20px 24px 20px 24px;
6+
position: relative;
97

10-
>*:last-of-type{
8+
>*:last-of-type {
119
margin-bottom: 0;
1210
}
1311

1412
p {
15-
margin-bottom: 0px;
1613
&.alert-title {
1714
font-weight: bold;
1815
line-height: 1.5em;
1916
}
17+
2018
&.alert-content {
2119
padding: 6px;
2220
}
2321
}
2422

2523
&.alert-note {
24+
background-color: #e7f2fa;
25+
2626
p.alert-title {
2727
color: #6ab0de;
2828
}
29-
background-color: #e7f2fa;
3029
}
3130

3231
&.alert-tip {
32+
background-color: #e6f4ea;
33+
3334
p.alert-title {
3435
color: #4caf50;
3536
}
36-
background-color: #e6f4ea;
3737
}
3838

3939
&.alert-important {
40+
background-color: #ede7f6;
41+
4042
p.alert-title {
4143
color: #7e57c2;
4244
}
43-
background-color: #ede7f6;
4445
}
4546

4647
&.alert-warning {
48+
background-color: #f7f9e1;
49+
4750
p.alert-title {
4851
color: rgb(187, 185, 13);
4952
}
50-
background-color: #f7f9e1;
5153
}
5254

5355
&.alert-caution {
56+
background-color: #fdecea;
57+
5458
p.alert-title {
5559
color: #d32f2f;
5660
}
57-
background-color: #fdecea;
5861
}
59-
}
62+
}

0 commit comments

Comments
 (0)