-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
70 lines (63 loc) · 1.47 KB
/
index.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<style>
p.hint.tip,
p.hint.error,
p.hint.warn {
letter-spacing: 0;
box-sizing: border-box;
font-size: inherit;
line-height: 1.6rem;
word-spacing: 0.05rem;
background-color: rgba(238, 238, 238, 0.5);
border-bottom-right-radius: 2px;
border-top-right-radius: 2px;
padding: 8px 12px 8px 24px;
margin-bottom: 16px;
position: relative;
}
p.hint.tip:before,
p.hint.error:before,
p.hint.warn:before {
border-radius: 100%;
color: #fff;
content: '!';
font-size: 14px;
font-weight: 700;
left: -12px;
line-height: 20px;
position: absolute;
height: 20px;
width: 20px;
text-align: center;
top: 12px;
}
p.hint.tip {
border-left: 4px solid #27ab83;
}
p.hint.tip:before {
background-color: #27ab83;
}
p.hint.warn {
border-left: 4px solid #f0b429;
}
p.hint.warn:before {
background-color: #f0b429;
}
p.hint.error {
border-left: 4px solid #ef4e4e;
}
p.hint.error:before {
background-color: #ef4e4e;
}
</style>
<p class="hint tip">
You can check out the full source code of this example
<a href="https://github.com/sergioramos/remark-hint">here</a>.
</p>
<p class="hint warn">
You can check out the full source code of this example
<a href="https://github.com/sergioramos/remark-hint">here</a>.
</p>
<p class="hint error">
You can check out the full source code of this example
<a href="https://github.com/sergioramos/remark-hint">here</a>.
</p>