forked from tajmone/pandoc-goodies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GFM-Alerts.css
161 lines (143 loc) · 2.48 KB
/
GFM-Alerts.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/*! "GFM-Alerts.css" v2.0 | 2017/11/21 | MIT License (MIT)
Adapted by Tristano Ajmone from "flash.scss" of Primer CSS by GitHub Inc.:
https://github.com/primer/primer/blob/master/modules/primer-alerts/lib/flash.scss
http://primercss.io/archive/alerts/
Copyright (c) 2017 Tristano Ajmone.
Copyright (c) 2017 GitHub Inc.
*/
.Alert,
.Warning,
.Error,
.Success,
.Note {
padding: 11px;
margin-bottom: 24px;
border-style: solid;
border-width: 1px;
border-radius: 4px;
}
.Alert p,
.Warning p,
.Error p,
.Success p,
.Note p {
margin-top: 0;
}
.Alert p:last-child,
.Warning p:last-child,
.Error p:last-child,
.Success p:last-child,
.Note p:last-child {
margin-bottom: 0;
}
.Alert {
color: #224466;
background-color: #E2EEF9;
border-color: #BAC6D3;
}
.Warning {
color: #4C4A42;
background-color: #FFF9EA;
border-color: #DFD8C2;
}
.Error {
color: #991111;
background-color: #FCDEDE;
border-color: #D2B2B2;
}
.Success {
color: #22662C;
background-color: #E2F9E5;
border-color: #BAD3BE;
}
.Note {
color: #2F363D;
background-color: #F6F8FA;
border-color: #D5D8DA;
}
.Alert h1,
.Alert h2,
.Alert h3,
.Alert h4,
.Alert h5,
.Alert h6 {
color: #224466;
margin-bottom: 0;
}
.Warning h1,
.Warning h2,
.Warning h3,
.Warning h4,
.Warning h5,
.Warning h6 {
color: #4C4A42;
margin-bottom: 0;
}
.Error h1,
.Error h2,
.Error h3,
.Error h4,
.Error h5,
.Error h6 {
color: #991111;
margin-bottom: 0;
}
.Success h1,
.Success h2,
.Success h3,
.Success h4,
.Success h5,
.Success h6 {
color: #22662C;
margin-bottom: 0;
}
.Note h1,
.Note h2,
.Note h3,
.Note h4,
.Note h5,
.Note h6 {
color: #2F363D;
margin-bottom: 0;
}
.Alert h1:first-child,
.Alert h2:first-child,
.Alert h3:first-child,
.Alert h4:first-child,
.Alert h5:first-child,
.Alert h6:first-child {
margin-top: 0;
}
.Warning h1:first-child,
.Warning h2:first-child,
.Warning h3:first-child,
.Warning h4:first-child,
.Warning h5:first-child,
.Warning h6:first-child {
margin-top: 0;
}
.Error h1:first-child,
.Error h2:first-child,
.Error h3:first-child,
.Error h4:first-child,
.Error h5:first-child,
.Error h6:first-child {
margin-top: 0;
}
.Success h1:first-child,
.Success h2:first-child,
.Success h3:first-child,
.Success h4:first-child,
.Success h5:first-child,
.Success h6:first-child {
margin-top: 0;
}
.Note h1:first-child,
.Note h2:first-child,
.Note h3:first-child,
.Note h4:first-child,
.Note h5:first-child,
.Note h6:first-child {
margin-top: 0;
}
/*# sourceMappingURL=GFM-Alerts.css.map */