hardpool-flat 1.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +4 -4
  3. data/_includes/footer.project.html +20 -0
  4. data/_includes/head.html +0 -0
  5. data/_includes/header.1.html +29 -5
  6. data/_includes/header.html +1 -1
  7. data/_includes/header.project.html +69 -0
  8. data/_includes/qv_modal.html +4 -4
  9. data/_includes/scripts.html +1 -0
  10. data/_includes/section_row.html +0 -0
  11. data/_includes/seo.html +0 -0
  12. data/_layouts/contained.html +0 -0
  13. data/_layouts/default.html +16 -3
  14. data/_layouts/page.html +0 -0
  15. data/_layouts/portfolio-landing.html +26 -22
  16. data/_layouts/portfolio-post-bnr.html +14 -0
  17. data/_layouts/portfolio-post.html +21 -9
  18. data/_layouts/portfolio.html +1 -1
  19. data/_layouts/posts.html +0 -0
  20. data/_layouts/project.html +30 -0
  21. data/_sass/_mixins.scss +0 -0
  22. data/_sass/_var.scss +0 -0
  23. data/_sass/bootstrap/_alert.scss +0 -0
  24. data/_sass/bootstrap/_badge.scss +0 -0
  25. data/_sass/bootstrap/_breadcrumb.scss +0 -0
  26. data/_sass/bootstrap/_button-group.scss +0 -0
  27. data/_sass/bootstrap/_buttons.scss +0 -0
  28. data/_sass/bootstrap/_card.scss +0 -0
  29. data/_sass/bootstrap/_carousel.scss +0 -0
  30. data/_sass/bootstrap/_close.scss +0 -0
  31. data/_sass/bootstrap/_code.scss +0 -0
  32. data/_sass/bootstrap/_custom-forms.scss +0 -0
  33. data/_sass/bootstrap/_dropdown.scss +0 -0
  34. data/_sass/bootstrap/_forms.scss +0 -0
  35. data/_sass/bootstrap/_functions.scss +0 -0
  36. data/_sass/bootstrap/_grid.scss +0 -0
  37. data/_sass/bootstrap/_images.scss +0 -0
  38. data/_sass/bootstrap/_input-group.scss +0 -0
  39. data/_sass/bootstrap/_jumbotron.scss +0 -0
  40. data/_sass/bootstrap/_list-group.scss +0 -0
  41. data/_sass/bootstrap/_media.scss +0 -0
  42. data/_sass/bootstrap/_mixins.scss +0 -0
  43. data/_sass/bootstrap/_modal.scss +0 -0
  44. data/_sass/bootstrap/_nav.scss +0 -0
  45. data/_sass/bootstrap/_navbar.scss +0 -0
  46. data/_sass/bootstrap/_pagination.scss +0 -0
  47. data/_sass/bootstrap/_popover.scss +0 -0
  48. data/_sass/bootstrap/_print.scss +0 -0
  49. data/_sass/bootstrap/_progress.scss +0 -0
  50. data/_sass/bootstrap/_reboot.scss +0 -0
  51. data/_sass/bootstrap/_root.scss +0 -0
  52. data/_sass/bootstrap/_tables.scss +0 -0
  53. data/_sass/bootstrap/_tooltip.scss +0 -0
  54. data/_sass/bootstrap/_transitions.scss +0 -0
  55. data/_sass/bootstrap/_type.scss +0 -0
  56. data/_sass/bootstrap/_utilities.scss +0 -0
  57. data/_sass/bootstrap/_variables.scss +0 -0
  58. data/_sass/bootstrap/bootstrap-grid.scss +0 -0
  59. data/_sass/bootstrap/bootstrap-reboot.scss +0 -0
  60. data/_sass/bootstrap/bootstrap.scss +0 -1
  61. data/_sass/bootstrap/mixins/_alert.scss +0 -0
  62. data/_sass/bootstrap/mixins/_background-variant.scss +0 -0
  63. data/_sass/bootstrap/mixins/_badge.scss +0 -0
  64. data/_sass/bootstrap/mixins/_border-radius.scss +0 -0
  65. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -0
  66. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -0
  67. data/_sass/bootstrap/mixins/_buttons.scss +0 -0
  68. data/_sass/bootstrap/mixins/_caret.scss +0 -0
  69. data/_sass/bootstrap/mixins/_clearfix.scss +0 -0
  70. data/_sass/bootstrap/mixins/_float.scss +0 -0
  71. data/_sass/bootstrap/mixins/_forms.scss +0 -0
  72. data/_sass/bootstrap/mixins/_gradients.scss +0 -0
  73. data/_sass/bootstrap/mixins/_grid-framework.scss +0 -0
  74. data/_sass/bootstrap/mixins/_grid.scss +0 -0
  75. data/_sass/bootstrap/mixins/_hover.scss +0 -0
  76. data/_sass/bootstrap/mixins/_image.scss +0 -0
  77. data/_sass/bootstrap/mixins/_list-group.scss +0 -0
  78. data/_sass/bootstrap/mixins/_lists.scss +0 -0
  79. data/_sass/bootstrap/mixins/_nav-divider.scss +0 -0
  80. data/_sass/bootstrap/mixins/_pagination.scss +0 -0
  81. data/_sass/bootstrap/mixins/_reset-text.scss +0 -0
  82. data/_sass/bootstrap/mixins/_resize.scss +0 -0
  83. data/_sass/bootstrap/mixins/_screen-reader.scss +0 -0
  84. data/_sass/bootstrap/mixins/_size.scss +0 -0
  85. data/_sass/bootstrap/mixins/_table-row.scss +0 -0
  86. data/_sass/bootstrap/mixins/_text-emphasis.scss +0 -0
  87. data/_sass/bootstrap/mixins/_text-hide.scss +0 -0
  88. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -0
  89. data/_sass/bootstrap/mixins/_transition.scss +0 -0
  90. data/_sass/bootstrap/mixins/_visibility.scss +0 -0
  91. data/_sass/bootstrap/utilities/_align.scss +0 -0
  92. data/_sass/bootstrap/utilities/_background.scss +0 -0
  93. data/_sass/bootstrap/utilities/_borders.scss +0 -0
  94. data/_sass/bootstrap/utilities/_clearfix.scss +0 -0
  95. data/_sass/bootstrap/utilities/_display.scss +0 -0
  96. data/_sass/bootstrap/utilities/_embed.scss +0 -0
  97. data/_sass/bootstrap/utilities/_flex.scss +0 -0
  98. data/_sass/bootstrap/utilities/_float.scss +0 -0
  99. data/_sass/bootstrap/utilities/_position.scss +0 -0
  100. data/_sass/bootstrap/utilities/_screenreaders.scss +0 -0
  101. data/_sass/bootstrap/utilities/_shadows.scss +0 -0
  102. data/_sass/bootstrap/utilities/_sizing.scss +0 -0
  103. data/_sass/bootstrap/utilities/_spacing.scss +0 -0
  104. data/_sass/bootstrap/utilities/_text.scss +0 -0
  105. data/_sass/bootstrap/utilities/_visibility.scss +0 -0
  106. data/_sass/colors.scss +5 -0
  107. data/_sass/primer/base/README.md +25 -0
  108. data/_sass/primer/base/base.scss +86 -0
  109. data/_sass/primer/base/index.scss +6 -0
  110. data/_sass/primer/base/kbd.scss +21 -0
  111. data/_sass/primer/base/normalize.scss +421 -0
  112. data/_sass/primer/base/typography-base.scss +88 -0
  113. data/_sass/primer/markdown/README.md +25 -0
  114. data/_sass/primer/markdown/blob-csv.scss +29 -0
  115. data/_sass/primer/markdown/code.scss +158 -0
  116. data/_sass/primer/markdown/headings.scss +72 -0
  117. data/_sass/primer/markdown/images.scss +131 -0
  118. data/_sass/primer/markdown/index.scss +8 -0
  119. data/_sass/primer/markdown/lists.scss +77 -0
  120. data/_sass/primer/markdown/markdown-body.scss +99 -0
  121. data/_sass/primer/markdown/tables.scss +37 -0
  122. data/_sass/primer/support/README.md +25 -0
  123. data/_sass/primer/support/index.scss +11 -0
  124. data/_sass/primer/support/mixins/buttons.scss +167 -0
  125. data/_sass/primer/support/mixins/layout.scss +58 -0
  126. data/_sass/primer/support/mixins/misc.scss +29 -0
  127. data/_sass/primer/support/mixins/typography.scss +84 -0
  128. data/_sass/primer/support/variables/color-system.scss +243 -0
  129. data/_sass/primer/support/variables/colors.scss +63 -0
  130. data/_sass/primer/support/variables/layout.scss +129 -0
  131. data/_sass/primer/support/variables/misc.scss +26 -0
  132. data/_sass/primer/support/variables/typography.scss +42 -0
  133. data/_sass/theme.scss +5 -0
  134. data/_sass/theme/_animations.scss +0 -0
  135. data/_sass/theme/_global.scss +13 -2
  136. data/_sass/theme/_header.scss +149 -2
  137. data/_sass/theme/_page.scss +56 -6
  138. data/assets/js/main.bundle.js +1 -134
  139. metadata +38 -8
