aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/github-markdown.css
diff options
context:
space:
mode:
Diffstat (limited to 'doc/github-markdown.css')
-rw-r--r--doc/github-markdown.css277
1 files changed, 277 insertions, 0 deletions
diff --git a/doc/github-markdown.css b/doc/github-markdown.css
new file mode 100644
index 00000000..2b853b3f
--- /dev/null
+++ b/doc/github-markdown.css
@@ -0,0 +1,277 @@
1body {
2 font-family: Helvetica, arial, sans-serif;
3 font-size: 14px;
4 line-height: 1.6;
5 padding-top: 10px;
6 padding-bottom: 10px;
7 background-color: white;
8 padding: 10px 20%; }
9
10body > *:first-child {
11 margin-top: 0 !important; }
12body > *:last-child {
13 margin-bottom: 0 !important; }
14
15a {
16 color: #4183C4; }
17a.absent {
18 color: #cc0000; }
19a.anchor {
20 display: block;
21 padding-left: 30px;
22 margin-left: -30px;
23 cursor: pointer;
24 position: absolute;
25 top: 0;
26 left: 0;
27 bottom: 0; }
28
29h1, h2, h3, h4, h5, h6 {
30 margin: 20px 0 10px;
31 padding: 0;
32 font-weight: bold;
33 -webkit-font-smoothing: antialiased;
34 cursor: text;
35 position: relative; }
36
37h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
38 background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;
39 text-decoration: none; }
40
41h1 tt, h1 code {
42 font-size: inherit; }
43
44h2 tt, h2 code {
45 font-size: inherit; }
46
47h3 tt, h3 code {
48 font-size: inherit; }
49
50h4 tt, h4 code {
51 font-size: inherit; }
52
53h5 tt, h5 code {
54 font-size: inherit; }
55
56h6 tt, h6 code {
57 font-size: inherit; }
58
59h1 {
60 font-size: 28px;
61 color: black; }
62
63h2 {
64 font-size: 24px;
65 border-bottom: 1px solid #cccccc;
66 color: black; }
67
68h3 {
69 font-size: 18px; }
70
71h4 {
72 font-size: 16px; }
73
74h5 {
75 font-size: 14px; }
76
77h6 {
78 color: #777777;
79 font-size: 14px; }
80
81p, blockquote, ol, dl, table, pre {
82 margin: 15px 0; }
83
84hr {
85 background: transparent url("../../images/modules/pulls/dirty-shade.png") repeat-x 0 0;
86 border: 0 none;
87 color: #cccccc;
88 height: 4px;
89 padding: 0; }
90
91body > h2:first-child {
92 margin-top: 0;
93 padding-top: 0; }
94body > h1:first-child {
95 margin-top: 0;
96 padding-top: 0; }
97 body > h1:first-child + h2 {
98 margin-top: 0;
99 padding-top: 0; }
100body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
101 margin-top: 0;
102 padding-top: 0; }
103
104a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
105 margin-top: 0;
106 padding-top: 0; }
107
108h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
109 margin-top: 0; }
110
111li p.first {
112 display: inline-block; }
113
114ul, ol {
115 padding-left: 30px; }
116
117ul :first-child, ol :first-child {
118 margin-top: 0; }
119
120ul :last-child, ol :last-child {
121 margin-bottom: 0; }
122
123dl {
124 padding: 0; }
125 dl dt {
126 font-size: 14px;
127 font-weight: bold;
128 font-style: italic;
129 padding: 0;
130 margin: 15px 0 5px; }
131 dl dt:first-child {
132 padding: 0; }
133 dl dt > :first-child {
134 margin-top: 0; }
135 dl dt > :last-child {
136 margin-bottom: 0; }
137 dl dd {
138 margin: 0 0 15px;
139 padding: 0 15px; }
140 dl dd > :first-child {
141 margin-top: 0; }
142 dl dd > :last-child {
143 margin-bottom: 0; }
144
145blockquote {
146 border-left: 4px solid #dddddd;
147 padding: 0 15px;
148 color: #777777; }
149 blockquote > :first-child {
150 margin-top: 0; }
151 blockquote > :last-child {
152 margin-bottom: 0; }
153
154table {
155 padding: 0; }
156 table tr {
157 border-top: 1px solid #cccccc;
158 background-color: white;
159 margin: 0;
160 padding: 0; }
161 table tr:nth-child(2n) {
162 background-color: #f8f8f8; }
163 table tr th {
164 font-weight: bold;
165 border: 1px solid #cccccc;
166 text-align: left;
167 margin: 0;
168 padding: 6px 13px; }
169 table tr td {
170 border: 1px solid #cccccc;
171 text-align: left;
172 margin: 0;
173 padding: 6px 13px; }
174 table tr th :first-child, table tr td :first-child {
175 margin-top: 0; }
176 table tr th :last-child, table tr td :last-child {
177 margin-bottom: 0; }
178
179img {
180 max-width: 100%; }
181
182span.frame {
183 display: block;
184 overflow: hidden; }
185 span.frame > span {
186 border: 1px solid #dddddd;
187 display: block;
188 float: left;
189 overflow: hidden;
190 margin: 13px 0 0;
191 padding: 7px;
192 width: auto; }
193 span.frame span img {
194 display: block;
195 float: left; }
196 span.frame span span {
197 clear: both;
198 color: #333333;
199 display: block;
200 padding: 5px 0 0; }
201span.align-center {
202 display: block;
203 overflow: hidden;
204 clear: both; }
205 span.align-center > span {
206 display: block;
207 overflow: hidden;
208 margin: 13px auto 0;
209 text-align: center; }
210 span.align-center span img {
211 margin: 0 auto;
212 text-align: center; }
213span.align-right {
214 display: block;
215 overflow: hidden;
216 clear: both; }
217 span.align-right > span {
218 display: block;
219 overflow: hidden;
220 margin: 13px 0 0;
221 text-align: right; }
222 span.align-right span img {
223 margin: 0;
224 text-align: right; }
225span.float-left {
226 display: block;
227 margin-right: 13px;
228 overflow: hidden;
229 float: left; }
230 span.float-left span {
231 margin: 13px 0 0; }
232span.float-right {
233 display: block;
234 margin-left: 13px;
235 overflow: hidden;
236 float: right; }
237 span.float-right > span {
238 display: block;
239 overflow: hidden;
240 margin: 13px auto 0;
241 text-align: right; }
242
243code, tt {
244 margin: 0 2px;
245 padding: 0 5px;
246 white-space: nowrap;
247 border: 1px solid #eaeaea;
248 background-color: #f8f8f8;
249 border-radius: 3px; }
250
251pre code {
252 margin: 0;
253 padding: 0;
254 white-space: pre;
255 border: none;
256 background: transparent; }
257
258.highlight pre {
259 background-color: #f8f8f8;
260 border: 1px solid #cccccc;
261 font-size: 13px;
262 line-height: 19px;
263 overflow: auto;
264 padding: 6px 10px;
265 border-radius: 3px; }
266
267pre {
268 background-color: #f8f8f8;
269 border: 1px solid #cccccc;
270 font-size: 13px;
271 line-height: 19px;
272 overflow: auto;
273 padding: 6px 10px;
274 border-radius: 3px; }
275 pre code, pre tt {
276 background-color: transparent;
277 border: none; }