jekyll 1.1.2 → 1.2.0

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 (75) hide show
  1. checksums.yaml +6 -14
  2. data/History.markdown +71 -0
  3. data/README.markdown +13 -3
  4. data/Rakefile +11 -2
  5. data/bin/jekyll +6 -5
  6. data/features/permalinks.feature +20 -0
  7. data/features/site_data.feature +6 -0
  8. data/features/step_definitions/jekyll_steps.rb +1 -1
  9. data/jekyll.gemspec +8 -3
  10. data/lib/jekyll.rb +3 -1
  11. data/lib/jekyll/cleaner.rb +73 -0
  12. data/lib/jekyll/commands/doctor.rb +40 -2
  13. data/lib/jekyll/commands/new.rb +2 -2
  14. data/lib/jekyll/commands/serve.rb +10 -3
  15. data/lib/jekyll/configuration.rb +14 -1
  16. data/lib/jekyll/converters/markdown.rb +1 -1
  17. data/lib/jekyll/converters/markdown/kramdown_parser.rb +4 -8
  18. data/lib/jekyll/converters/markdown/rdiscount_parser.rb +3 -1
  19. data/lib/jekyll/convertible.rb +14 -4
  20. data/lib/jekyll/core_ext.rb +0 -8
  21. data/lib/jekyll/deprecator.rb +13 -9
  22. data/lib/jekyll/generators/pagination.rb +1 -1
  23. data/lib/jekyll/page.rb +33 -34
  24. data/lib/jekyll/post.rb +48 -51
  25. data/lib/jekyll/site.rb +11 -50
  26. data/lib/jekyll/stevenson.rb +1 -1
  27. data/lib/jekyll/tags/include.rb +19 -13
  28. data/lib/jekyll/url.rb +67 -0
  29. data/lib/site_template/_layouts/default.html +20 -22
  30. data/site/_config.yml +3 -1
  31. data/site/_includes/docs_contents.html +50 -50
  32. data/site/_includes/docs_contents_mobile.html +25 -25
  33. data/site/_includes/footer.html +1 -1
  34. data/site/_includes/primary-nav-items.html +3 -3
  35. data/site/_includes/section_nav.html +2 -2
  36. data/site/_includes/top.html +1 -1
  37. data/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown +1 -1
  38. data/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown +1 -1
  39. data/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown +1 -1
  40. data/site/_posts/2013-07-14-jekyll-1-1-0-released.markdown +2 -2
  41. data/site/_posts/2013-07-24-jekyll-1-1-1-released.markdown +4 -4
  42. data/site/_posts/2013-07-25-jekyll-1-0-4-released.markdown +7 -7
  43. data/site/_posts/2013-07-25-jekyll-1-1-2-released.markdown +6 -6
  44. data/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown +23 -0
  45. data/site/css/normalize.css +1 -504
  46. data/site/docs/configuration.md +46 -6
  47. data/site/docs/contributing.md +3 -3
  48. data/site/docs/deployment-methods.md +2 -2
  49. data/site/docs/frontmatter.md +2 -2
  50. data/site/docs/github-pages.md +2 -2
  51. data/site/docs/history.md +265 -265
  52. data/site/docs/index.md +1 -1
  53. data/site/docs/installation.md +4 -4
  54. data/site/docs/migrations.md +14 -11
  55. data/site/docs/pages.md +1 -1
  56. data/site/docs/pagination.md +1 -1
  57. data/site/docs/permalinks.md +2 -2
  58. data/site/docs/plugins.md +18 -10
  59. data/site/docs/posts.md +9 -8
  60. data/site/docs/resources.md +2 -2
  61. data/site/docs/sites.md +1 -1
  62. data/site/docs/structure.md +9 -9
  63. data/site/docs/templates.md +4 -3
  64. data/site/docs/troubleshooting.md +11 -3
  65. data/site/docs/usage.md +8 -3
  66. data/site/docs/variables.md +7 -7
  67. data/site/feed.xml +1 -1
  68. data/site/index.html +3 -3
  69. data/test/source/_posts/2013-08-01-mkdn-extension.mkdn +0 -0
  70. data/test/test_configuration.rb +14 -0
  71. data/test/test_excerpt.rb +16 -0
  72. data/test/test_generated_site.rb +1 -1
  73. data/test/test_post.rb +7 -0
  74. data/test/test_url.rb +28 -0
  75. metadata +27 -21
