jekyll 0.12.1 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jekyll might be problematic. Click here for more details.

Files changed (124) hide show
  1. data/CONTRIBUTING.md +67 -0
  2. data/Gemfile +1 -1
  3. data/History.txt +50 -6
  4. data/README.textile +10 -6
  5. data/Rakefile +74 -36
  6. data/bin/jekyll +78 -276
  7. data/cucumber.yml +3 -1
  8. data/features/create_sites.feature +1 -1
  9. data/features/drafts.feature +25 -0
  10. data/features/site_configuration.feature +1 -1
  11. data/features/step_definitions/jekyll_steps.rb +13 -3
  12. data/features/support/env.rb +3 -1
  13. data/jekyll.gemspec +73 -17
  14. data/lib/jekyll.rb +31 -21
  15. data/lib/jekyll/command.rb +12 -0
  16. data/lib/jekyll/commands/build.rb +81 -0
  17. data/lib/jekyll/commands/serve.rb +28 -0
  18. data/lib/jekyll/converter.rb +1 -3
  19. data/lib/jekyll/converters/identity.rb +13 -14
  20. data/lib/jekyll/converters/markdown.rb +128 -128
  21. data/lib/jekyll/converters/textile.rb +37 -37
  22. data/lib/jekyll/convertible.rb +6 -4
  23. data/lib/jekyll/core_ext.rb +9 -1
  24. data/lib/jekyll/draft.rb +35 -0
  25. data/lib/jekyll/errors.rb +1 -3
  26. data/lib/jekyll/filters.rb +13 -4
  27. data/lib/jekyll/generator.rb +1 -4
  28. data/lib/jekyll/generators/pagination.rb +46 -46
  29. data/lib/jekyll/layout.rb +0 -2
  30. data/lib/jekyll/mime.types +1588 -0
  31. data/lib/jekyll/page.rb +24 -8
  32. data/lib/jekyll/plugin.rb +0 -2
  33. data/lib/jekyll/post.rb +66 -40
  34. data/lib/jekyll/site.rb +96 -20
  35. data/lib/jekyll/static_file.rb +0 -2
  36. data/lib/jekyll/tags/gist.rb +19 -0
  37. data/lib/jekyll/tags/highlight.rb +63 -62
  38. data/lib/jekyll/tags/include.rb +25 -25
  39. data/lib/jekyll/tags/post_url.rb +30 -25
  40. data/script/bootstrap +2 -0
  41. data/site/.gitignore +4 -0
  42. data/site/CNAME +1 -0
  43. data/site/README +1 -0
  44. data/site/_config.yml +5 -0
  45. data/site/_includes/analytics.html +32 -0
  46. data/site/_includes/docs_contents.html +82 -0
  47. data/site/_includes/footer.html +15 -0
  48. data/site/_includes/header.html +26 -0
  49. data/site/_includes/section_nav.html +22 -0
  50. data/site/_includes/top.html +14 -0
  51. data/site/_layouts/default.html +12 -0
  52. data/site/_layouts/docs.html +21 -0
  53. data/site/_posts/2012-07-01-configuration.md +277 -0
  54. data/site/_posts/2012-07-01-contributing.md +66 -0
  55. data/site/_posts/2012-07-01-deployment-methods.md +108 -0
  56. data/site/_posts/2012-07-01-extras.md +103 -0
  57. data/site/_posts/2012-07-01-frontmatter.md +120 -0
  58. data/site/_posts/2012-07-01-github-pages.md +34 -0
  59. data/site/_posts/2012-07-01-heroku.md +8 -0
  60. data/site/_posts/2012-07-01-home.md +47 -0
  61. data/site/_posts/2012-07-01-installation.md +43 -0
  62. data/site/_posts/2012-07-01-migrations.md +180 -0
  63. data/site/_posts/2012-07-01-pages.md +62 -0
  64. data/site/_posts/2012-07-01-pagination.md +116 -0
  65. data/site/_posts/2012-07-01-permalinks.md +163 -0
  66. data/site/_posts/2012-07-01-plugins.md +384 -0
  67. data/site/_posts/2012-07-01-posts.md +106 -0
  68. data/site/_posts/2012-07-01-resources.md +49 -0
  69. data/site/_posts/2012-07-01-sites.md +28 -0
  70. data/site/_posts/2012-07-01-structure.md +95 -0
  71. data/site/_posts/2012-07-01-templates.md +217 -0
  72. data/site/_posts/2012-07-01-troubleshooting.md +108 -0
  73. data/site/_posts/2012-07-01-usage.md +38 -0
  74. data/site/_posts/2012-07-01-variables.md +166 -0
  75. data/site/css/grid.css +62 -0
  76. data/site/css/normalize.css +504 -0
  77. data/site/css/pygments.css +70 -0
  78. data/site/css/style.css +697 -0
  79. data/site/docs/index.html +11 -0
  80. data/site/favicon.png +0 -0
  81. data/site/img/article-footer.png +0 -0
  82. data/site/img/footer-arrow.png +0 -0
  83. data/site/img/footer-logo.png +0 -0
  84. data/site/img/logo-2x.png +0 -0
  85. data/site/img/octojekyll.png +0 -0
  86. data/site/img/tube.png +0 -0
  87. data/site/img/tube1x.png +0 -0
  88. data/site/index.html +77 -0
  89. data/site/js/modernizr-2.5.3.min.js +4 -0
  90. data/test/fixtures/broken_front_matter2.erb +4 -0
  91. data/test/fixtures/broken_front_matter3.erb +7 -0
  92. data/test/fixtures/exploit_front_matter.erb +4 -0
  93. data/test/helper.rb +16 -0
  94. data/test/source/_posts/2013-01-12-nil-layout.textile +6 -0
  95. data/test/source/_posts/2013-01-12-no-layout.textile +5 -0
  96. data/test/source/contacts/bar.html +5 -0
  97. data/test/source/contacts/index.html +5 -0
  98. data/test/test_configuration.rb +7 -8
  99. data/test/test_convertible.rb +29 -0
  100. data/test/test_core_ext.rb +22 -0
  101. data/test/test_generated_site.rb +1 -1
  102. data/test/test_kramdown.rb +3 -3
  103. data/test/test_page.rb +88 -2
  104. data/test/test_post.rb +42 -6
  105. data/test/test_rdiscount.rb +1 -1
  106. data/test/test_redcarpet.rb +1 -1
  107. data/test/test_redcloth.rb +6 -6
  108. data/test/test_site.rb +73 -8
  109. data/test/test_tags.rb +36 -13
  110. metadata +150 -19
  111. data/lib/jekyll/migrators/csv.rb +0 -26
  112. data/lib/jekyll/migrators/drupal.rb +0 -103
  113. data/lib/jekyll/migrators/enki.rb +0 -49
  114. data/lib/jekyll/migrators/joomla.rb +0 -53
  115. data/lib/jekyll/migrators/marley.rb +0 -52
  116. data/lib/jekyll/migrators/mephisto.rb +0 -84
  117. data/lib/jekyll/migrators/mt.rb +0 -86
  118. data/lib/jekyll/migrators/posterous.rb +0 -67
  119. data/lib/jekyll/migrators/rss.rb +0 -47
  120. data/lib/jekyll/migrators/textpattern.rb +0 -58
  121. data/lib/jekyll/migrators/tumblr.rb +0 -195
  122. data/lib/jekyll/migrators/typo.rb +0 -51
  123. data/lib/jekyll/migrators/wordpress.rb +0 -294
  124. data/lib/jekyll/migrators/wordpressdotcom.rb +0 -70
