jekyll-theme-primer 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +21 -0
  3. data/README.md +21 -0
  4. data/_includes/.gitkeep +1 -0
  5. data/_layouts/default.html +14 -0
  6. data/_sass/jekyll-theme-primer.scss +8 -0
  7. data/_sass/normalize.css/CHANGELOG.md +135 -0
  8. data/_sass/normalize.css/LICENSE.md +21 -0
  9. data/_sass/normalize.css/README.md +128 -0
  10. data/_sass/normalize.css/normalize.scss +419 -0
  11. data/_sass/normalize.css/package.json +111 -0
  12. data/_sass/primer-base/CHANGELOG.md +48 -0
  13. data/_sass/primer-base/LICENSE +21 -0
  14. data/_sass/primer-base/README.md +48 -0
  15. data/_sass/primer-base/build/build.css +2 -0
  16. data/_sass/primer-base/index.scss +5 -0
  17. data/_sass/primer-base/lib/base.scss +66 -0
  18. data/_sass/primer-base/lib/typography-base.scss +85 -0
  19. data/_sass/primer-base/package.json +109 -0
  20. data/_sass/primer-layout/CHANGELOG.md +44 -0
  21. data/_sass/primer-layout/LICENSE +21 -0
  22. data/_sass/primer-layout/README.md +141 -0
  23. data/_sass/primer-layout/build/build.css +2 -0
  24. data/_sass/primer-layout/index.scss +4 -0
  25. data/_sass/primer-layout/lib/columns.scss +69 -0
  26. data/_sass/primer-layout/lib/container.scss +33 -0
  27. data/_sass/primer-layout/lib/grid-offset.scss +30 -0
  28. data/_sass/primer-layout/lib/grid.scss +48 -0
  29. data/_sass/primer-layout/package.json +105 -0
  30. data/_sass/primer-markdown/CHANGELOG.md +168 -0
  31. data/_sass/primer-markdown/LICENSE +21 -0
  32. data/_sass/primer-markdown/README.md +223 -0
  33. data/_sass/primer-markdown/build/build.css +2 -0
  34. data/_sass/primer-markdown/index.scss +8 -0
  35. data/_sass/primer-markdown/lib/blob-csv.scss +27 -0
  36. data/_sass/primer-markdown/lib/code.scss +76 -0
  37. data/_sass/primer-markdown/lib/headings.scss +65 -0
  38. data/_sass/primer-markdown/lib/images.scss +119 -0
  39. data/_sass/primer-markdown/lib/lists.scss +72 -0
  40. data/_sass/primer-markdown/lib/markdown-body.scss +111 -0
  41. data/_sass/primer-markdown/lib/tables.scss +29 -0
  42. data/_sass/primer-markdown/package.json +109 -0
  43. data/_sass/primer-support/CHANGELOG.md +66 -0
  44. data/_sass/primer-support/LICENSE +21 -0
  45. data/_sass/primer-support/README.md +42 -0
  46. data/_sass/primer-support/index.scss +7 -0
  47. data/_sass/primer-support/lib/mixins/layout.scss +52 -0
  48. data/_sass/primer-support/lib/mixins/misc.scss +29 -0
  49. data/_sass/primer-support/lib/mixins/typography.scss +76 -0
  50. data/_sass/primer-support/lib/variables.scss +179 -0
  51. data/_sass/primer-support/package.json +105 -0
  52. data/_sass/primer-utilities/CHANGELOG.md +94 -0
  53. data/_sass/primer-utilities/LICENSE +21 -0
  54. data/_sass/primer-utilities/README.md +48 -0
  55. data/_sass/primer-utilities/build/build.css +2 -0
  56. data/_sass/primer-utilities/build/index.js +2 -0
  57. data/_sass/primer-utilities/index.scss +9 -0
  58. data/_sass/primer-utilities/lib/animations.scss +156 -0
  59. data/_sass/primer-utilities/lib/border.scss +29 -0
  60. data/_sass/primer-utilities/lib/colors.scss +45 -0
  61. data/_sass/primer-utilities/lib/layout.scss +109 -0
  62. data/_sass/primer-utilities/lib/margin.scss +58 -0
  63. data/_sass/primer-utilities/lib/padding.scss +54 -0
  64. data/_sass/primer-utilities/lib/typography.scss +155 -0
  65. data/_sass/primer-utilities/package.json +108 -0
  66. data/_sass/rouge.scss +209 -0
  67. data/assets/style.scss +4 -0
  68. metadata +138 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 64fc863581aa5b02f3fb5af19781db1132cd515f