@@ -1,7 +1,7 @@
1
1
  <footer>
2
2
  <div class="grid">
3
3
  <div class="unit one-third center-on-mobiles">
4
- <p>By <a href="http://tom.preston-werner.com">Tom Preston-Werner</a>, <a href="http://quaran.to/">Nick Quaranto</a>, and many more <a href="https://github.com/mojombo/jekyll/graphs/contributors">awesome&nbsp;contributors</a>.</p>
4
+ <p>By <a href="http://tom.preston-werner.com">Tom Preston-Werner</a>, <a href="http://quaran.to/">Nick Quaranto</a>, and many more <a href="{{ site.repository }}/graphs/contributors">awesome&nbsp;contributors</a>.</p>
5
5
  </div>
6
6
  <div class="unit two-thirds align-right center-on-mobiles">
7
7
  <p>
@@ -3,12 +3,12 @@
3
3
  <a href="{{ site.url }}/">Overview</a>
4
4
  </li>
5
5
  <li class="{% if page.url contains '/docs/' %}current{% endif %}">
6
- <a href="{{ site.url }}/docs/home">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
6
+ <a href="{{ site.url }}/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
7
7
  </li>
8
8
  <li class="{% if page.author %}current{% endif %}">
9
- <a href="{{ site.url }}/news">News</a>
9
+ <a href="{{ site.url }}/news/">News</a>
10
10
  </li>
11
11
  <li class="">
12
- <a href="https://github.com/mojombo/jekyll"><span class="hide-on-mobiles">View on </span>GitHub</a>
12
+ <a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a>
13
13
  </li>
14
14
  </ul>
@@ -1,7 +1,7 @@
1
1
  <div class="section-nav">
2
2
  <div class="left align-right">
3
3
  {% if page.prev_section != null %}
4
- <a href="{{ site.url }}/docs/{{ page.prev_section }}" class="prev">
4
+ <a href="{{ site.url }}/docs/{{ page.prev_section }}/" class="prev">
5
5
  Back
6
6
  </a>
7
7
  {% else %}
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  <div class="right align-left">
12
12
  {% if page.next_section != null %}
13
- <a href="{{ site.url }}/docs/{{ page.next_section }}" class="next">
13
+ <a href="{{ site.url }}/docs/{{ page.next_section }}/" class="next">
14
14
  Next
15
15
  </a>
16
16
  {% else %}
@@ -5,7 +5,7 @@
5
5
  <title>{{ page.title }}</title>
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml" />
8
- <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/mojombo/jekyll/commits/master.atom" />
8
+ <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="{{ site.repository }}/commits/master.atom" />
9
9
  <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
10
10
  <link href='http://fonts.googleapis.com/css?family=Arizonia' rel='stylesheet' type='text/css'>
11
11
  <link rel="stylesheet" href="{{ site.url }}/css/normalize.css" />
@@ -21,7 +21,7 @@ See the [History][] page for more information on this release.
21
21
 
22
22
  {% assign issue_numbers = "1037|1040|1048|1053|1045|1041|1032" | split: "|" %}
23
23
  {% for issue in issue_numbers %}
