forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_notes.scss
88 lines (69 loc) · 1.52 KB
/
_notes.scss
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
* note, important, and important admonition styles
*/
$note-color: #1488C6;
$important-color: #aa6708;
$warning-color: #ce4844;
blockquote {
border-left-color: $note-color;
}
blockquote > p:first-child {
margin-top: 0;
font-weight: 700;
color: $note-color;
}
blockquote > p:first-child::before {
content: 'Note: ';
}
blockquote.note-vanilla > p:first-child::before {
content: '\f058 \00a0';
font-family: FontAwesome;
}
blockquote.important {
border-left-color: $important-color;
}
blockquote.important > p:first-child {
color: $important-color;
}
blockquote.important > p:first-child::before {
content: 'Important: ';
}
blockquote.important-vanilla {
border-left-color: $important-color;
}
blockquote.important-vanilla > p:first-child {
color: $important-color;
}
blockquote.important-vanilla > p:first-child::before {
content: '\f06a \00a0';
font-family: FontAwesome;
}
blockquote.warning {
border-left-color: $warning-color;
}
blockquote.warning > p:first-child {
color: $warning-color;
}
blockquote.warning > p:first-child::before {
content: 'Warning: ';
}
blockquote.warning-vanilla {
border-left-color: $warning-color;
}
blockquote.warning-vanilla > p:first-child {
color: $warning-color;
}
blockquote.warning-vanilla > p:first-child::before {
content: '\f057 \00a0';
font-family: FontAwesome;
}
/* Maintain backwards compatibility with old
* note style
*/
blockquote > p:only-child {
font-weight: inherit;
color: inherit;
}
blockquote > p:only-child::before {
content: none;
}