@@ -17,7 +17,7 @@ layout: contained
17
17
 
18
18
  <div class="row mb-5">
19
19
  {% for post in posts %}
20
- <div class="col-4 portfolio-item">
20
+ <div class="col-md-4 col-sm-6 portfolio-item">
21
21
  <a class="d-block" href="{{ post.url }}">
22
22
  <div class="img-34" style="background-image:url('{{ post.img_v }}')"></div>
23
23
  <h2 class="mt-2 mb-4 text-center">{{ post.title }}</h2>
File without changes
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default
3
+ header:
4
+ style: project
5
+ footer:
6
+ html: footer.project.html
7
+ ---
8
+ <main class="container-fluid project-head">
9
+ <div class="container">
10
+ <!-- banner -->
11
+ <div class="row">
12
+ <div class="col">
13
+ <h1>{{page.banner.title}}</h1>
14
+ <p class="lead">{{page.banner.description}}</p>
15
+ <div class="d-flex flex-column flex-md-row">
16
+ <a class="btn btn-lg btn-primary mb-3 mr-md-3" href="#">Get started</a>
17
+ <a class="btn btn-lg btn-outline-secondary mb-3" href="#">Demo</a>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </main>
23
+ <!-- page content -->
24
+ <div class="container">
25
+ <div class="row">
26
+ <div class="col markdown-body">
27
+ {{content}}
28
+ </div>
29
+ </div>
30
+ </div>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,3 @@
1
- @import "var";
2
1
  //========= bootstrap variables overrides =============