24
- [#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }}
24
+ [#{{ issue }}]: {{ site.repository }}/issues/{{ issue }}
25
25
  {% endfor %}
26
26
 
27
27
  [History]: /docs/history/#101__20130508
@@ -22,7 +22,7 @@ See the [History][] page for more information on this release.
22
22
 
23
23
  {% assign issue_numbers = "1059|1061|1066|1067|1078|1081|1084" | split: "|" %}
24
24
  {% for issue in issue_numbers %}
25
- [#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }}
25
+ [#{{ issue }}]: {{ site.repository }}/issues/{{ issue }}
26
26
  {% endfor %}
27
27
 
28
28
  [History]: /docs/history/#102__20130512
@@ -19,7 +19,7 @@ See the [History][] page for more information on this release.
19
19
 
20
20
  {% assign issue_numbers = "1190|1121|1189|1115|1114|1063" | split: "|" %}
21
21
  {% for issue in issue_numbers %}
22
- [#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }}
22
+ [#{{ issue }}]: {{ site.repository }}/issues/{{ issue }}
23
23
  {% endfor %}
24
24
 
25
25
  [History]: /docs/history/#103__20130607
@@ -21,7 +21,7 @@ See the [GitHub Release][] page for more a more detailed changelog for this rele
21
21
 
22
22
  {% assign issue_numbers = "1046|1204|1302|1198|1171|1118|1098|1215|1253|1271" | split: "|" %}
23
23
  {% for issue in issue_numbers %}
24
- [#{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }}
24
+ [#{{ issue }}]: {{ site.repository }}/issues/{{ issue }}
25
25
  {% endfor %}
26
26
 
27
- [GitHub Release]: https://github.com/mojombo/jekyll/releases/tag/v1.1.0
27
+ [GitHub Release]: {{ site.repository }}/releases/tag/v1.1.0
@@ -23,9 +23,9 @@ See the [GitHub Release][] page for more a more detailed changelog for this rele
23
23
 
24
24
  {% assign issue_numbers = "1339|1338|1321" | split: "|" %}
25
25
  {% for issue in issue_numbers %}
26
- [{{ issue }}]: https://github.com/mojombo/jekyll/issues/{{ issue }}
26
+ [{{ issue }}]: {{ site.repository }}/issues/{{ issue }}
27
27
  {% endfor %}
28
28
 
29
- [GitHub Release]: https://github.com/mojombo/jekyll/releases/tag/v1.1.1
30
- [gh-pages]: http://pages.github.com
31
- [v1_1_0]: https://github.com/mojombo/jekyll/releases/tag/v1.1.0
29
+ [GitHub Release]: {{ site.repository }}/releases/tag/v1.1.1
30
+ [gh_pages]: http://pages.github.com
31
+ [v1_1_0]: {{ site.repository }}/releases/tag/v1.1.0
@@ -2,19 +2,19 @@
2
2
  layout: news_item
3
3
  title: "Jekyll 1.0.4 Released"
4
4
  date: "2013-07-25 09:08:38 +0200"
5
- author: parkr
5
+ author: mattr-
6
6
  version: 1.0.4
7
7
  categories: [release]
8
8
  ---
9
9
 
10
- This version contains a [very important security patch][230] for `Liquid::Drop` plugins
11
- which granted access to all non-`Drop` entities within a `Drop`, which may include your
12
- Rack configuration settings and many more pieces of private information which could be
13
- used to exploit your system. We recommend you upgrade to v1.0.4 as quickly as possible if
14
- you use `Liquid::Drop` plugins in your site.
10
+ Version 1.0.4 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
11
+
12
+ Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
13
+
14
+ We recommend you upgrade to Jekyll v1.0.4 immediately if you use `Liquid::Drop` plugins on your Jekyll site.
15
15
 
16
16
  Many thanks for [Ben Balter](http://github.com/benbalter) for alerting us to the problem
17
17
  and [submitting a patch][1349] so quickly.
18
18
 
19
19
  [230]: https://github.com/Shopify/liquid/pull/230
20
- [1349]: https://github.com/mojombo/jekyll/issues/1349
20
+ [1349]: {{ site.repository }}/issues/1349
@@ -7,14 +7,14 @@ version: 1.1.2
7
7
  categories: [release]
8
8
  ---
9
9
 
10
- This version contains a [very important security patch][230] for `Liquid::Drop` plugins
11
- which granted access to all non-`Drop` entities within a `Drop`, which may include your
12
- Rack configuration settings and many more pieces of private information which could be
13
- used to exploit your system. We recommend you upgrade to v1.1.2 as quickly as possible if
14
- you use `Liquid::Drop` plugins in your site.
10
+ Version 1.1.2 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
11
+
12
+ Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
13
+
14
+ We recommend you upgrade to Jekyll v1.1.2 immediately if you use `Liquid::Drop` plugins on your Jekyll site.
15
15
 
16
16
  Many thanks for [Ben Balter](http://github.com/benbalter) for alerting us to the problem
17
17
  and [submitting a patch][1349] so quickly.
18
18
 
19
19
  [230]: https://github.com/Shopify/liquid/pull/230
20
- [1349]: https://github.com/mojombo/jekyll/issues/1349
20
+ [1349]: {{ site.repository }}/issues/1349
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: news_item
3
+ title: "Jekyll 1.2 Released"
4
+ date: "2013-09-06 22:02:41 -0400"
5
+ author: parkr
6
+ version: 1.2.0
7
+ categories: [release]
8
+ ---
9
+
10
+ After nearly a month and a half of hard work, the Jekyll team is happy to
11
+ announce the release of v1.2.0. It's chock full of bug fixes and some
12
+ enhancements that we think you'll love.
13
+
14
+ Here are a few things we think you'll want to know about this release:
15
+
16
+ * Run `jekyll serve --detatch` to boot up a WEBrick server in the background. **Note:** you'll need to run `kill [server_pid]` to shut the server down.
17
+ * You can now **disable automatically-generated excerpts** if you set `excerpt_separator` to `""`.
18
+ * If you're moving around pages and post, you can now check for **URL conflicts** by running `jekyll doctor`.
19
+ * If you're a fan of the drafts feature, you'll be happy to know we've added `-D`, a shortened version of `--drafts`.
20
+ * Permalinks with special characters should now generate without errors.
21
+ * Expose the current Jekyll version as the `jekyll.version` Liquid variable.
22
+
23
+ For a full run-down, visit our [change log](../history/)!
@@ -1,504 +1 @@
1
- /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
2
-
3
- /* =============================================================================
4
- HTML5 display definitions
5
- ========================================================================== */
6
-
7
- /*
8
- * Corrects block display not defined in IE6/7/8/9 & FF3
9
- */
10
-
11
- article,
12
- aside,
13
- details,
14
- figcaption,
15
- figure,
16
- footer,
17
- header,
18
- hgroup,
19
- nav,
20
- section,
21
- summary {
22
- display: block;
23
- }
24
-
25
- /*
26
- * Corrects inline-block display not defined in IE6/7/8/9 & FF3
27
- */
28
-
29
- audio,
30
- canvas,
31
- video {
32
- display: inline-block;
33
- *display: inline;
34
- *zoom: 1;
35
- }
36
-
37
- /*
38
- * Prevents modern browsers from displaying 'audio' without controls
39
- * Remove excess height in iOS5 devices
40
- */
41
-
42
- audio:not([controls]) {
43
- display: none;
44
- height: 0;
45
- }
46
-
47
- /*
48
- * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
49
- * Known issue: no IE6 support
50
- */
51
-
52
- [hidden] {
53
- display: none;
54
- }
55
-
56
-
57
- /* =============================================================================
58
- Base
59
- ========================================================================== */
60
-
61
- /*
62
- * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
63
- * http://clagnut.com/blog/348/#c790
64
- * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
65
- * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
66
- */
67
-
68
- html {
69
- font-size: 100%; /* 1 */
70
- -webkit-text-size-adjust: 100%; /* 2 */
71
- -ms-text-size-adjust: 100%; /* 2 */
72
- }
73
-
74
- /*
75
- * Addresses font-family inconsistency between 'textarea' and other form elements.
76
- */
77
-
78
- html,
79
- button,
80
- input,
81
- select,
82
- textarea {
83
- font-family: sans-serif;
84
- }
85
-
86
- /*
87
- * Addresses margins handled incorrectly in IE6/7
88
- */
89
-
90
- body {
91
- margin: 0;
92
- }
93
-
94
-
95
- /* =============================================================================
96
- Links
97
- ========================================================================== */
98
-
99
- /*
100
- * Addresses outline displayed oddly in Chrome
101
- */
102
-
103
- a:focus {
104
- outline: thin dotted;
105
- }
106
-
107
- /*
108
- * Improves readability when focused and also mouse hovered in all browsers
109
- * people.opera.com/patrickl/experiments/keyboard/test
110
- */
111
-
112
- a:hover,
113
- a:active {
114
- outline: 0;
115
- }
116
-
117
-
118
- /* =============================================================================
119
- Typography
120
- ========================================================================== */
121
-
122
- /*
123
- * Addresses font sizes and margins set differently in IE6/7
124
- * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
125
- */
126
-
127
- h1 {
128
- font-size: 2em;
129
- margin: 0.67em 0;
130
- }
131
-
132
- h2 {
133
- font-size: 1.5em;
134
- margin: 0.83em 0;
135
- }
136
-
137
- h3 {
138
- font-size: 1.17em;
139
- margin: 1em 0;
140
- }
141
-
142
- h4 {
143
- font-size: 1em;
144
- margin: 1.33em 0;
145
- }
146
-
147
- h5 {
148
- font-size: 0.83em;
149
- margin: 1.67em 0;
150
- }
151
-
152
- h6 {
153
- font-size: 0.75em;
154
- margin: 2.33em 0;
155
- }
156
-
157
- /*
158
- * Addresses styling not present in IE7/8/9, S5, Chrome
159
- */
160
-
161
- abbr[title] {
162
- border-bottom: 1px dotted;
163
- }
164
-
165
- /*
166
- * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
167
- */
168
-
169
- b,
170
- strong {
171
- font-weight: bold;
172
- }
173
-
174
- blockquote {
175
- margin: 1em 40px;
176
- }
177
-
178
- /*
179
- * Addresses styling not present in S5, Chrome
180
- */
181
-
182
- dfn {
183
- font-style: italic;
184
- }
185
-
186
- /*
187
- * Addresses styling not present in IE6/7/8/9
188
- */
189
-
190
- mark {
191
- background: #ff0;
192
- color: #000;
193
- }
194
-
195
- /*
196
- * Addresses margins set differently in IE6/7
197
- */
198
-
199
- p,
200
- pre {
201
- margin: 1em 0;
202
- }
203
-
204
- /*
205
- * Corrects font family set oddly in IE6, S4/5, Chrome
206
- * en.wikipedia.org/wiki/User:Davidgothberg/Test59
207
- */
208
-
209
- pre,
210
- code,
211
- kbd,
212
- samp {
213
- font-family: monospace, serif;
214
- _font-family: 'courier new', monospace;
215
- font-size: 1em;
216
- }
217
-
218
- /*
219
- * Improves readability of pre-formatted text in all browsers
220
- */
221
-
222
- pre {
223
- white-space: pre;
224
- white-space: pre-wrap;
225
- word-wrap: break-word;
226
- }
227
-
228
- /*
229
- * 1. Addresses CSS quotes not supported in IE6/7
230
- * 2. Addresses quote property not supported in S4
231
- */
232
-
233
- /* 1 */
234
-
235
- q {
236
- quotes: none;
237
- }
238
-
239
- /* 2 */
240
-
241
- q:before,
242
- q:after {
243
- content: '';
244
- content: none;
245
- }
246
-
247
- small {
248
- font-size: 75%;
249
- }
250
-
251
- /*
252
- * Prevents sub and sup affecting line-height in all browsers
253
- * gist.github.com/413930
254
- */
255
-
256
- sub,
257
- sup {
258
- font-size: 75%;
259
- line-height: 0;
260
- position: relative;
261
- vertical-align: baseline;
262
- }
263
-
264
- sup {
265
- top: -0.5em;
266
- }
267
-
268
- sub {
269
- bottom: -0.25em;
270
- }
271
-
272
-
273
- /* =============================================================================
274
- Lists
275
- ========================================================================== */
276
-
277
- /*
278
- * Addresses margins set differently in IE6/7
279
- */
280
-
281
- dl,
282
- menu,
283
- ol,
284
- ul {
285
- margin: 1em 0;
286
- }
287
-
288
- dd {
289
- margin: 0 0 0 40px;
290
- }
291
-
292
- /*
293
- * Addresses paddings set differently in IE6/7
294
- */
295
-
296
- menu,
297
- ol,
298
- ul {
299
- padding: 0 0 0 40px;
300
- }
301
-
302
- /*
303
- * Corrects list images handled incorrectly in IE7
304
- */
305
-
306
- nav ul,
307
- nav ol {
308
- list-style: none;
309
- list-style-image: none;
310
- }
311
-
312
-
313
- /* =============================================================================
314
- Embedded content
315
- ========================================================================== */
316
-
317
- /*
318
- * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
319
- * 2. Improves image quality when scaled in IE7
320
- * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
321
- */
322
-
323
- img {
324
- border: 0; /* 1 */
325
- -ms-interpolation-mode: bicubic; /* 2 */
326
- }
327
-
328
- /*
329
- * Corrects overflow displayed oddly in IE9
330
- */
331
-
332
- svg:not(:root) {
333
- overflow: hidden;
334
- }
335
-
336
-
337
- /* =============================================================================
338
- Figures
339
- ========================================================================== */
340
-
341
- /*
342
- * Addresses margin not present in IE6/7/8/9, S5, O11
343
- */
344
-
345
- figure {
346
- margin: 0;
347
- }
348
-
349
-
350
- /* =============================================================================
351
- Forms
352
- ========================================================================== */
353
-
354
- /*
355
- * Corrects margin displayed oddly in IE6/7
356
- */
357
-
358
- form {
359
- margin: 0;
360
- }
361
-
362
- /*
363
- * Define consistent border, margin, and padding
364
- */
365
-
366
- fieldset {
367
- border: 1px solid #c0c0c0;
368
- margin: 0 2px;
369
- padding: 0.35em 0.625em 0.75em;
370
- }
371
-
372
- /*
373
- * 1. Corrects color not being inherited in IE6/7/8/9
374
- * 2. Corrects text not wrapping in FF3
375
- * 3. Corrects alignment displayed oddly in IE6/7
376
- */
377
-
378
- legend {
379
- border: 0; /* 1 */
380
- padding: 0;
381
- white-space: normal; /* 2 */
382
- *margin-left: -7px; /* 3 */
383
- }
384
-
385
- /*
386
- * 1. Corrects font size not being inherited in all browsers
387
- * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
388
- * 3. Improves appearance and consistency in all browsers
389
- */
390
-
391
- button,
392
- input,
393
- select,
394
- textarea {
395
- font-size: 100%; /* 1 */
396
- margin: 0; /* 2 */
397
- vertical-align: baseline; /* 3 */
398
- *vertical-align: middle; /* 3 */
399
- }
400
-
401
- /*
402
- * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
403
- */
404
-
405
- button,
406
- input {
407
- line-height: normal; /* 1 */
408
- }
409
-
410
- /*
411
- * 1. Improves usability and consistency of cursor style between image-type 'input' and others
412
- * 2. Corrects inability to style clickable 'input' types in iOS
413
- * 3. Removes inner spacing in IE7 without affecting normal text inputs
414
- * Known issue: inner spacing remains in IE6
415
- */
416
-
417
- button,
418
- input[type="button"],
419
- input[type="reset"],
420
- input[type="submit"] {
421
- cursor: pointer; /* 1 */
422
- -webkit-appearance: button; /* 2 */
423
- *overflow: visible; /* 3 */
424
- }
425
-
426
- /*
427
- * Re-set default cursor for disabled elements
428
- */
429
-
430
- button[disabled],
431
- input[disabled] {
432
- cursor: default;
433
- }
434
-
435
- /*
436
- * 1. Addresses box sizing set to content-box in IE8/9
437
- * 2. Removes excess padding in IE8/9
438
- * 3. Removes excess padding in IE7
439
- Known issue: excess padding remains in IE6
440
- */
441
-
442
- input[type="checkbox"],
443
- input[type="radio"] {
444
- box-sizing: border-box; /* 1 */
445
- padding: 0; /* 2 */
446
- *height: 13px; /* 3 */
447
- *width: 13px; /* 3 */
448
- }
449
-
450
- /*
451
- * 1. Addresses appearance set to searchfield in S5, Chrome
452
- * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
453
- */
454
-
455
- input[type="search"] {
456
- -webkit-appearance: textfield; /* 1 */
457
- -moz-box-sizing: content-box;
458
- -webkit-box-sizing: content-box; /* 2 */
459
- box-sizing: content-box;
460
- }
461
-
462
- /*
463
- * Removes inner padding and search cancel button in S5, Chrome on OS X
464
- */
465
-
466
- input[type="search"]::-webkit-search-decoration,
467
- input[type="search"]::-webkit-search-cancel-button {
468
- -webkit-appearance: none;
469
- }
470
-
471
- /*
472
- * Removes inner padding and border in FF3+
473
- * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
474
- */
475
-
476
- button::-moz-focus-inner,
477
- input::-moz-focus-inner {
478
- border: 0;
479
- padding: 0;
480
- }
481
-
482
- /*
483
- * 1. Removes default vertical scrollbar in IE6/7/8/9
484
- * 2. Improves readability and alignment in all browsers
485
- */
486
-
487
- textarea {
488
- overflow: auto; /* 1 */
489
- vertical-align: top; /* 2 */
490
- }
491
-
492
-
493
- /* =============================================================================
494
- Tables
495
- ========================================================================== */
496
-
497
- /*
498
- * Remove most spacing between table cells
499
- */
500
-
501
- table {
502
- border-collapse: collapse;
503
- border-spacing: 0;
504
- }
1
+ /* normalize.css v2.1.2 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}