forked from szcf-weiya/ESL-CN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admonition_fix.css
52 lines (45 loc) · 918 Bytes
/
admonition_fix.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.important .admonition-title, .attention .admonition-title {
display: none;
}
.note .admonition-title {
font-weight: bold;
font-size: 16px;
background: #6ab0de;
color: #FFF;
display: block;
margin: -12px;
margin-bottom: 10px !important;
padding: 6px 12px;
line-height: 1;
}
.admonition p{
margin: auto;
font-family: 'Palatino Linotype','Book Antiqua',Palatino,STKaiti,KaiTi,'楷体',SimKai,DFKai-SB,NSimSun,serif;
}
.admonition a{
color: red;
}
.important, .attention {
display: block;
margin: 20px;
padding: 15px;
color: #444;
border-radius: 5px;
}
.important {
background-color: #D8F5D8;
border: 2px solid #AFDFAF;
}
.attention {
background-color: #FFD2D2;
border: 2px solid #E0B3B3;
}
.note {
display: block;
padding: 12px;
margin: 20px;
color: #444;
border-radius: 5px;
background-color: #E7F2FA;
border: 2px solid #6AB0DE;
}