3
2
  $spacer: 1rem;
4
3
  $spacers: (
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ $primary: #ef1334;
2
+ $desaturate: 50%;
3
+ $lighten: 45%;
4
+ $secondary: #666;
5
+ $light: #f3f3f3;
@@ -0,0 +1,25 @@
1
+ ---
2
+ bundle: "base"
3
+ generated: true
4
+ ---
5
+
6
+ # Primer CSS: `base` bundle
7
+
8
+ ## Usage
9
+
10
+ Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
11
+
12
+ ```scss
13
+ @import "@primer/css/base/index.scss";
14
+ ```
15
+
16
+ ## Build
17
+
18
+ The `@primer/css` npm package includes a standalone CSS build of this module in `dist/base.css`.
19
+
20
+ ## License
21
+
22
+ [MIT](https://github.com/primer/css/blob/master/LICENSE) &copy; [GitHub](https://github.com/)
23
+
24
+
25
+ [scss]: https://sass-lang.com/documentation/syntax#scss
@@ -0,0 +1,86 @@
1
+ // stylelint-disable selector-max-type
2
+ * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ input,
7
+ select,
8
+ textarea,
9
+ button {
10
+ font-family: inherit;
11
+ font-size: inherit;
12
+ line-height: inherit;
13
+ }
14
+
15
+ body {
16
+ font-family: $body-font;
17
+ font-size: $body-font-size;
18
+ line-height: $body-line-height;
19
+ color: $text-gray-dark;
20
+ background-color: $bg-white;
21
+ }
22
+
23
+ a {
24
+ color: $text-blue;
25
+ text-decoration: none;
26
+
27
+ &:hover {
28
+ text-decoration: underline;
29
+ }
30
+ }
31
+
32
+ b,
33
+ strong {
34
+ font-weight: $font-weight-bold;
35
+ }
36
+
37
+ // Horizontal lines
38
+ //
39
+ // TODO-MDO: Remove `.rule` from everywhere and replace with `<hr>`s
40
+ hr,
41
+ .rule {
42
+ height: 0;
43
+ // stylelint-disable-next-line primer/spacing
44
+ margin: 15px 0;
45
+ overflow: hidden;
46
+ background: transparent;
47
+ border: 0;
48
+ // stylelint-disable-next-line primer/borders
49
+ border-bottom: $border-width $border-style lighten($gray-300, 5%);
50
+ @include clearfix();
51
+ }
52
+
53
+ //
54
+ // Remove most spacing between table cells.
55
+ //
56
+
57
+ table {
58
+ border-spacing: 0;
59
+ border-collapse: collapse;
60
+ }
61
+
62
+ td,
63
+ th {
64
+ padding: 0;
65
+ }
66
+
67
+ button {
68
+ cursor: pointer;
69
+ // Remove border radius added by Chrome macOS
70
+ border-radius: 0;
71
+ }
72
+
73
+ // increase the selector specificity for [hidden]
74
+ // so that it always overrides utility classes (.d-block, etc.)
75
+ [hidden][hidden] {
76
+ display: none !important;
77
+ }
78
+
79
+ details {
80
+ summary { cursor: pointer; }
81
+
82
+ &:not([open]) {
83
+ // Set details content hidden by default for browsers that don't do this
84
+ > *:not(summary) { display: none !important; }
85
+ }
86
+ }
@@ -0,0 +1,6 @@
1
+ @import "../support/index.scss";
2
+
3
+ @import "./normalize.scss";
4
+ @import "./base.scss";
5
+ @import "./kbd.scss";
6
+ @import "./typography-base.scss";
@@ -0,0 +1,21 @@
1
+ // Keyboard shortcuts
2
+ // stylelint-disable selector-max-type
3
+
4
+ kbd {
5
+ display: inline-block;
6
+ // stylelint-disable-next-line primer/spacing
7
+ padding: ($spacer-1 - 1) ($spacer-1 + 1);
8
+ font: 11px $mono-font;
9
+ // stylelint-disable-next-line primer/typography
10
+ line-height: 10px;
11
+ // stylelint-disable-next-line primer/colors
12
+ color: $gray-700;
13
+ vertical-align: middle;
14
+ background-color: $bg-gray-light;
15
+ // stylelint-disable-next-line primer/borders
16
+ border: $border-style $border-width $border-gray-dark;
17
+ border-bottom-color: $border-gray-dark;
18
+ border-radius: $border-radius;
19
+ // stylelint-disable-next-line primer/box-shadow
20
+ box-shadow: inset 0 -1px 0 $border-gray-dark;
21
+ }
@@ -0,0 +1,421 @@
1
+ // stylelint-disable
2
+ /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
3
+
4
+ /**
5
+ * 1. Change the default font family in all browsers (opinionated).
6
+ * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7
+ */
8
+
9
+ html {
10
+ font-family: sans-serif; /* 1 */
11
+ -ms-text-size-adjust: 100%; /* 2 */
12
+ -webkit-text-size-adjust: 100%; /* 2 */
13
+ }
14
+
15
+ /**
16
+ * Remove the margin in all browsers (opinionated).
17
+ */
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ /* HTML5 display definitions
24
+ ========================================================================== */
25
+
26
+ /**
27
+ * Add the correct display in IE 9-.
28
+ * 1. Add the correct display in Edge, IE, and Firefox.
29
+ * 2. Add the correct display in IE.
30
+ */
31
+
32
+ article,
33
+ aside,
34
+ details, /* 1 */
35
+ figcaption,
36
+ figure,
37
+ footer,
38
+ header,
39
+ main, /* 2 */
40
+ menu,
41
+ nav,
42
+ section { /* 1 */
43
+ display: block;
44
+ }
45
+
46
+ summary {
47
+ display: list-item;
48
+ }
49
+
50
+ /**
51
+ * Add the correct display in IE 9-.
52
+ */
53
+
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block;
59
+ }
60
+
61
+ /**
62
+ * Add the correct display in iOS 4-7.
63
+ */
64
+
65
+ audio:not([controls]) {
66
+ display: none;
67
+ height: 0;
68
+ }
69
+
70
+ /**
71
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
72
+ */
73
+
74
+ progress {
75
+ vertical-align: baseline;
76
+ }
77
+
78
+ /**
79
+ * Add the correct display in IE 10-.
80
+ * 1. Add the correct display in IE.
81
+ */
82
+
83
+ template, /* 1 */
84
+ [hidden] {
85
+ display: none !important;
86
+ }
87
+
88
+ /* Links
89
+ ========================================================================== */
90
+
91
+ /**
92
+ * Remove the gray background on active links in IE 10.
93
+ */
94
+
95
+ a {
96
+ background-color: transparent; /* 1 */
97
+ }
98
+
99
+ /**
100
+ * Remove the outline on focused links when they are also active or hovered
101
+ * in all browsers (opinionated).
102
+ */
103
+
104
+ a:active,
105
+ a:hover {
106
+ outline-width: 0;
107
+ }
108
+
109
+ /* Text-level semantics
110
+ ========================================================================== */
111
+
112
+ /**
113
+ * 1. Remove the bottom border in Firefox 39-.
114
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
115
+ */
116
+
117
+ abbr[title] {
118
+ border-bottom: none; /* 1 */
119
+ text-decoration: underline; /* 2 */
120
+ text-decoration: underline dotted; /* 2 */
121
+ }
122
+
123
+ /**
124
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
125
+ */
126
+
127
+ b,
128
+ strong {
129
+ font-weight: inherit;
130
+ }
131
+
132
+ /**
133
+ * Add the correct font weight in Chrome, Edge, and Safari.
134
+ */
135
+
136
+ b,
137
+ strong {
138
+ font-weight: bolder;
139
+ }
140
+
141
+ /**
142
+ * Add the correct font style in Android 4.3-.
143
+ */
144
+
145
+ dfn {
146
+ font-style: italic;
147
+ }
148
+
149
+ /**
150
+ * Correct the font size and margin on `h1` elements within `section` and
151
+ * `article` contexts in Chrome, Firefox, and Safari.
152
+ */
153
+
154
+ h1 {
155
+ font-size: 2em;
156
+ margin: 0.67em 0;
157
+ }
158
+
159
+ /**
160
+ * Add the correct background and color in IE 9-.
161
+ */
162
+
163
+ mark {
164
+ background-color: #ff0;
165
+ color: $text-black;
166
+ }
167
+
168
+ /**
169
+ * Add the correct font size in all browsers.
170
+ */
171
+
172
+ small {
173
+ font-size: 80%;
174
+ }
175
+
176
+ /**
177
+ * Prevent `sub` and `sup` elements from affecting the line height in
178
+ * all browsers.
179
+ */
180
+
181
+ sub,
182
+ sup {
183
+ font-size: 75%;
184
+ line-height: 0;
185
+ position: relative;
186
+ vertical-align: baseline;
187
+ }
188
+
189
+ sub {
190
+ bottom: -0.25em;
191
+ }
192
+
193
+ sup {
194
+ top: -0.5em;
195
+ }
196
+
197
+ /* Embedded content
198
+ ========================================================================== */
199
+
200
+ /**
201
+ * Remove the border on images inside links in IE 10-.
202
+ */
203
+
204
+ img {
205
+ border-style: none;
206
+ }
207
+
208
+ /**
209
+ * Hide the overflow in IE.
210
+ */
211
+
212
+ svg:not(:root) {
213
+ overflow: hidden;
214
+ }
215
+
216
+ /* Grouping content
217
+ ========================================================================== */
218
+
219
+ /**
220
+ * 1. Correct the inheritance and scaling of font size in all browsers.
221
+ * 2. Correct the odd `em` font sizing in all browsers.
222
+ */
223
+
224
+ code,
225
+ kbd,
226
+ pre,
227
+ samp {
228
+ font-family: monospace, monospace; /* 1 */
229
+ font-size: 1em; /* 2 */
230
+ }
231
+
232
+ /**
233
+ * Add the correct margin in IE 8.
234
+ */
235
+
236
+ figure {
237
+ margin: 1em $spacer-6;
238
+ }
239
+
240
+ /**
241
+ * 1. Add the correct box sizing in Firefox.
242
+ * 2. Show the overflow in Edge and IE.
243
+ */
244
+
245
+ hr {
246
+ box-sizing: content-box; /* 1 */
247
+ height: 0; /* 1 */
248
+ overflow: visible; /* 2 */
249
+ }
250
+
251
+ /* Forms
252
+ ========================================================================== */
253
+
254
+ /**
255
+ * 1. Change font properties to `inherit` in all browsers (opinionated).
256
+ * 2. Remove the margin in Firefox and Safari.
257
+ */
258
+
259
+ button,
260
+ input,
261
+ select,
262
+ textarea {
263
+ font: inherit; /* 1 */
264
+ margin: 0; /* 2 */
265
+ }
266
+
267
+ /**
268
+ * Restore the font weight unset by the previous rule.
269
+ */
270
+
271
+ optgroup {
272
+ font-weight: $font-weight-bold;
273
+ }
274
+
275
+ /**
276
+ * Show the overflow in IE.
277
+ * 1. Show the overflow in Edge.
278
+ */
279
+
280
+ button,
281
+ input { /* 1 */
282
+ overflow: visible;
283
+ }
284
+
285
+ /**
286
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
287
+ * 1. Remove the inheritance of text transform in Firefox.
288
+ */
289
+
290
+ button,
291
+ select { /* 1 */
292
+ text-transform: none;
293
+ }
294
+
295
+ /**
296
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
297
+ * controls in Android 4.
298
+ * 2. Correct the inability to style clickable types in iOS and Safari.
299
+ */
300
+
301
+ button,
302
+ html [type="button"], /* 1 */
303
+ [type="reset"],
304
+ [type="submit"] {
305
+ -webkit-appearance: button; /* 2 */
306
+ }
307
+
308
+ /**
309
+ * Remove the inner border and padding in Firefox.
310
+ */
311
+
312
+ button::-moz-focus-inner,
313
+ [type="button"]::-moz-focus-inner,
314
+ [type="reset"]::-moz-focus-inner,
315
+ [type="submit"]::-moz-focus-inner {
316
+ border-style: none;
317
+ padding: 0;
318
+ }
319
+
320
+ /**
321
+ * Restore the focus styles unset by the previous rule.
322
+ */
323
+
324
+ button:-moz-focusring,
325
+ [type="button"]:-moz-focusring,
326
+ [type="reset"]:-moz-focusring,
327
+ [type="submit"]:-moz-focusring {
328
+ outline: 1px dotted ButtonText;
329
+ }
330
+
331
+ /**
332
+ * Change the border, margin, and padding in all browsers (opinionated).
333
+ */
334
+
335
+ fieldset {
336
+ border: $border-width $border-style #c0c0c0;
337
+ margin: 0 2px;
338
+ padding: 0.35em 0.625em $em-spacer-6;
339
+ }
340
+
341
+ /**
342
+ * 1. Correct the text wrapping in Edge and IE.
343
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
344
+ * 3. Remove the padding so developers are not caught out when they zero out
345
+ * `fieldset` elements in all browsers.
346
+ */
347
+
348
+ legend {
349
+ box-sizing: border-box; /* 1 */
350
+ color: inherit; /* 2 */
351
+ display: table; /* 1 */
352
+ max-width: 100%; /* 1 */
353
+ padding: 0; /* 3 */
354
+ white-space: normal; /* 1 */
355
+ }
356
+
357
+ /**
358
+ * Remove the default vertical scrollbar in IE.
359
+ */
360
+
361
+ textarea {
362
+ overflow: auto;
363
+ }
364
+
365
+ /**
366
+ * 1. Add the correct box sizing in IE 10-.
367
+ * 2. Remove the padding in IE 10-.
368
+ */
369
+
370
+ [type="checkbox"],
371
+ [type="radio"] {
372
+ box-sizing: border-box; /* 1 */
373
+ padding: 0; /* 2 */
374
+ }
375
+
376
+ /**
377
+ * Correct the cursor style of increment and decrement buttons in Chrome.
378
+ */
379
+
380
+ [type="number"]::-webkit-inner-spin-button,
381
+ [type="number"]::-webkit-outer-spin-button {
382
+ height: auto;
383
+ }
384
+
385
+ /**
386
+ * 1. Correct the odd appearance in Chrome and Safari.
387
+ * 2. Correct the outline style in Safari.
388
+ */
389
+
390
+ [type="search"] {
391
+ -webkit-appearance: textfield; /* 1 */
392
+ outline-offset: -2px; /* 2 */
393
+ }
394
+
395
+ /**
396
+ * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
397
+ */
398
+
399
+ [type="search"]::-webkit-search-cancel-button,
400
+ [type="search"]::-webkit-search-decoration {
401
+ -webkit-appearance: none;
402
+ }
403
+
404
+ /**
405
+ * Correct the text style of placeholders in Chrome, Edge, and Safari.
406
+ */
407
+
408
+ ::-webkit-input-placeholder {
409
+ color: inherit;
410
+ opacity: 0.54;
411
+ }
412
+
413
+ /**
414
+ * 1. Correct the inability to style clickable types in iOS and Safari.
415
+ * 2. Change font properties to `inherit` in Safari.
416
+ */
417
+
418
+ ::-webkit-file-upload-button {
419
+ -webkit-appearance: button; /* 1 */
420
+ font: inherit; /* 2 */
421
+ }