4
+ data.tar.gz: 27421f87a03557ac43cf775dcb676f6675dadf67
5
+ SHA512:
6
+ metadata.gz: e5919281af03b880594bb4ec512e63fcb24a0831eea2ae9738027081f46a6ec3a253206128da4e06b8549cee5bd76d9266685b518dc74625a1e6abff8ac81f03
7
+ data.tar.gz: b7ff5a16e3d587f2234f42fc51d24183feabc9b24149d93d28720f7b7186de24e8e0c6d36d539ad0f5de036a8afd219410d3be3ecfdaf9df870344b953de1322
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Ben Balter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # Jekyll Primer Theme
2
+
3
+ A Jekyll theme based on GitHub's Primer style
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's Gemfile:
8
+
9
+ ```ruby
10
+ gem "jekyll-theme-primer"
11
+ ```
12
+
13
+ And add this line to your Jekyll site:
14
+
15
+ ```yaml
16
+ theme: jekyll-theme-primer
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>{{ page.title | default: site.title }}</title>
7
+ <link href="{{ "assets/style.css" | absolute_url }}" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ {{ content }}
12
+ </div>
13
+ </body>
14
+ </html>
@@ -0,0 +1,8 @@
1
+
2
+ @import "primer-support/index.scss";
3
+ @import "primer-base/index.scss";
4
+ @import "primer-utilities/index.scss";
5
+ @import "primer-layout/index.scss";
6
+ @import "primer-markdown/index.scss";
7
+ @import "rouge";
8
+
@@ -0,0 +1,135 @@
1
+ # Changes to normalize.css
2
+
3
+ ### 4.1.1 (April 12, 2016)
4
+
5
+ * Update normalize.css heading.
6
+
7
+ ### 4.1.0 (April 11, 2016)
8
+
9
+ * Normalize placeholders in Chrome, Edge, and Safari.
10
+ * Normalize `text-decoration-skip` property in Safari.
11
+ * Normalize file select buttons.
12
+ * Normalize search input outlines in Safari.
13
+ * Limit Firefox focus normalizations to buttons.
14
+ * Restore `main` to package.json.
15
+ * Restore proper overflow to certain `select` elements.
16
+ * Remove opinionated cursor styles on buttons.
17
+ * Update stylelint configuration
18
+ * Update tests
19
+
20
+ ### 4.0.0 (March 19, 2016)
21
+
22
+ * Add the correct font weight for `b` and `strong` in Chrome, Edge, and Safari.
23
+ * Correct inconsistent `overflow` for `hr` in Edge and IE.
24
+ * Correct inconsistent `box-sizing` for `hr` in Firefox.
25
+ * Correct inconsistent `text-decoration` and `border-bottom` for `abbr[title]`
26
+ in Chrome, Edge, Firefox IE, Opera, and Safari.
27
+ * Correct inheritance and scaling of `font-size` for preformatted text.
28
+ * Correct `legend` text wrapping not present in Edge and IE.
29
+ * Remove unnecessary normalization of `line-height` for `input`.
30
+ * Remove unnecessary normalization of `color` for form controls.
31
+ * Remove unnecessary `box-sizing` for `input[type="search"]` in Chrome, Edge,
32
+ Firefox, IE, and Safari.
33
+ * Remove opinionated table resets.
34
+ * Remove opinionated `pre` overflow.
35
+ * Remove selector weight from some input selectors.
36
+ * Update normalization of `border-style` for `img`.
37
+ * Update normalization of `color` inheritance for `legend`.
38
+ * Update normalization of `background-color` for `mark`.
39
+ * Update normalization of `outline` for `:-moz-focusring` removed by a previous
40
+ normalization in Firefox.
41
+ * Update opinionated style of `outline-width` for `a:active` and `a:hover`.
42
+ * Update comments to identify opinionated styles.
43
+ * Update comments to specify browser/versions affected by all changes.
44
+ * Update comments to use one voice.
45
+
46
+ ---
47
+
48
+ ### 3.0.3 (March 30, 2015)
49
+
50
+ * Remove unnecessary vendor prefixes.
51
+ * Add `main` property.
52
+
53
+ ### 3.0.2 (October 4, 2014)
54
+
55
+ * Only alter `background-color` of links in IE 10.
56
+ * Add `menu` element to HTML5 display definitions.
57
+
58
+ ### 3.0.1 (March 27, 2014)
59
+
60
+ * Add package.json for npm support.
61
+
62
+ ### 3.0.0 (January 28, 2014)
63
+
64
+ ### 3.0.0-rc.1 (January 26, 2014)
65
+
66
+ * Explicit tests for each normalization.
67
+ * Fix i18n for `q` element.
68
+ * Fix `pre` text formatting and overflow.
69
+ * Fix vertical alignment of `progress`.
70
+ * Address `button` overflow in IE 8/9/10.
71
+ * Revert `textarea` alignment modification.
72
+ * Fix number input button cursor in Chrome on OS X.
73
+ * Remove `a:focus` outline normalization.
74
+ * Fix `figure` margin normalization.
75
+ * Normalize `optgroup`.
76
+ * Remove default table cell padding.
77
+ * Set correct display for `progress` in IE 8/9.
78
+ * Fix `font` and `color` inheritance for forms.
79
+
80
+ ---
81
+
82
+ ### 2.1.3 (August 26, 2013)
83
+
84
+ * Fix component.json.
85
+ * Remove the gray background color from active links in IE 10.
86
+
87
+ ### 2.1.2 (May 11, 2013)
88
+
89
+ * Revert root `color` and `background` normalizations.
90
+
91
+ ### 2.1.1 (April 8, 2013)
92
+
93
+ * Normalize root `color` and `background` to counter the effects of system
94
+ color schemes.
95
+
96
+ ### 2.1.0 (January 21, 2013)
97
+
98
+ * Normalize `text-transform` for `button` and `select`.
99
+ * Normalize `h1` margin when within HTML5 sectioning elements.
100
+ * Normalize `hr` element.
101
+ * Remove unnecessary `pre` styles.
102
+ * Add `main` element to HTML5 display definitions.
103
+ * Fix cursor style for disabled button `input`.
104
+
105
+ ### 2.0.1 (August 20, 2012)
106
+
107
+ * Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
108
+
109
+ ### 2.0.0 (August 19, 2012)
110
+
111
+ * Remove legacy browser form normalizations.
112
+ * Remove all list normalizations.
113
+ * Add `quotes` normalizations.
114
+ * Remove all heading normalizations except `h1` font size.
115
+ * Form elements automatically inherit `font-family` from ancestor.
116
+ * Drop support for IE 6/7, Firefox < 4, and Safari < 5.
117
+
118
+ ---
119
+
120
+ ### 1.0.1 (August 19, 2012)
121
+
122
+ * Adjust `small` font size normalization.
123
+
124
+ ### 1.0.0 (August 14, 2012)
125
+
126
+ (Only the notable changes since public release)
127
+
128
+ * Add MIT License.
129
+ * Hide `audio` elements without controls in iOS 5.
130
+ * Normalize heading margins and font size.
131
+ * Move font-family normalization from `body` to `html`.
132
+ * Remove scrollbar normalization.
133
+ * Remove excess padding from checkbox and radio inputs in IE 7.
134
+ * Add IE9 correction for SVG overflow.
135
+ * Add fix for legend not inheriting color in IE 6/7/8/9.
@@ -0,0 +1,21 @@
1
+ # The MIT License (MIT)
2
+
3
+ Copyright © Nicolas Gallagher and Jonathan Neal
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9
+ of the Software, and to permit persons to whom the Software is furnished to do
10
+ so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,128 @@
1
+ # normalize.css
2
+
3
+ <a href="https://github.com/necolas/normalize.css"><img
4
+ src="https://necolas.github.io/normalize.css/logo.svg" alt="Normalize Logo"
5
+ width="80" height="80" align="right"></a>
6
+
7
+ > A modern alternative to CSS resets
8
+
9
+ [![npm][npm-image]][npm-url] [![license][license-image]][license-url]
10
+ [![changelog][changelog-image]][changelog-url]
11
+ [![gitter][gitter-image]][gitter-url]
12
+
13
+
14
+ **NPM**
15
+
16
+ ```sh
17
+ npm install --save normalize.css
18
+ ```
19
+
20
+ **Bower**
21
+
22
+ ```sh
23
+ bower install --save normalize-css
24
+ ```
25
+
26
+ **CDN**
27
+
28
+ See https://cdnjs.com/libraries/normalize
29
+
30
+ **Download**
31
+
32
+ See https://necolas.github.io/normalize.css/latest/normalize.css
33
+
34
+
35
+ ## What does it do?
36
+
37
+ * Preserves useful defaults, unlike many CSS resets.
38
+ * Normalizes styles for a wide range of elements.
39
+ * Corrects bugs and common browser inconsistencies.
40
+ * Improves usability with subtle modifications.
41
+ * Explains what code does using detailed comments.
42
+
43
+
44
+ ## Browser support
45
+
46
+ * Chrome (last two)
47
+ * Edge (last two)
48
+ * Firefox (last two)
49
+ * Firefox ESR
50
+ * Internet Explorer 8+
51
+ * Opera (last two)
52
+ * Safari 6+
53
+
54
+ *[Normalize.css v1 provides legacy browser support]
55
+ (https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+),
56
+ but is no longer actively developed.*
57
+
58
+
59
+ ## Extended details and known issues
60
+
61
+ Additional detail and explanation of the esoteric parts of normalize.css.
62
+
63
+ #### `pre, code, kbd, samp`
64
+
65
+ The `font-family: monospace, monospace` hack fixes the inheritance and scaling
66
+ of font-size for preformatted text. The duplication of `monospace` is
67
+ intentional. [Source](https://en.wikipedia.org/wiki/User:Davidgothberg/Test59).
68
+
69
+ #### `sub, sup`
70
+
71
+ Normally, using `sub` or `sup` affects the line-box height of text in all
72
+ browsers. [Source](https://gist.github.com/413930).
73
+
74
+ #### `svg:not(:root)`
75
+
76
+ Adding `overflow: hidden` fixes IE9's SVG rendering. Earlier versions of IE
77
+ don't support SVG, so we can safely use the `:not()` and `:root` selectors that
78
+ modern browsers use in the default UA stylesheets to apply this style. [Source]
79
+ (https://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html).
80
+
81
+ #### `select`
82
+
83
+ By default, Chrome on OS X and Safari on OS X allow very limited styling of
84
+ `select`, unless a border property is set. The default font weight on `optgroup`
85
+ elements cannot safely be changed in Chrome on OSX and Safari on OS X.
86
+
87
+ #### `[type="checkbox"]`
88
+
89
+ It is recommended that you do not style checkbox and radio inputs as Firefox's
90
+ implementation does not respect box-sizing, padding, or width.
91
+
92
+ #### `[type="number"]`
93
+
94
+ Certain font size values applied to number inputs cause the cursor style of the
95
+ decrement button to change from `default` to `text`.
96
+
97
+ #### `[type="search"]`
98
+
99
+ The search input is not fully stylable by default. In Chrome and Safari on
100
+ OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In
101
+ Chrome and Safari on Windows you can't control `border` properly. It will apply
102
+ `border-width` but will only show a border color (which cannot be controlled)
103
+ for the outer 1px of that border. Applying `-webkit-appearance: textfield`
104
+ addresses these issues without removing the benefits of search inputs (e.g.
105
+ showing past searches). Safari (but not Chrome) will clip the cancel button on
106
+ when it has padding (and `textfield` appearance).
107
+
108
+
109
+ ## Contributing
110
+
111
+ Please read the [contribution guidelines](CONTRIBUTING.md) in order to make the
112
+ contribution process easy and effective for everyone involved.
113
+
114
+
115
+ ## Acknowledgements
116
+
117
+ Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas),
118
+ co-created with [Jonathan Neal](https://github.com/jonathantneal).
119
+
120
+
121
+ [changelog-image]: https://img.shields.io/badge/changelog-md-blue.svg?style=flat-square
122
+ [changelog-url]: CHANGELOG.md
123
+ [license-image]: https://img.shields.io/npm/l/normalize.css.svg?style=flat-square
124
+ [license-url]: LICENSE.md
125
+ [npm-image]: https://img.shields.io/npm/v/normalize.css.svg?style=flat-square
126
+ [npm-url]: https://www.npmjs.com/package/normalize.css
127
+ [gitter-image]: https://img.shields.io/badge/chat-gitter-blue.svg?style=flat-square
128
+ [gitter-url]: https://gitter.im/necolas/normalize.css
@@ -0,0 +1,419 @@
1
+ /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /**
4
+ * 1. Change the default font family in all browsers (opinionated).
5
+ * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
6
+ */
7
+
8
+ html {
9
+ font-family: sans-serif; /* 1 */
10
+ -ms-text-size-adjust: 100%; /* 2 */
11
+ -webkit-text-size-adjust: 100%; /* 2 */
12
+ }
13
+
14
+ /**
15
+ * Remove the margin in all browsers (opinionated).
16
+ */
17
+
18
+ body {
19
+ margin: 0;
20
+ }
21
+
22
+ /* HTML5 display definitions
23
+ ========================================================================== */
24
+
25
+ /**
26
+ * Add the correct display in IE 9-.
27
+ * 1. Add the correct display in Edge, IE, and Firefox.
28
+ * 2. Add the correct display in IE.
29
+ */
30
+
31
+ article,
32
+ aside,
33
+ details, /* 1 */
34
+ figcaption,
35
+ figure,
36
+ footer,
37
+ header,
38
+ main, /* 2 */
39
+ menu,
40
+ nav,
41
+ section,
42
+ summary { /* 1 */
43
+ display: block;
44
+ }
45
+
46
+ /**
47
+ * Add the correct display in IE 9-.
48
+ */
49
+
50
+ audio,
51
+ canvas,
52
+ progress,
53
+ video {
54
+ display: inline-block;
55
+ }
56
+
57
+ /**
58
+ * Add the correct display in iOS 4-7.
59
+ */
60
+
61
+ audio:not([controls]) {
62
+ display: none;
63
+ height: 0;
64
+ }
65
+
66
+ /**
67
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
68
+ */
69
+
70
+ progress {
71
+ vertical-align: baseline;
72
+ }
73
+
74
+ /**
75
+ * Add the correct display in IE 10-.
76
+ * 1. Add the correct display in IE.
77
+ */
78
+
79
+ template, /* 1 */
80
+ [hidden] {
81
+ display: none;
82
+ }
83
+
84
+ /* Links
85
+ ========================================================================== */
86
+
87
+ /**
88
+ * 1. Remove the gray background on active links in IE 10.
89
+ * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
90
+ */
91
+
92
+ a {
93
+ background-color: transparent; /* 1 */
94
+ -webkit-text-decoration-skip: objects; /* 2 */
95
+ }
96
+
97
+ /**
98
+ * Remove the outline on focused links when they are also active or hovered
99
+ * in all browsers (opinionated).
100
+ */
101
+
102
+ a:active,
103
+ a:hover {
104
+ outline-width: 0;
105
+ }
106
+
107
+ /* Text-level semantics
108
+ ========================================================================== */
109
+
110
+ /**
111
+ * 1. Remove the bottom border in Firefox 39-.
112
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
113
+ */
114
+
115
+ abbr[title] {
116
+ border-bottom: none; /* 1 */
117
+ text-decoration: underline; /* 2 */
118
+ text-decoration: underline dotted; /* 2 */
119
+ }
120
+
121
+ /**
122
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
123
+ */
124
+
125
+ b,
126
+ strong {
127
+ font-weight: inherit;
128
+ }
129
+
130
+ /**
131
+ * Add the correct font weight in Chrome, Edge, and Safari.
132
+ */
133
+
134
+ b,
135
+ strong {
136
+ font-weight: bolder;
137
+ }
138
+
139
+ /**
140
+ * Add the correct font style in Android 4.3-.
141
+ */
142
+
143
+ dfn {
144
+ font-style: italic;
145
+ }
146
+
147
+ /**
148
+ * Correct the font size and margin on `h1` elements within `section` and
149
+ * `article` contexts in Chrome, Firefox, and Safari.
150
+ */
151
+
152
+ h1 {
153
+ font-size: 2em;
154
+ margin: 0.67em 0;
155
+ }
156
+
157
+ /**
158
+ * Add the correct background and color in IE 9-.
159
+ */
160
+
161
+ mark {
162
+ background-color: #ff0;
163
+ color: #000;
164
+ }
165
+
166
+ /**
167
+ * Add the correct font size in all browsers.
168
+ */
169
+
170
+ small {
171
+ font-size: 80%;
172
+ }
173
+
174
+ /**
175
+ * Prevent `sub` and `sup` elements from affecting the line height in
176
+ * all browsers.
177
+ */
178
+
179
+ sub,
180
+ sup {
181
+ font-size: 75%;
182
+ line-height: 0;
183
+ position: relative;
184
+ vertical-align: baseline;
185
+ }
186
+
187
+ sub {
188
+ bottom: -0.25em;
189
+ }
190
+
191
+ sup {
192
+ top: -0.5em;
193
+ }
194
+
195
+ /* Embedded content
196
+ ========================================================================== */
197
+
198
+ /**
199
+ * Remove the border on images inside links in IE 10-.
200
+ */
201
+
202
+ img {
203
+ border-style: none;
204
+ }
205
+
206
+ /**
207
+ * Hide the overflow in IE.
208
+ */
209
+
210
+ svg:not(:root) {
211
+ overflow: hidden;
212
+ }
213
+
214
+ /* Grouping content
215
+ ========================================================================== */
216
+
217
+ /**
218
+ * 1. Correct the inheritance and scaling of font size in all browsers.
219
+ * 2. Correct the odd `em` font sizing in all browsers.
220
+ */
221
+
222
+ code,
223
+ kbd,
224
+ pre,
225
+ samp {
226
+ font-family: monospace, monospace; /* 1 */
227
+ font-size: 1em; /* 2 */
228
+ }
229
+
230
+ /**
231
+ * Add the correct margin in IE 8.
232
+ */
233
+
234
+ figure {
235
+ margin: 1em 40px;
236
+ }
237
+
238
+ /**
239
+ * 1. Add the correct box sizing in Firefox.
240
+ * 2. Show the overflow in Edge and IE.
241
+ */
242
+
243
+ hr {
244
+ box-sizing: content-box; /* 1 */
245
+ height: 0; /* 1 */
246
+ overflow: visible; /* 2 */
247
+ }
248
+
249
+ /* Forms
250
+ ========================================================================== */
251
+
252
+ /**
253
+ * 1. Change font properties to `inherit` in all browsers (opinionated).
254
+ * 2. Remove the margin in Firefox and Safari.
255
+ */
256
+
257
+ button,
258
+ input,
259
+ select,
260
+ textarea {
261
+ font: inherit; /* 1 */
262
+ margin: 0; /* 2 */
263
+ }
264
+
265
+ /**
266
+ * Restore the font weight unset by the previous rule.
267
+ */
268
+
269
+ optgroup {
270
+ font-weight: bold;
271
+ }
272
+
273
+ /**
274
+ * Show the overflow in IE.
275
+ * 1. Show the overflow in Edge.
276
+ */
277
+
278
+ button,
279
+ input { /* 1 */
280
+ overflow: visible;
281
+ }
282
+
283
+ /**
284
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
285
+ * 1. Remove the inheritance of text transform in Firefox.
286
+ */
287
+
288
+ button,
289
+ select { /* 1 */
290
+ text-transform: none;
291
+ }
292
+
293
+ /**
294
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
295
+ * controls in Android 4.
296
+ * 2. Correct the inability to style clickable types in iOS and Safari.
297
+ */
298
+
299
+ button,
300
+ html [type="button"], /* 1 */
301
+ [type="reset"],
302
+ [type="submit"] {
303
+ -webkit-appearance: button; /* 2 */
304
+ }
305
+
306
+ /**
307
+ * Remove the inner border and padding in Firefox.
308
+ */
309
+
310
+ button::-moz-focus-inner,
311
+ [type="button"]::-moz-focus-inner,
312
+ [type="reset"]::-moz-focus-inner,
313
+ [type="submit"]::-moz-focus-inner {
314
+ border-style: none;
315
+ padding: 0;
316
+ }
317
+
318
+ /**
319
+ * Restore the focus styles unset by the previous rule.
320
+ */
321
+
322
+ button:-moz-focusring,
323
+ [type="button"]:-moz-focusring,
324
+ [type="reset"]:-moz-focusring,
325
+ [type="submit"]:-moz-focusring {
326
+ outline: 1px dotted ButtonText;
327
+ }
328
+
329
+ /**
330
+ * Change the border, margin, and padding in all browsers (opinionated).
331
+ */
332
+
333
+ fieldset {
334
+ border: 1px solid #c0c0c0;
335
+ margin: 0 2px;
336
+ padding: 0.35em 0.625em 0.75em;
337
+ }
338
+
339
+ /**
340
+ * 1. Correct the text wrapping in Edge and IE.
341
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
342
+ * 3. Remove the padding so developers are not caught out when they zero out
343
+ * `fieldset` elements in all browsers.
344
+ */
345
+
346
+ legend {
347
+ box-sizing: border-box; /* 1 */
348
+ color: inherit; /* 2 */
349
+ display: table; /* 1 */
350
+ max-width: 100%; /* 1 */
351
+ padding: 0; /* 3 */
352
+ white-space: normal; /* 1 */
353
+ }
354
+
355
+ /**
356
+ * Remove the default vertical scrollbar in IE.
357
+ */
358
+
359
+ textarea {
360
+ overflow: auto;
361
+ }
362
+
363
+ /**
364
+ * 1. Add the correct box sizing in IE 10-.
365
+ * 2. Remove the padding in IE 10-.
366
+ */
367
+
368
+ [type="checkbox"],
369
+ [type="radio"] {
370
+ box-sizing: border-box; /* 1 */
371
+ padding: 0; /* 2 */
372
+ }
373
+
374
+ /**
375
+ * Correct the cursor style of increment and decrement buttons in Chrome.
376
+ */
377
+
378
+ [type="number"]::-webkit-inner-spin-button,
379
+ [type="number"]::-webkit-outer-spin-button {
380
+ height: auto;
381
+ }
382
+
383
+ /**
384
+ * 1. Correct the odd appearance in Chrome and Safari.
385
+ * 2. Correct the outline style in Safari.
386
+ */
387
+
388
+ [type="search"] {
389
+ -webkit-appearance: textfield; /* 1 */
390
+ outline-offset: -2px; /* 2 */
391
+ }
392
+
393
+ /**
394
+ * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
395
+ */
396
+
397
+ [type="search"]::-webkit-search-cancel-button,
398
+ [type="search"]::-webkit-search-decoration {
399
+ -webkit-appearance: none;
400
+ }
401
+
402
+ /**
403
+ * Correct the text style of placeholders in Chrome, Edge, and Safari.
404
+ */
405
+
406
+ ::-webkit-input-placeholder {
407
+ color: inherit;
408
+ opacity: 0.54;
409
+ }
410
+
411
+ /**
412
+ * 1. Correct the inability to style clickable types in iOS and Safari.
413
+ * 2. Change font properties to `inherit` in Safari.
414
+ */
415
+
416
+ ::-webkit-file-upload-button {
417
+ -webkit-appearance: button; /* 1 */
418
+ font: inherit; /* 2 */
419
+ }