jekyll-theme-so-simple 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/LICENSE +49 -49
- data/README.md +15 -2
- data/_data/authors.yml +16 -16
- data/_data/navigation.yml +16 -14
- data/_data/text.yml +36 -36
- data/_includes/disqus-comments.html +19 -19
- data/_includes/documents-collection.html +19 -19
- data/_includes/entry-date.html +6 -6
- data/_includes/entry.html +41 -39
- data/_includes/footer-custom.html +3 -3
- data/_includes/footer.html +24 -24
- data/_includes/google-analytics.html +9 -9
- data/_includes/head-custom.html +5 -5
- data/_includes/head-feed.html +1 -1
- data/_includes/head-seo.html +1 -1
- data/_includes/head.html +50 -50
- data/_includes/lunr-search-scripts.html +106 -106
- data/_includes/masthead.html +13 -13
- data/_includes/navigation.html +17 -17
- data/_includes/page-author.html +37 -37
- data/_includes/page-categories.html +14 -14
- data/_includes/page-date.html +4 -4
- data/_includes/page-image.html +14 -14
- data/_includes/page-pagination.html +19 -19
- data/_includes/page-tags.html +14 -14
- data/_includes/posts-all.html +3 -3
- data/_includes/posts-category.html +3 -3
- data/_includes/posts-paginated.html +74 -74
- data/_includes/posts-tag.html +3 -3
- data/_includes/read-time.html +16 -16
- data/_includes/responsive-embed +16 -16
- data/_includes/scripts.html +1 -3
- data/_includes/skip-links.html +8 -8
- data/_includes/social-share.html +6 -6
- data/_includes/toc +9 -9
- data/_layouts/categories.html +48 -48
- data/_layouts/category.html +9 -9
- data/_layouts/collection.html +9 -9
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +17 -17
- data/_layouts/page.html +30 -30
- data/_layouts/post.html +41 -41
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +1 -1
- data/_layouts/tag.html +9 -9
- data/_layouts/tags.html +48 -48
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_author.scss +45 -45
- data/_sass/so-simple/_base.scss +112 -112
- data/_sass/so-simple/_buttons.scss +92 -92
- data/_sass/so-simple/_entries.scss +182 -182
- data/_sass/so-simple/_functions.scss +4 -4
- data/_sass/so-simple/_global.scss +393 -393
- data/_sass/so-simple/_icons.scss +43 -43
- data/_sass/so-simple/_mixins.scss +5 -5
- data/_sass/so-simple/_notices.scss +93 -93
- data/_sass/so-simple/_page.scss +287 -282
- data/_sass/so-simple/_reset.scss +523 -523
- data/_sass/so-simple/_syntax-highlighting.scss +334 -334
- data/_sass/so-simple/_tables.scss +34 -34
- data/_sass/so-simple/_utilities.scss +7 -7
- data/_sass/so-simple/_variables.scss +132 -132
- data/_sass/so-simple/functions/_color.scss +21 -21
- data/_sass/so-simple/functions/_em.scss +7 -7
- data/_sass/so-simple/functions/_fluid-type.scss +33 -33
- data/_sass/so-simple/functions/_yiq.scss +38 -38
- data/_sass/so-simple/mixins/_clearfix.scss +32 -32
- data/_sass/so-simple/mixins/_float.scss +15 -15
- data/_sass/so-simple/mixins/_image.scss +38 -38
- data/_sass/so-simple/mixins/_lists.scss +9 -9
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
- data/_sass/so-simple/utilities/_accessibility.scss +43 -43
- data/_sass/so-simple/utilities/_align.scss +60 -60
- data/_sass/so-simple/utilities/_animations.scss +99 -99
- data/_sass/so-simple/utilities/_clearfix.scss +7 -7
- data/_sass/so-simple/utilities/_float.scss +7 -7
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
- data/_sass/so-simple/utilities/_text.scss +48 -48
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
- data/assets/css/main.scss +7 -7
- data/assets/js/lunr/lunr.da.min.js +17 -17
- data/assets/js/lunr/lunr.de.min.js +17 -17
- data/assets/js/lunr/lunr.du.min.js +17 -17
- data/assets/js/lunr/lunr.es.min.js +17 -17
- data/assets/js/lunr/lunr.fi.min.js +17 -17
- data/assets/js/lunr/lunr.fr.min.js +17 -17
- data/assets/js/lunr/lunr.hu.min.js +17 -17
- data/assets/js/lunr/lunr.it.min.js +17 -17
- data/assets/js/lunr/lunr.jp.min.js +1 -1
- data/assets/js/lunr/lunr.min.js +6 -6
- data/assets/js/lunr/lunr.no.min.js +17 -17
- data/assets/js/lunr/lunr.pt.min.js +17 -17
- data/assets/js/lunr/lunr.ro.min.js +17 -17
- data/assets/js/lunr/lunr.ru.min.js +17 -17
- data/assets/js/lunr/lunr.sv.min.js +17 -17
- data/assets/js/lunr/lunr.tr.min.js +17 -17
- data/assets/js/main.js +17 -15
- data/assets/js/main.min.js +2 -2
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/plugins/lity.js +655 -655
- data/assets/js/plugins/lity.min.js +4 -4
- data/assets/js/plugins/table-of-contents.js +59 -59
- data/assets/js/search-data.json +43 -27
- metadata +3 -3
data/_sass/so-simple/_reset.scss
CHANGED
@@ -1,523 +1,523 @@
|
|
1
|
-
/*! normalize.css v5.0.0 | 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
|
6
|
-
* IE on Windows Phone and in iOS.
|
7
|
-
*/
|
8
|
-
|
9
|
-
/* Document
|
10
|
-
========================================================================== */
|
11
|
-
|
12
|
-
html {
|
13
|
-
font-family: $base-font-family; /* 1 */
|
14
|
-
box-sizing: border-box;
|
15
|
-
-ms-text-size-adjust: 100%; /* 2 */
|
16
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
17
|
-
}
|
18
|
-
|
19
|
-
*,
|
20
|
-
*::before,
|
21
|
-
*::after {
|
22
|
-
box-sizing: inherit;
|
23
|
-
}
|
24
|
-
|
25
|
-
/* Sections
|
26
|
-
========================================================================== */
|
27
|
-
|
28
|
-
/**
|
29
|
-
* Remove the margin in all browsers (opinionated).
|
30
|
-
*/
|
31
|
-
|
32
|
-
body {
|
33
|
-
margin: 0;
|
34
|
-
line-height: 1.5;
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Add the correct display in IE 9-.
|
39
|
-
*/
|
40
|
-
|
41
|
-
article,
|
42
|
-
aside,
|
43
|
-
footer,
|
44
|
-
header,
|
45
|
-
nav,
|
46
|
-
section {
|
47
|
-
display: block;
|
48
|
-
}
|
49
|
-
|
50
|
-
/**
|
51
|
-
* Remove margin padding.
|
52
|
-
*
|
53
|
-
*/
|
54
|
-
|
55
|
-
h1,
|
56
|
-
h2,
|
57
|
-
h3,
|
58
|
-
h4,
|
59
|
-
h5,
|
60
|
-
h6,
|
61
|
-
p,
|
62
|
-
pre,
|
63
|
-
blockquote,
|
64
|
-
dl,
|
65
|
-
table,
|
66
|
-
address {
|
67
|
-
margin-top: 0;
|
68
|
-
margin-bottom: 1.5rem;
|
69
|
-
}
|
70
|
-
|
71
|
-
/**
|
72
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
73
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
74
|
-
*/
|
75
|
-
|
76
|
-
h1 {
|
77
|
-
font-size: 2em;
|
78
|
-
}
|
79
|
-
|
80
|
-
/**
|
81
|
-
* Adjust heading line-height
|
82
|
-
*
|
83
|
-
*/
|
84
|
-
|
85
|
-
h1,
|
86
|
-
h2,
|
87
|
-
h3,
|
88
|
-
h4 {
|
89
|
-
line-height: 1.2;
|
90
|
-
}
|
91
|
-
|
92
|
-
/* Grouping content
|
93
|
-
========================================================================== */
|
94
|
-
|
95
|
-
/**
|
96
|
-
* Add the correct display in IE 9-.
|
97
|
-
* 1. Add the correct display in IE.
|
98
|
-
*/
|
99
|
-
|
100
|
-
figcaption,
|
101
|
-
figure,
|
102
|
-
main { /* 1 */
|
103
|
-
display: block;
|
104
|
-
}
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Reset the margins.
|
108
|
-
*/
|
109
|
-
|
110
|
-
figure {
|
111
|
-
margin: 1rem 0 1.5rem;
|
112
|
-
}
|
113
|
-
|
114
|
-
/**
|
115
|
-
* 1. Add the correct box sizing in Firefox.
|
116
|
-
* 2. Show the overflow in Edge and IE.
|
117
|
-
*/
|
118
|
-
|
119
|
-
hr {
|
120
|
-
height: 0; /* 1 */
|
121
|
-
overflow: visible; /* 2 */
|
122
|
-
box-sizing: content-box; /* 1 */
|
123
|
-
}
|
124
|
-
|
125
|
-
/**
|
126
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
127
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
128
|
-
* 3. Add scrollbars to wide code blocks.
|
129
|
-
*/
|
130
|
-
|
131
|
-
pre {
|
132
|
-
font-family: monospace, monospace; /* 1 */
|
133
|
-
font-size: 1em; /* 2 */
|
134
|
-
overflow-x: auto; /* 3 */
|
135
|
-
}
|
136
|
-
|
137
|
-
/* Text-level semantics
|
138
|
-
========================================================================== */
|
139
|
-
|
140
|
-
/**
|
141
|
-
* 1. Remove the gray background on active links in IE 10.
|
142
|
-
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
143
|
-
*/
|
144
|
-
|
145
|
-
a {
|
146
|
-
background-color: transparent; /* 1 */
|
147
|
-
-webkit-text-decoration-skip: objects; /* 2 */
|
148
|
-
}
|
149
|
-
|
150
|
-
/**
|
151
|
-
* Remove the outline on focused links when they are also active or hovered
|
152
|
-
* in all browsers (opinionated).
|
153
|
-
*/
|
154
|
-
|
155
|
-
a:active,
|
156
|
-
a:hover {
|
157
|
-
outline-width: 0;
|
158
|
-
}
|
159
|
-
|
160
|
-
/**
|
161
|
-
* 1. Remove the bottom border in Firefox 39-.
|
162
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
163
|
-
*/
|
164
|
-
|
165
|
-
abbr[title] {
|
166
|
-
border-bottom: none; /* 1 */
|
167
|
-
text-decoration: underline; /* 2 */
|
168
|
-
text-decoration: underline dotted; /* 2 */
|
169
|
-
}
|
170
|
-
|
171
|
-
/**
|
172
|
-
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
173
|
-
*/
|
174
|
-
|
175
|
-
b,
|
176
|
-
strong {
|
177
|
-
font-weight: inherit;
|
178
|
-
font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari. */
|
179
|
-
}
|
180
|
-
|
181
|
-
/**
|
182
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
183
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
184
|
-
*/
|
185
|
-
|
186
|
-
code,
|
187
|
-
kbd,
|
188
|
-
samp {
|
189
|
-
font-family: monospace, monospace; /* 1 */
|
190
|
-
font-size: 1em; /* 2 */
|
191
|
-
}
|
192
|
-
|
193
|
-
/**
|
194
|
-
* Add the correct font style in Android 4.3-.
|
195
|
-
*/
|
196
|
-
|
197
|
-
dfn {
|
198
|
-
font-style: italic;
|
199
|
-
}
|
200
|
-
|
201
|
-
/**
|
202
|
-
* Add the correct background and color in IE 9-.
|
203
|
-
*/
|
204
|
-
|
205
|
-
mark {
|
206
|
-
background-color: #ff0;
|
207
|
-
color: #000;
|
208
|
-
}
|
209
|
-
|
210
|
-
/**
|
211
|
-
* Add the correct font size in all browsers.
|
212
|
-
*/
|
213
|
-
|
214
|
-
small {
|
215
|
-
font-size: 80%;
|
216
|
-
}
|
217
|
-
|
218
|
-
/**
|
219
|
-
* Change the margin and padding and add a line rule on the left-side in all
|
220
|
-
* browsers (opinionated).
|
221
|
-
*/
|
222
|
-
|
223
|
-
blockquote {
|
224
|
-
margin-right: 0;
|
225
|
-
margin-left: 0;
|
226
|
-
padding: 2em 3em;
|
227
|
-
background-color: mix(#fff, $accent-color, 95%);
|
228
|
-
border-left: solid 0.5em $accent-color;
|
229
|
-
|
230
|
-
*:last-child {
|
231
|
-
margin-bottom: 0;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
|
235
|
-
/**
|
236
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
237
|
-
* all browsers.
|
238
|
-
*/
|
239
|
-
|
240
|
-
sub,
|
241
|
-
sup {
|
242
|
-
position: relative;
|
243
|
-
font-size: 75%;
|
244
|
-
line-height: 0;
|
245
|
-
vertical-align: baseline;
|
246
|
-
}
|
247
|
-
|
248
|
-
sub {
|
249
|
-
bottom: -0.25em;
|
250
|
-
}
|
251
|
-
|
252
|
-
sup {
|
253
|
-
top: -0.5em;
|
254
|
-
}
|
255
|
-
|
256
|
-
/**
|
257
|
-
* Remove margin
|
258
|
-
*/
|
259
|
-
|
260
|
-
ul,
|
261
|
-
ol {
|
262
|
-
margin-top: 0;
|
263
|
-
}
|
264
|
-
|
265
|
-
/* Embedded content
|
266
|
-
========================================================================== */
|
267
|
-
|
268
|
-
/**
|
269
|
-
* Add the correct display in IE 9-.
|
270
|
-
*/
|
271
|
-
|
272
|
-
audio,
|
273
|
-
video {
|
274
|
-
display: inline-block;
|
275
|
-
}
|
276
|
-
|
277
|
-
/**
|
278
|
-
* Add the correct display in iOS 4-7.
|
279
|
-
*/
|
280
|
-
|
281
|
-
audio:not([controls]) {
|
282
|
-
display: none;
|
283
|
-
height: 0;
|
284
|
-
}
|
285
|
-
|
286
|
-
img {
|
287
|
-
/* Responsive images (ensure images don't scale beyond their parents) */
|
288
|
-
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
289
|
-
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
290
|
-
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
291
|
-
|
292
|
-
border-style: none; /* Remove the border on images inside links in IE 10-.*/
|
293
|
-
|
294
|
-
vertical-align: middle;
|
295
|
-
-ms-interpolation-mode: bicubic;
|
296
|
-
}
|
297
|
-
|
298
|
-
/**
|
299
|
-
* Hide the overflow in IE.
|
300
|
-
*/
|
301
|
-
|
302
|
-
svg:not(:root) {
|
303
|
-
overflow: hidden;
|
304
|
-
}
|
305
|
-
|
306
|
-
/* Forms
|
307
|
-
========================================================================== */
|
308
|
-
|
309
|
-
/**
|
310
|
-
* 1. Change the font styles in all browsers (opinionated).
|
311
|
-
* 2. Remove the margin in Firefox and Safari.
|
312
|
-
*/
|
313
|
-
|
314
|
-
button,
|
315
|
-
input,
|
316
|
-
optgroup,
|
317
|
-
select,
|
318
|
-
textarea {
|
319
|
-
margin: 0; /* 2 */
|
320
|
-
font-family: $base-font-family; /* 1 */
|
321
|
-
font-size: 100%; /* 1 */
|
322
|
-
line-height: 1.15; /* 1 */
|
323
|
-
}
|
324
|
-
|
325
|
-
/**
|
326
|
-
* Show the overflow in IE.
|
327
|
-
* 1. Show the overflow in Edge.
|
328
|
-
*/
|
329
|
-
|
330
|
-
button,
|
331
|
-
input { /* 1 */
|
332
|
-
overflow: visible;
|
333
|
-
}
|
334
|
-
|
335
|
-
/**
|
336
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
337
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
338
|
-
*/
|
339
|
-
|
340
|
-
button,
|
341
|
-
select { /* 1 */
|
342
|
-
text-transform: none;
|
343
|
-
}
|
344
|
-
|
345
|
-
/**
|
346
|
-
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
347
|
-
* controls in Android 4.
|
348
|
-
* 2. Correct the inability to style clickable types in iOS and Safari.
|
349
|
-
*/
|
350
|
-
|
351
|
-
button,
|
352
|
-
html [type="button"], /* 1 */
|
353
|
-
[type="reset"],
|
354
|
-
[type="submit"] {
|
355
|
-
-webkit-appearance: button; /* 2 */
|
356
|
-
}
|
357
|
-
|
358
|
-
/**
|
359
|
-
* Remove the inner border and padding in Firefox.
|
360
|
-
*/
|
361
|
-
|
362
|
-
button::-moz-focus-inner,
|
363
|
-
[type="button"]::-moz-focus-inner,
|
364
|
-
[type="reset"]::-moz-focus-inner,
|
365
|
-
[type="submit"]::-moz-focus-inner {
|
366
|
-
padding: 0;
|
367
|
-
border-style: none;
|
368
|
-
}
|
369
|
-
|
370
|
-
/**
|
371
|
-
* Restore the focus styles unset by the previous rule.
|
372
|
-
*/
|
373
|
-
|
374
|
-
button:-moz-focusring,
|
375
|
-
[type="button"]:-moz-focusring,
|
376
|
-
[type="reset"]:-moz-focusring,
|
377
|
-
[type="submit"]:-moz-focusring {
|
378
|
-
outline: 1px dotted ButtonText;
|
379
|
-
}
|
380
|
-
|
381
|
-
/**
|
382
|
-
* Change the border, margin, and padding in all browsers (opinionated).
|
383
|
-
*/
|
384
|
-
|
385
|
-
fieldset {
|
386
|
-
margin: 0 2px;
|
387
|
-
padding: 0.35em 0.625em 0.75em;
|
388
|
-
border: 1px solid #c0c0c0;
|
389
|
-
}
|
390
|
-
|
391
|
-
/**
|
392
|
-
* 1. Correct the text wrapping in Edge and IE.
|
393
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
394
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
395
|
-
* `fieldset` elements in all browsers.
|
396
|
-
*/
|
397
|
-
|
398
|
-
legend {
|
399
|
-
display: table; /* 1 */
|
400
|
-
max-width: 100%; /* 1 */
|
401
|
-
padding: 0; /* 3 */
|
402
|
-
color: inherit; /* 2 */
|
403
|
-
white-space: normal; /* 1 */
|
404
|
-
box-sizing: border-box; /* 1 */
|
405
|
-
}
|
406
|
-
|
407
|
-
/**
|
408
|
-
* 1. Add the correct display in IE 9-.
|
409
|
-
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
410
|
-
*/
|
411
|
-
|
412
|
-
progress {
|
413
|
-
display: inline-block; /* 1 */
|
414
|
-
vertical-align: baseline; /* 2 */
|
415
|
-
}
|
416
|
-
|
417
|
-
/**
|
418
|
-
* Remove the default vertical scrollbar in IE.
|
419
|
-
*/
|
420
|
-
|
421
|
-
textarea {
|
422
|
-
overflow: auto;
|
423
|
-
}
|
424
|
-
|
425
|
-
/**
|
426
|
-
* 1. Add the correct box sizing in IE 10-.
|
427
|
-
* 2. Remove the padding in IE 10-.
|
428
|
-
*/
|
429
|
-
|
430
|
-
[type="checkbox"],
|
431
|
-
[type="radio"] {
|
432
|
-
padding: 0; /* 2 */
|
433
|
-
box-sizing: border-box; /* 1 */
|
434
|
-
}
|
435
|
-
|
436
|
-
/**
|
437
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
438
|
-
*/
|
439
|
-
|
440
|
-
[type="number"]::-webkit-inner-spin-button,
|
441
|
-
[type="number"]::-webkit-outer-spin-button {
|
442
|
-
height: auto;
|
443
|
-
}
|
444
|
-
|
445
|
-
/**
|
446
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
447
|
-
* 2. Correct the outline style in Safari.
|
448
|
-
*/
|
449
|
-
|
450
|
-
[type="search"] {
|
451
|
-
outline-offset: -2px; /* 2 */
|
452
|
-
-webkit-appearance: textfield; /* 1 */
|
453
|
-
}
|
454
|
-
|
455
|
-
/**
|
456
|
-
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
457
|
-
*/
|
458
|
-
|
459
|
-
[type="search"]::-webkit-search-cancel-button,
|
460
|
-
[type="search"]::-webkit-search-decoration {
|
461
|
-
-webkit-appearance: none;
|
462
|
-
}
|
463
|
-
|
464
|
-
/**
|
465
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
466
|
-
* 2. Change font properties to `inherit` in Safari.
|
467
|
-
*/
|
468
|
-
|
469
|
-
::-webkit-file-upload-button {
|
470
|
-
font: inherit; /* 2 */
|
471
|
-
-webkit-appearance: button; /* 1 */
|
472
|
-
}
|
473
|
-
|
474
|
-
/* Interactive
|
475
|
-
========================================================================== */
|
476
|
-
|
477
|
-
/*
|
478
|
-
* Add the correct display in IE 9-.
|
479
|
-
* 1. Add the correct display in Edge, IE, and Firefox.
|
480
|
-
*/
|
481
|
-
|
482
|
-
details, /* 1 */
|
483
|
-
menu {
|
484
|
-
display: block;
|
485
|
-
}
|
486
|
-
|
487
|
-
/*
|
488
|
-
* Add the correct display in all browsers.
|
489
|
-
*/
|
490
|
-
|
491
|
-
summary {
|
492
|
-
display: list-item;
|
493
|
-
}
|
494
|
-
|
495
|
-
/* Scripting
|
496
|
-
========================================================================== */
|
497
|
-
|
498
|
-
/**
|
499
|
-
* Add the correct display in IE 9-.
|
500
|
-
*/
|
501
|
-
|
502
|
-
canvas {
|
503
|
-
display: inline-block;
|
504
|
-
}
|
505
|
-
|
506
|
-
/**
|
507
|
-
* Add the correct display in IE.
|
508
|
-
*/
|
509
|
-
|
510
|
-
template {
|
511
|
-
display: none;
|
512
|
-
}
|
513
|
-
|
514
|
-
/* Hidden
|
515
|
-
========================================================================== */
|
516
|
-
|
517
|
-
/**
|
518
|
-
* Add the correct display in IE 10-.
|
519
|
-
*/
|
520
|
-
|
521
|
-
[hidden] {
|
522
|
-
display: none;
|
523
|
-
}
|
1
|
+
/*! normalize.css v5.0.0 | 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
|
6
|
+
* IE on Windows Phone and in iOS.
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* Document
|
10
|
+
========================================================================== */
|
11
|
+
|
12
|
+
html {
|
13
|
+
font-family: $base-font-family; /* 1 */
|
14
|
+
box-sizing: border-box;
|
15
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
16
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
17
|
+
}
|
18
|
+
|
19
|
+
*,
|
20
|
+
*::before,
|
21
|
+
*::after {
|
22
|
+
box-sizing: inherit;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Sections
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Remove the margin in all browsers (opinionated).
|
30
|
+
*/
|
31
|
+
|
32
|
+
body {
|
33
|
+
margin: 0;
|
34
|
+
line-height: 1.5;
|
35
|
+
}
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Add the correct display in IE 9-.
|
39
|
+
*/
|
40
|
+
|
41
|
+
article,
|
42
|
+
aside,
|
43
|
+
footer,
|
44
|
+
header,
|
45
|
+
nav,
|
46
|
+
section {
|
47
|
+
display: block;
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Remove margin padding.
|
52
|
+
*
|
53
|
+
*/
|
54
|
+
|
55
|
+
h1,
|
56
|
+
h2,
|
57
|
+
h3,
|
58
|
+
h4,
|
59
|
+
h5,
|
60
|
+
h6,
|
61
|
+
p,
|
62
|
+
pre,
|
63
|
+
blockquote,
|
64
|
+
dl,
|
65
|
+
table,
|
66
|
+
address {
|
67
|
+
margin-top: 0;
|
68
|
+
margin-bottom: 1.5rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
73
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
74
|
+
*/
|
75
|
+
|
76
|
+
h1 {
|
77
|
+
font-size: 2em;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Adjust heading line-height
|
82
|
+
*
|
83
|
+
*/
|
84
|
+
|
85
|
+
h1,
|
86
|
+
h2,
|
87
|
+
h3,
|
88
|
+
h4 {
|
89
|
+
line-height: 1.2;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Grouping content
|
93
|
+
========================================================================== */
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Add the correct display in IE 9-.
|
97
|
+
* 1. Add the correct display in IE.
|
98
|
+
*/
|
99
|
+
|
100
|
+
figcaption,
|
101
|
+
figure,
|
102
|
+
main { /* 1 */
|
103
|
+
display: block;
|
104
|
+
}
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Reset the margins.
|
108
|
+
*/
|
109
|
+
|
110
|
+
figure {
|
111
|
+
margin: 1rem 0 1.5rem;
|
112
|
+
}
|
113
|
+
|
114
|
+
/**
|
115
|
+
* 1. Add the correct box sizing in Firefox.
|
116
|
+
* 2. Show the overflow in Edge and IE.
|
117
|
+
*/
|
118
|
+
|
119
|
+
hr {
|
120
|
+
height: 0; /* 1 */
|
121
|
+
overflow: visible; /* 2 */
|
122
|
+
box-sizing: content-box; /* 1 */
|
123
|
+
}
|
124
|
+
|
125
|
+
/**
|
126
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
127
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
128
|
+
* 3. Add scrollbars to wide code blocks.
|
129
|
+
*/
|
130
|
+
|
131
|
+
pre {
|
132
|
+
font-family: monospace, monospace; /* 1 */
|
133
|
+
font-size: 1em; /* 2 */
|
134
|
+
overflow-x: auto; /* 3 */
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Text-level semantics
|
138
|
+
========================================================================== */
|
139
|
+
|
140
|
+
/**
|
141
|
+
* 1. Remove the gray background on active links in IE 10.
|
142
|
+
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
143
|
+
*/
|
144
|
+
|
145
|
+
a {
|
146
|
+
background-color: transparent; /* 1 */
|
147
|
+
-webkit-text-decoration-skip: objects; /* 2 */
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Remove the outline on focused links when they are also active or hovered
|
152
|
+
* in all browsers (opinionated).
|
153
|
+
*/
|
154
|
+
|
155
|
+
a:active,
|
156
|
+
a:hover {
|
157
|
+
outline-width: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
/**
|
161
|
+
* 1. Remove the bottom border in Firefox 39-.
|
162
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
163
|
+
*/
|
164
|
+
|
165
|
+
abbr[title] {
|
166
|
+
border-bottom: none; /* 1 */
|
167
|
+
text-decoration: underline; /* 2 */
|
168
|
+
text-decoration: underline dotted; /* 2 */
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
173
|
+
*/
|
174
|
+
|
175
|
+
b,
|
176
|
+
strong {
|
177
|
+
font-weight: inherit;
|
178
|
+
font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari. */
|
179
|
+
}
|
180
|
+
|
181
|
+
/**
|
182
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
183
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
184
|
+
*/
|
185
|
+
|
186
|
+
code,
|
187
|
+
kbd,
|
188
|
+
samp {
|
189
|
+
font-family: monospace, monospace; /* 1 */
|
190
|
+
font-size: 1em; /* 2 */
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Add the correct font style in Android 4.3-.
|
195
|
+
*/
|
196
|
+
|
197
|
+
dfn {
|
198
|
+
font-style: italic;
|
199
|
+
}
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Add the correct background and color in IE 9-.
|
203
|
+
*/
|
204
|
+
|
205
|
+
mark {
|
206
|
+
background-color: #ff0;
|
207
|
+
color: #000;
|
208
|
+
}
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Add the correct font size in all browsers.
|
212
|
+
*/
|
213
|
+
|
214
|
+
small {
|
215
|
+
font-size: 80%;
|
216
|
+
}
|
217
|
+
|
218
|
+
/**
|
219
|
+
* Change the margin and padding and add a line rule on the left-side in all
|
220
|
+
* browsers (opinionated).
|
221
|
+
*/
|
222
|
+
|
223
|
+
blockquote {
|
224
|
+
margin-right: 0;
|
225
|
+
margin-left: 0;
|
226
|
+
padding: 2em 3em;
|
227
|
+
background-color: mix(#fff, $accent-color, 95%);
|
228
|
+
border-left: solid 0.5em $accent-color;
|
229
|
+
|
230
|
+
*:last-child {
|
231
|
+
margin-bottom: 0;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
/**
|
236
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
237
|
+
* all browsers.
|
238
|
+
*/
|
239
|
+
|
240
|
+
sub,
|
241
|
+
sup {
|
242
|
+
position: relative;
|
243
|
+
font-size: 75%;
|
244
|
+
line-height: 0;
|
245
|
+
vertical-align: baseline;
|
246
|
+
}
|
247
|
+
|
248
|
+
sub {
|
249
|
+
bottom: -0.25em;
|
250
|
+
}
|
251
|
+
|
252
|
+
sup {
|
253
|
+
top: -0.5em;
|
254
|
+
}
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Remove margin
|
258
|
+
*/
|
259
|
+
|
260
|
+
ul,
|
261
|
+
ol {
|
262
|
+
margin-top: 0;
|
263
|
+
}
|
264
|
+
|
265
|
+
/* Embedded content
|
266
|
+
========================================================================== */
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Add the correct display in IE 9-.
|
270
|
+
*/
|
271
|
+
|
272
|
+
audio,
|
273
|
+
video {
|
274
|
+
display: inline-block;
|
275
|
+
}
|
276
|
+
|
277
|
+
/**
|
278
|
+
* Add the correct display in iOS 4-7.
|
279
|
+
*/
|
280
|
+
|
281
|
+
audio:not([controls]) {
|
282
|
+
display: none;
|
283
|
+
height: 0;
|
284
|
+
}
|
285
|
+
|
286
|
+
img {
|
287
|
+
/* Responsive images (ensure images don't scale beyond their parents) */
|
288
|
+
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
289
|
+
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
290
|
+
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
291
|
+
|
292
|
+
border-style: none; /* Remove the border on images inside links in IE 10-.*/
|
293
|
+
|
294
|
+
vertical-align: middle;
|
295
|
+
-ms-interpolation-mode: bicubic;
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Hide the overflow in IE.
|
300
|
+
*/
|
301
|
+
|
302
|
+
svg:not(:root) {
|
303
|
+
overflow: hidden;
|
304
|
+
}
|
305
|
+
|
306
|
+
/* Forms
|
307
|
+
========================================================================== */
|
308
|
+
|
309
|
+
/**
|
310
|
+
* 1. Change the font styles in all browsers (opinionated).
|
311
|
+
* 2. Remove the margin in Firefox and Safari.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button,
|
315
|
+
input,
|
316
|
+
optgroup,
|
317
|
+
select,
|
318
|
+
textarea {
|
319
|
+
margin: 0; /* 2 */
|
320
|
+
font-family: $base-font-family; /* 1 */
|
321
|
+
font-size: 100%; /* 1 */
|
322
|
+
line-height: 1.15; /* 1 */
|
323
|
+
}
|
324
|
+
|
325
|
+
/**
|
326
|
+
* Show the overflow in IE.
|
327
|
+
* 1. Show the overflow in Edge.
|
328
|
+
*/
|
329
|
+
|
330
|
+
button,
|
331
|
+
input { /* 1 */
|
332
|
+
overflow: visible;
|
333
|
+
}
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
337
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
338
|
+
*/
|
339
|
+
|
340
|
+
button,
|
341
|
+
select { /* 1 */
|
342
|
+
text-transform: none;
|
343
|
+
}
|
344
|
+
|
345
|
+
/**
|
346
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
347
|
+
* controls in Android 4.
|
348
|
+
* 2. Correct the inability to style clickable types in iOS and Safari.
|
349
|
+
*/
|
350
|
+
|
351
|
+
button,
|
352
|
+
html [type="button"], /* 1 */
|
353
|
+
[type="reset"],
|
354
|
+
[type="submit"] {
|
355
|
+
-webkit-appearance: button; /* 2 */
|
356
|
+
}
|
357
|
+
|
358
|
+
/**
|
359
|
+
* Remove the inner border and padding in Firefox.
|
360
|
+
*/
|
361
|
+
|
362
|
+
button::-moz-focus-inner,
|
363
|
+
[type="button"]::-moz-focus-inner,
|
364
|
+
[type="reset"]::-moz-focus-inner,
|
365
|
+
[type="submit"]::-moz-focus-inner {
|
366
|
+
padding: 0;
|
367
|
+
border-style: none;
|
368
|
+
}
|
369
|
+
|
370
|
+
/**
|
371
|
+
* Restore the focus styles unset by the previous rule.
|
372
|
+
*/
|
373
|
+
|
374
|
+
button:-moz-focusring,
|
375
|
+
[type="button"]:-moz-focusring,
|
376
|
+
[type="reset"]:-moz-focusring,
|
377
|
+
[type="submit"]:-moz-focusring {
|
378
|
+
outline: 1px dotted ButtonText;
|
379
|
+
}
|
380
|
+
|
381
|
+
/**
|
382
|
+
* Change the border, margin, and padding in all browsers (opinionated).
|
383
|
+
*/
|
384
|
+
|
385
|
+
fieldset {
|
386
|
+
margin: 0 2px;
|
387
|
+
padding: 0.35em 0.625em 0.75em;
|
388
|
+
border: 1px solid #c0c0c0;
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* 1. Correct the text wrapping in Edge and IE.
|
393
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
394
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
395
|
+
* `fieldset` elements in all browsers.
|
396
|
+
*/
|
397
|
+
|
398
|
+
legend {
|
399
|
+
display: table; /* 1 */
|
400
|
+
max-width: 100%; /* 1 */
|
401
|
+
padding: 0; /* 3 */
|
402
|
+
color: inherit; /* 2 */
|
403
|
+
white-space: normal; /* 1 */
|
404
|
+
box-sizing: border-box; /* 1 */
|
405
|
+
}
|
406
|
+
|
407
|
+
/**
|
408
|
+
* 1. Add the correct display in IE 9-.
|
409
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
410
|
+
*/
|
411
|
+
|
412
|
+
progress {
|
413
|
+
display: inline-block; /* 1 */
|
414
|
+
vertical-align: baseline; /* 2 */
|
415
|
+
}
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Remove the default vertical scrollbar in IE.
|
419
|
+
*/
|
420
|
+
|
421
|
+
textarea {
|
422
|
+
overflow: auto;
|
423
|
+
}
|
424
|
+
|
425
|
+
/**
|
426
|
+
* 1. Add the correct box sizing in IE 10-.
|
427
|
+
* 2. Remove the padding in IE 10-.
|
428
|
+
*/
|
429
|
+
|
430
|
+
[type="checkbox"],
|
431
|
+
[type="radio"] {
|
432
|
+
padding: 0; /* 2 */
|
433
|
+
box-sizing: border-box; /* 1 */
|
434
|
+
}
|
435
|
+
|
436
|
+
/**
|
437
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
438
|
+
*/
|
439
|
+
|
440
|
+
[type="number"]::-webkit-inner-spin-button,
|
441
|
+
[type="number"]::-webkit-outer-spin-button {
|
442
|
+
height: auto;
|
443
|
+
}
|
444
|
+
|
445
|
+
/**
|
446
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
447
|
+
* 2. Correct the outline style in Safari.
|
448
|
+
*/
|
449
|
+
|
450
|
+
[type="search"] {
|
451
|
+
outline-offset: -2px; /* 2 */
|
452
|
+
-webkit-appearance: textfield; /* 1 */
|
453
|
+
}
|
454
|
+
|
455
|
+
/**
|
456
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
457
|
+
*/
|
458
|
+
|
459
|
+
[type="search"]::-webkit-search-cancel-button,
|
460
|
+
[type="search"]::-webkit-search-decoration {
|
461
|
+
-webkit-appearance: none;
|
462
|
+
}
|
463
|
+
|
464
|
+
/**
|
465
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
466
|
+
* 2. Change font properties to `inherit` in Safari.
|
467
|
+
*/
|
468
|
+
|
469
|
+
::-webkit-file-upload-button {
|
470
|
+
font: inherit; /* 2 */
|
471
|
+
-webkit-appearance: button; /* 1 */
|
472
|
+
}
|
473
|
+
|
474
|
+
/* Interactive
|
475
|
+
========================================================================== */
|
476
|
+
|
477
|
+
/*
|
478
|
+
* Add the correct display in IE 9-.
|
479
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
480
|
+
*/
|
481
|
+
|
482
|
+
details, /* 1 */
|
483
|
+
menu {
|
484
|
+
display: block;
|
485
|
+
}
|
486
|
+
|
487
|
+
/*
|
488
|
+
* Add the correct display in all browsers.
|
489
|
+
*/
|
490
|
+
|
491
|
+
summary {
|
492
|
+
display: list-item;
|
493
|
+
}
|
494
|
+
|
495
|
+
/* Scripting
|
496
|
+
========================================================================== */
|
497
|
+
|
498
|
+
/**
|
499
|
+
* Add the correct display in IE 9-.
|
500
|
+
*/
|
501
|
+
|
502
|
+
canvas {
|
503
|
+
display: inline-block;
|
504
|
+
}
|
505
|
+
|
506
|
+
/**
|
507
|
+
* Add the correct display in IE.
|
508
|
+
*/
|
509
|
+
|
510
|
+
template {
|
511
|
+
display: none;
|
512
|
+
}
|
513
|
+
|
514
|
+
/* Hidden
|
515
|
+
========================================================================== */
|
516
|
+
|
517
|
+
/**
|
518
|
+
* Add the correct display in IE 10-.
|
519
|
+
*/
|
520
|
+
|
521
|
+
[hidden] {
|
522
|
+
display: none;
|
523
|
+
}
|