@@ -0,0 +1,70 @@
1
+ /*.highlight { background: #333333; color: #ffffff}*/
2
+ .highlight .hll { background-color: #ffffcc }
3
+ .highlight .c { color: #87ceeb} /* Comment */
4
+ .highlight .err { color: #ffffff} /* Error */
5
+ .highlight .g { color: #ffffff} /* Generic */
6
+ .highlight .k { color: #f0e68c} /* Keyword */
7
+ .highlight .l { color: #ffffff} /* Literal */
8
+ .highlight .n { color: #ffffff} /* Name */
9
+ .highlight .o { color: #ffffff} /* Operator */
10
+ .highlight .x { color: #ffffff} /* Other */
11
+ .highlight .p { color: #ffffff} /* Punctuation */
12
+ .highlight .cm { color: #87ceeb} /* Comment.Multiline */
13
+ .highlight .cp { color: #cd5c5c} /* Comment.Preproc */
14
+ .highlight .c1 { color: #87ceeb} /* Comment.Single */
15
+ .highlight .cs { color: #87ceeb} /* Comment.Special */
16
+ .highlight .gd { color: #0000c0; font-weight: bold; background-color: #008080 } /* Generic.Deleted */
17
+ .highlight .ge { color: #c000c0; text-decoration: underline} /* Generic.Emph */
18
+ .highlight .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */
19
+ .highlight .gh { color: #cd5c5c} /* Generic.Heading */
20
+ .highlight .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */
21
+ .highlight .go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output */
22
+ .highlight .gp { color: #ffffff} /* Generic.Prompt */
23
+ .highlight .gs { color: #ffffff} /* Generic.Strong */
24
+ .highlight .gu { color: #cd5c5c} /* Generic.Subheading */
25
+ .highlight .gt { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Traceback */
26
+ .highlight .kc { color: #f0e68c} /* Keyword.Constant */
27
+ .highlight .kd { color: #f0e68c} /* Keyword.Declaration */
28
+ .highlight .kn { color: #f0e68c} /* Keyword.Namespace */
29
+ .highlight .kp { color: #f0e68c} /* Keyword.Pseudo */
30
+ .highlight .kr { color: #f0e68c} /* Keyword.Reserved */
31
+ .highlight .kt { color: #bdb76b} /* Keyword.Type */
32
+ .highlight .ld { color: #ffffff} /* Literal.Date */
33
+ .highlight .m { color: #ffffff} /* Literal.Number */
34
+ .highlight .s { color: #ffffff} /* Literal.String */
35
+ .highlight .na { color: #ffffff} /* Name.Attribute */
36
+ .highlight .nb { color: #ffffff} /* Name.Builtin */
37
+ .highlight .nc { color: #ffffff} /* Name.Class */
38
+ .highlight .no { color: #ffa0a0} /* Name.Constant */
39
+ .highlight .nd { color: #ffffff} /* Name.Decorator */
40
+ .highlight .ni { color: #ffdead} /* Name.Entity */
41
+ .highlight .ne { color: #ffffff} /* Name.Exception */
42
+ .highlight .nf { color: #ffffff} /* Name.Function */
43
+ .highlight .nl { color: #ffffff} /* Name.Label */
44
+ .highlight .nn { color: #ffffff} /* Name.Namespace */
45
+ .highlight .nx { color: #ffffff} /* Name.Other */
46
+ .highlight .py { color: #ffffff} /* Name.Property */
47
+ .highlight .nt { color: #f0e68c} /* Name.Tag */
48
+ .highlight .nv { color: #98fb98} /* Name.Variable */
49
+ .highlight .ow { color: #ffffff} /* Operator.Word */
50
+ .highlight .w { color: #ffffff} /* Text.Whitespace */
51
+ .highlight .mf { color: #ffffff} /* Literal.Number.Float */
52
+ .highlight .mh { color: #ffffff} /* Literal.Number.Hex */
53
+ .highlight .mi { color: #ffffff} /* Literal.Number.Integer */
54
+ .highlight .mo { color: #ffffff} /* Literal.Number.Oct */
55
+ .highlight .sb { color: #ffffff} /* Literal.String.Backtick */
56
+ .highlight .sc { color: #ffffff} /* Literal.String.Char */
57
+ .highlight .sd { color: #ffffff} /* Literal.String.Doc */
58
+ .highlight .s2 { color: #ffffff} /* Literal.String.Double */
59
+ .highlight .se { color: #ffffff} /* Literal.String.Escape */
60
+ .highlight .sh { color: #ffffff} /* Literal.String.Heredoc */
61
+ .highlight .si { color: #ffffff} /* Literal.String.Interpol */
62
+ .highlight .sx { color: #ffffff} /* Literal.String.Other */
63
+ .highlight .sr { color: #ffffff} /* Literal.String.Regex */
64
+ .highlight .s1 { color: #ffffff} /* Literal.String.Single */
65
+ .highlight .ss { color: #ffffff} /* Literal.String.Symbol */
66
+ .highlight .bp { color: #ffffff} /* Name.Builtin.Pseudo */
67
+ .highlight .vc { color: #98fb98} /* Name.Variable.Class */
68
+ .highlight .vg { color: #98fb98} /* Name.Variable.Global */
69
+ .highlight .vi { color: #98fb98} /* Name.Variable.Instance */
70
+ .highlight .il { color: #ffffff} /* Literal.Number.Integer.Long */
@@ -0,0 +1,697 @@
1
+ /* Base */
2
+
3
+ body {
4
+ font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
5
+ font-size: 21px;
6
+ font-weight: 300;
7
+ color: #ddd;
8
+ background: #333;
9
+ border-top: 5px solid #fc0;
10
+ box-shadow: inset 0 3px 30px rgba(0,0,0,.3);
11
+ text-shadow: 0 1px 3px rgba(0,0,0,.5);
12
+ }
13
+
14
+ /* Sections */
15
+
16
+ body > header, body > section, body > footer {
17
+ float: left;
18
+ width: 100%;
19
+ clear: both;
20
+ }
21
+
22
+ .content {
23
+ padding: 20px 0;
24
+ }
25
+
26
+ /* Header */
27
+
28
+ body > header {
29
+ padding: 40px 0 10px;
30
+ }
31
+
32
+ body > header .content {
33
+ padding: 0;
34
+ }
35
+
36
+ body > header h1 img {
37
+ margin-left: -30px;
38
+ }
39
+
40
+ body > header h1 span {
41
+ display: none;
42
+ }
43
+
44
+ /* Navigation */
45
+
46
+ nav {
47
+ margin-top: 52px;
48
+ }
49
+
50
+ nav ul {
51
+ padding: 0;
52
+ margin: 0;
53
+ }
54
+
55
+ nav li {
56
+ display: inline-block;
57
+ margin-left: 10px;
58
+ }
59
+
60
+ nav li a {
61
+ border-radius: 5px;
62
+ font-weight: 800;
63
+ font-size: 14px;
64
+ padding: 0.5em 1em;
65
+ text-shadow: none;
66
+ text-transform: uppercase;
67
+ transition: all .25s;
68
+ -moz-transition: all .25s;
69
+ -webkit-transition: all .25s;
70
+ }
71
+
72
+ nav li a:hover {
73
+ background: #252525;
74
+ box-shadow: inset 0 1px 3px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.1);
75
+ text-shadow: 0 1px 3px rgba(0,0,0,.5);
76
+ }
77
+
78
+ nav li.current a {
79
+ background: #fc0;
80
+ color: #222;
81
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.5);
82
+ text-shadow: 0 1px 0 rgba(255,255,255,.3);
83
+ }
84
+
85
+ /* Footer */
86
+
87
+ body > footer {
88
+ background: #222;
89
+ font-size: 16px;
90
+ padding-bottom: 5px;
91
+ color: #888;
92
+ margin-top: 40px;
93
+ }
94
+
95
+ body > footer a {
96
+ color: #fff;
97
+ }
98
+
99
+ body > footer .align-right p, body > footer .align-right img {
100
+ display: inline-block;
101
+ }
102
+
103
+ body > footer .align-right img {
104
+ position: relative;
105
+ top: 14px;
106
+ margin-left: 5px;
107
+ }
108
+
109
+ /* Utilities */
110
+
111
+ .align-left {
112
+ text-align: left;
113
+ }
114
+
115
+ .align-right {
116
+ text-align: right;
117
+ }
118
+
119
+ .align-center {
120
+ text-align: center;
121
+ }
122
+
123
+ /* Sections */
124
+
125
+ .intro .content {
126
+ padding: 10px 0 40px;
127
+ }
128
+
129
+ .intro p {
130
+ font-size: 3.2em;
131
+ line-height: 1em;
132
+ margin: 0;
133
+ }
134
+
135
+ .features .content {
136
+ padding: 20px 0 40px;
137
+ }
138
+
139
+ .quickstart {
140
+ background: #3F1F1F;
141
+ color: #fff;
142
+ margin: 60px 0 80px;
143
+ box-shadow: inset 0 3px 10px rgba(0,0,0,.4);
144
+ }
145
+
146
+ .quickstart .content {
147
+ padding: 0px 0;
148
+ }
149
+
150
+ .quickstart .code {
151
+ margin: -30px 0;
152
+ float: right;
153
+ }
154
+
155
+ .quickstart h4 {
156
+ margin: 48px 0 0;
157
+ font-size: 28px;
158
+ text-shadow: 0 1px 3px rgba(0,0,0,.8);
159
+ }
160
+
161
+ .free-hosting .content {
162
+ /*margin-bottom: 40px;*/
163
+ position: relative;
164
+ }
165
+
166
+ .free-hosting .pane {
167
+ background: #444;
168
+ border-radius: 10px;
169
+ padding: 40px 70px 30px;
170
+ /*color: #222;*/
171
+ text-shadow: none;
172
+ }
173
+
174
+ .free-hosting img {
175
+ float: left;
176
+ margin: -20px 40px -40px -20px;
177
+ }
178
+
179
+ .free-hosting h2 {
180
+ /*font-weight: 800;*/
181
+ }
182
+ .free-hosting p,
183
+ .free-hosting a {
184
+ font-weight: inherit;
185
+ }
186
+
187
+ .free-hosting p {
188
+ margin: 0.75em;
189
+ }
190
+
191
+ .free-hosting a {
192
+ /*color: #c00;*/
193
+ }
194
+
195
+ .free-hosting .content:after {
196
+ content: " ";
197
+ float: right;
198
+ background: url(../img/footer-arrow.png) top left no-repeat;
199
+ width: 73px;
200
+ height: 186px;
201
+ position: absolute;
202
+ right: 30px;
203
+ bottom: -60px;
204
+ }
205
+
206
+ /* Code */
207
+
208
+ .quickstart .code {
209
+ display: block;
210
+ background: #3d3d3d;
211
+ border-radius: 5px;
212
+ font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
213
+ line-height: 1.3em;
214
+ box-shadow: 0 5px 30px rgba(0,0,0,.3);
215
+ }
216
+
217
+ .quickstart .code .title {
218
+ display: block;
219
+ text-align: center;
220
+ margin: 0;
221
+ padding: 5px 0;
222
+ border-top-left-radius: 5px;
223
+ border-top-right-radius: 5px;
224
+ box-shadow: box-shadow: 0 3px 10px rgba(0,0,0,.5);
225
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
226
+ font-size: 16px;
227
+ font-weight: normal;
228
+ color: #444;
229
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
230
+ background: #f7f7f7;
231
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjY2ZjZmNmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2FhYWFhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
232
+ background: -moz-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%);
233
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(7%,#cfcfcf), color-stop(100%,#aaaaaa));
234
+ background: -webkit-linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
235
+ background: -o-linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
236
+ background: -ms-linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
237
+ background: linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%);
238
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#aaaaaa',GradientType=0 );
239
+ border-bottom: 1px solid #111;
240
+ }
241
+
242
+ .quickstart .code .shell {
243
+ padding: 20px;
244
+ text-shadow: none;
245
+ }
246
+
247
+ .quickstart .code .line {
248
+ display: block;
249
+ margin: 0;
250
+ padding: 0;
251
+ }
252
+
253
+ .quickstart .code .line span {
254
+ display: inline-block;
255
+ }
256
+
257
+ .quickstart .code .path {
258
+ color: #87ceeb;
259
+ }
260
+
261
+ .quickstart .code .prompt {
262
+ color: #cd5c5c;
263
+ }
264
+
265
+ .quickstart .code .command {
266
+ color: #f0e68c;
267
+ }
268
+
269
+ .quickstart .code .output {
270
+ color: #888;
271
+ }
272
+
273
+ /* Documentation */
274
+
275
+ .docs .content {
276
+ padding: 0;
277
+ }
278
+
279
+ .docs article {
280
+ background: #444;
281
+ border-radius: 10px;
282
+ padding: 40px 40px 30px;
283
+ box-shadow: 0 3px 10px rgba(0,0,0,.1);
284
+ min-height: 800px;
285
+ }
286
+
287
+ .docs aside {
288
+ padding-top: 30px;
289
+ }
290
+
291
+ .docs aside h4 {
292
+ text-transform: uppercase;
293
+ font-size: 14px;
294
+ font-weight: 700;
295
+ padding: 0 0 10px 30px;
296
+ margin-left: -30px;
297
+ display: inline-block;
298
+ border-bottom: 1px solid #c00;
299
+ }
300
+
301
+ .docs aside ul {
302
+ padding-left: 0;
303
+ }
304
+
305
+ .docs aside li {
306
+ list-style-type: none;
307
+ }
308
+
309
+ .docs aside li a {
310
+ font-size: 16px;
311
+ position: relative
312
+ }
313
+
314
+ .docs aside li.current a:before {
315
+ content: "";
316
+ border-color: transparent transparent transparent #444;
317
+ border-style: solid;
318
+ border-width: 10px;
319
+ width: 0;
320
+ height: 0;
321
+ position: absolute;
322
+ top: 0;
323
+ left: -30px;
324
+ }
325
+
326
+ .section-nav {
327
+ text-align: center;
328
+ padding-top: 40px;
329
+ position: relative;
330
+ background: url(../img/article-footer.png) top center no-repeat;
331
+ }
332
+
333
+ .section-nav > div {
334
+ width: 49.5%;
335
+ }
336
+
337
+ .section-nav a, .section-nav span {
338
+ color: #fff;
339
+ font-size: 16px;
340
+ text-transform: uppercase;
341
+ font-weight: 700;
342
+ padding: 8px 12px 10px;
343
+ border-radius: 5px;
344
+ /*border: 1px solid #333;*/
345
+ background: #999;
346
+ box-shadow: 0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5);
347
+ background: #777;
348
+ }
349
+
350
+ .section-nav a:hover {
351
+ color: #fff;
352
+ background: #888;
353
+ }
354
+
355
+ .section-nav .next, .section-nav .prev {
356
+ position: relative;
357
+ }
358
+
359
+ .section-nav .next:after, .section-nav .prev:before {
360
+ font-size: 36px;
361
+ color: #222;
362
+ font-weight: 800;
363
+ text-shadow: 0 1px 0 rgba(255,255,255,.4);
364
+ position: absolute;
365
+ top: -7px;
366
+ }
367
+
368
+ .section-nav .next:after {
369
+ content: "›";
370
+ right: 10px;
371
+ }
372
+
373
+ .section-nav .prev:before {
374
+ content: "‹";
375
+ left: 10px;
376
+ }
377
+
378
+ .section-nav .prev, .section-nav .prev:hover {
379
+ /*float: left;*/
380
+ padding-left: 30px;
381
+ }
382
+
383
+ .section-nav .next, .section-nav .next:hover {
384
+ /*float: right;*/
385
+ padding-right: 30px;
386
+ }
387
+
388
+ .section-nav .disabled {
389
+ opacity: .5;
390
+ /*filter: alpha*/
391
+ cursor: default;
392
+ }
393
+
394
+
395
+ /* Code Highlighting */
396
+
397
+
398
+ pre, code {
399
+ white-space: pre;
400
+ display: inline-block;
401
+ margin: 0;
402
+ padding: 0;
403
+ font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
404
+ font-size: 16px;
405
+ padding: 0 .5em;
406
+ line-height: 1.8em;
407
+ }
408
+
409
+ .highlight, p > pre, p > code {
410
+ background: #333;
411
+ color: #fff;
412
+ border-radius: 5px;
413
+ box-shadow: inset 0 1px 10px rgba(0,0,0,.3),
414
+ 0 1px 0 rgba(255,255,255,.1),
415
+ 0 -1px 0 rgba(0,0,0,.5);
416
+ }
417
+
418
+ .highlight {
419
+ padding: 10px 0;
420
+ width: 100%;
421
+ overflow: scroll;
422
+ }
423
+
424
+
425
+ /* HTML Elements */
426
+
427
+ h1, h2, h3, h4, h5, h6 {
428
+ margin: 0;
429
+ }
430
+
431
+ a {
432
+ color: #fc0;
433
+ text-decoration: none;
434
+ transition: all .25s;
435
+ -moz-transition: all .25s;
436
+ -webkit-transition: all .25s;
437
+ }
438
+
439
+ a:hover {
440
+ color: #f90;
441
+ }
442
+
443
+ strong {
444
+ font-weight: 700;
445
+ }
446
+
447
+ p {
448
+ line-height: 1.5em;
449
+ }
450
+
451
+ .left { float: left; }
452
+ .right { float: right; }
453
+ .align-right { text-align: right; }
454
+ .align-left { text-align: left; }
455
+ .align-center { text-align: center; }
456
+
457
+ /* Article HTML */
458
+
459
+ article h2,
460
+ article h3,
461
+ article h4,
462
+ article h5,
463
+ article h6 {
464
+ margin: 1em 0;
465
+ }
466
+
467
+ article h4 {
468
+ color: #fff;
469
+ }
470
+
471
+ h5, h6 {
472
+ font-size: 1em;
473
+ font-style: italic;
474
+ }
475
+
476
+ article ul li p {
477
+ margin: 0;
478
+ }
479
+
480
+ article ul li, article ol li {
481
+ line-height: 1.5em;
482
+ margin-bottom: 0.5em;
483
+ }
484
+
485
+ article ul li blockquote {
486
+ margin: 10px 0;
487
+ }
488
+
489
+ blockquote {
490
+ border-left: 2px solid #777;
491
+ padding-left: 20px;
492
+ font-style: italic;
493
+ font-size: 18px;
494
+ font-weight: 500;
495
+ }
496
+
497
+
498
+ /* Tables */
499
+
500
+ table {
501
+ width: 100%;
502
+ background: #555;
503
+ margin: .5em 0;
504
+ border-radius: 5px;
505
+ box-shadow: 0 1px 3px rgba(0,0,0,.3);
506
+ }
507
+
508
+ thead {
509
+ border-top-left-radius: 5px;
510
+ border-top-right-radius: 5px;
511
+ color: #fff;
512
+ background: #3a3a3a;
513
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNhM2EzYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxZTFlMWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
514
+ background: -moz-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%);
515
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3a3a3a), color-stop(100%,#1e1e1e));
516
+ background: -webkit-linear-gradient(top, #3a3a3a 0%,#1e1e1e 100%);
517
+ background: -o-linear-gradient(top, #3a3a3a 0%,#1e1e1e 100%);
518
+ background: -ms-linear-gradient(top, #3a3a3a 0%,#1e1e1e 100%);
519
+ background: linear-gradient(to bottom, #3a3a3a 0%,#1e1e1e 100%);
520
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#1e1e1e',GradientType=0 );
521
+ }
522
+
523
+ thead th {
524
+ position: relative;
525
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
526
+ }
527
+
528
+ thead th:first-child {
529
+ border-top-left-radius: 5px;
530
+ }
531
+
532
+ thead th:last-child {
533
+ border-top-right-radius: 5px;
534
+ }
535
+
536
+ td {
537
+ padding: .5em .75em;
538
+ }
539
+
540
+ td p {
541
+ margin: 0;
542
+ }
543
+
544
+ th {
545
+ text-transform: uppercase;
546
+ font-size: 16px;
547
+ padding: .5em .75em;
548
+ text-shadow: 0 -1px 0 rgba(0,0,0,.9);
549
+ color: #888;
550
+ }
551
+
552
+ tbody td {
553
+ border-top: 1px solid rgba(0,0,0,.1);
554
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
555
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
556
+ background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
557
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0)));
558
+ background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%);
559
+ background: -o-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%);
560
+ background: -ms-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%);
561
+ background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%);
562
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1affffff', endColorstr='#00ffffff',GradientType=0 );
563
+ }
564
+
565
+ td p {
566
+ font-size: 16px;
567
+ }
568
+
569
+ td p code {
570
+ font-size: 14px;
571
+ }
572
+
573
+ code.option, th .option, code.filter, th .filter {
574
+ color: #50B600;
575
+ }
576
+
577
+ code.flag, th .flag, code.output, th .output {
578
+ color: #049DCE;
579
+ }
580
+
581
+ code.option, code.flag, code.filter, code.output {
582
+ margin-bottom: 2px;
583
+ }
584
+
585
+ /* Note types */
586
+
587
+ .note {
588
+ margin: 30px 0;
589
+ margin-left: -50px;
590
+ padding: 20px 20px 24px;
591
+ padding-left: 50px;
592
+ border-radius: 0px 5px 5px 0px;
593
+ position: relative;
594
+ box-shadow: 0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3);
595
+ background: #7e6d42;
596
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdlNmQ0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1YzRlMzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
597
+ background: -moz-linear-gradient(top, #7e6d42 0%, #5c4e35 100%);
598
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7e6d42), color-stop(100%,#5c4e35));
599
+ background: -webkit-linear-gradient(top, #7e6d42 0%,#5c4e35 100%);
600
+ background: -o-linear-gradient(top, #7e6d42 0%,#5c4e35 100%);
601
+ background: -ms-linear-gradient(top, #7e6d42 0%,#5c4e35 100%);
602
+ background: linear-gradient(to bottom, #7e6d42 0%,#5c4e35 100%);
603
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7e6d42', endColorstr='#5c4e35',GradientType=0 );
604
+ }
605
+
606
+ .note:before {
607
+ content: "";
608
+ position: absolute;
609
+ top: -10px;
610
+ left: 0px;
611
+ border-color: transparent #222 #222 transparent;
612
+ border-style: solid;
613
+ border-width: 5px;
614
+ width: 0;
615
+ height: 0;
616
+ }
617
+
618
+ .note h5, .note p {
619
+ margin: 0;
620
+ color: #fff;
621
+ }
622
+
623
+ .note h5 {
624
+ line-height: 1.5em;
625
+ font-weight: 800;
626
+ font-style: normal;
627
+ }
628
+
629
+ .note p {
630
+ font-weight: 400;
631
+ font-size: .75em;
632
+ }
633
+
634
+ .info {
635
+ background: #0389aa;
636
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAzODlhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDYxN2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
637
+ background: -moz-linear-gradient(top, #0389aa 0%, #00617f 100%);
638
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0389aa), color-stop(100%,#00617f));
639
+ background: -webkit-linear-gradient(top, #0389aa 0%,#00617f 100%);
640
+ background: -o-linear-gradient(top, #0389aa 0%,#00617f 100%);
641
+ background: -ms-linear-gradient(top, #0389aa 0%,#00617f 100%);
642
+ background: linear-gradient(to bottom, #0389aa 0%,#00617f 100%);
643
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0389aa', endColorstr='#00617f',GradientType=0 );
644
+ }
645
+
646
+ .warning {
647
+ background: #9e2812;
648
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
649
+ background: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%);
650
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9e2812), color-stop(100%,#6f0d0d));
651
+ background: -webkit-linear-gradient(top, #9e2812 0%,#6f0d0d 100%);
652
+ background: -o-linear-gradient(top, #9e2812 0%,#6f0d0d 100%);
653
+ background: -ms-linear-gradient(top, #9e2812 0%,#6f0d0d 100%);
654
+ background: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%);
655
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 );
656
+ }
657
+
658
+ .info:before {
659
+ border-color: transparent #00617f #00617f transparent;
660
+ }
661
+
662
+ .warning:before {
663
+ border-color: transparent #6f0d0d #6f0d0d transparent;
664
+ }
665
+
666
+ .note:after {
667
+ content: "★";
668
+ color: #fc0;
669
+ position: absolute;
670
+ top: 14px;
671
+ left: 14px;
672
+ font-size: 28px;
673
+ font-weight: bold;
674
+ text-shadow: 0 -1px 0 rgba(0,0,0,.5);
675
+ }
676
+
677
+ .info:after {
678
+ content: "ⓘ";
679
+ color: #fff;
680
+ position: absolute;
681
+ top: 15px;
682
+ left: 15px;
683
+ font-size: 28px;
684
+ font-weight: bold;
685
+ text-shadow: 0 -1px 0 rgba(0,0,0,.5);
686
+ }
687
+
688
+ .warning:after {
689
+ content: "‼";
690
+ color: #fc0;
691
+ position: absolute;
692
+ top: 15px;
693
+ left: 15px;
694
+ font-size: 32px;
695
+ font-weight: bold;
696
+ text-shadow: 0 -1px 0 rgba(0,0,0,.5);
697
+ }