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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE +49 -49
  4. data/README.md +15 -2
  5. data/_data/authors.yml +16 -16
  6. data/_data/navigation.yml +16 -14
  7. data/_data/text.yml +36 -36
  8. data/_includes/disqus-comments.html +19 -19
  9. data/_includes/documents-collection.html +19 -19
  10. data/_includes/entry-date.html +6 -6
  11. data/_includes/entry.html +41 -39
  12. data/_includes/footer-custom.html +3 -3
  13. data/_includes/footer.html +24 -24
  14. data/_includes/google-analytics.html +9 -9
  15. data/_includes/head-custom.html +5 -5
  16. data/_includes/head-feed.html +1 -1
  17. data/_includes/head-seo.html +1 -1
  18. data/_includes/head.html +50 -50
  19. data/_includes/lunr-search-scripts.html +106 -106
  20. data/_includes/masthead.html +13 -13
  21. data/_includes/navigation.html +17 -17
  22. data/_includes/page-author.html +37 -37
  23. data/_includes/page-categories.html +14 -14
  24. data/_includes/page-date.html +4 -4
  25. data/_includes/page-image.html +14 -14
  26. data/_includes/page-pagination.html +19 -19
  27. data/_includes/page-tags.html +14 -14
  28. data/_includes/posts-all.html +3 -3
  29. data/_includes/posts-category.html +3 -3
  30. data/_includes/posts-paginated.html +74 -74
  31. data/_includes/posts-tag.html +3 -3
  32. data/_includes/read-time.html +16 -16
  33. data/_includes/responsive-embed +16 -16
  34. data/_includes/scripts.html +1 -3
  35. data/_includes/skip-links.html +8 -8
  36. data/_includes/social-share.html +6 -6
  37. data/_includes/toc +9 -9
  38. data/_layouts/categories.html +48 -48
  39. data/_layouts/category.html +9 -9
  40. data/_layouts/collection.html +9 -9
  41. data/_layouts/default.html +1 -1
  42. data/_layouts/home.html +17 -17
  43. data/_layouts/page.html +30 -30
  44. data/_layouts/post.html +41 -41
  45. data/_layouts/posts.html +29 -29
  46. data/_layouts/search.html +1 -1
  47. data/_layouts/tag.html +9 -9
  48. data/_layouts/tags.html +48 -48
  49. data/_sass/so-simple.scss +1 -1
  50. data/_sass/so-simple/_author.scss +45 -45
  51. data/_sass/so-simple/_base.scss +112 -112
  52. data/_sass/so-simple/_buttons.scss +92 -92
  53. data/_sass/so-simple/_entries.scss +182 -182
  54. data/_sass/so-simple/_functions.scss +4 -4
  55. data/_sass/so-simple/_global.scss +393 -393
  56. data/_sass/so-simple/_icons.scss +43 -43
  57. data/_sass/so-simple/_mixins.scss +5 -5
  58. data/_sass/so-simple/_notices.scss +93 -93
  59. data/_sass/so-simple/_page.scss +287 -282
  60. data/_sass/so-simple/_reset.scss +523 -523
  61. data/_sass/so-simple/_syntax-highlighting.scss +334 -334
  62. data/_sass/so-simple/_tables.scss +34 -34
  63. data/_sass/so-simple/_utilities.scss +7 -7
  64. data/_sass/so-simple/_variables.scss +132 -132
  65. data/_sass/so-simple/functions/_color.scss +21 -21
  66. data/_sass/so-simple/functions/_em.scss +7 -7
  67. data/_sass/so-simple/functions/_fluid-type.scss +33 -33
  68. data/_sass/so-simple/functions/_yiq.scss +38 -38
  69. data/_sass/so-simple/mixins/_clearfix.scss +32 -32
  70. data/_sass/so-simple/mixins/_float.scss +15 -15
  71. data/_sass/so-simple/mixins/_image.scss +38 -38
  72. data/_sass/so-simple/mixins/_lists.scss +9 -9
  73. data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
  74. data/_sass/so-simple/utilities/_accessibility.scss +43 -43
  75. data/_sass/so-simple/utilities/_align.scss +60 -60
  76. data/_sass/so-simple/utilities/_animations.scss +99 -99
  77. data/_sass/so-simple/utilities/_clearfix.scss +7 -7
  78. data/_sass/so-simple/utilities/_float.scss +7 -7
  79. data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
  80. data/_sass/so-simple/utilities/_text.scss +48 -48
  81. data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
  82. data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
  83. data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
  84. data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
  85. data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
  86. data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
  87. data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
  88. data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
  89. data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
  90. data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
  91. data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
  92. data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
  93. data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
  94. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  95. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
  96. data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  97. data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  98. data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
  99. data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  100. data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
  101. data/assets/css/main.scss +7 -7
  102. data/assets/js/lunr/lunr.da.min.js +17 -17
  103. data/assets/js/lunr/lunr.de.min.js +17 -17
  104. data/assets/js/lunr/lunr.du.min.js +17 -17
  105. data/assets/js/lunr/lunr.es.min.js +17 -17
  106. data/assets/js/lunr/lunr.fi.min.js +17 -17
  107. data/assets/js/lunr/lunr.fr.min.js +17 -17
  108. data/assets/js/lunr/lunr.hu.min.js +17 -17
  109. data/assets/js/lunr/lunr.it.min.js +17 -17
  110. data/assets/js/lunr/lunr.jp.min.js +1 -1
  111. data/assets/js/lunr/lunr.min.js +6 -6
  112. data/assets/js/lunr/lunr.no.min.js +17 -17
  113. data/assets/js/lunr/lunr.pt.min.js +17 -17
  114. data/assets/js/lunr/lunr.ro.min.js +17 -17
  115. data/assets/js/lunr/lunr.ru.min.js +17 -17
  116. data/assets/js/lunr/lunr.sv.min.js +17 -17
  117. data/assets/js/lunr/lunr.tr.min.js +17 -17
  118. data/assets/js/main.js +17 -15
  119. data/assets/js/main.min.js +2 -2
  120. data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
  121. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  122. data/assets/js/plugins/lity.js +655 -655
  123. data/assets/js/plugins/lity.min.js +4 -4
  124. data/assets/js/plugins/table-of-contents.js +59 -59
  125. data/assets/js/search-data.json +43 -27
  126. metadata +3 -3
@@ -1,38 +1,38 @@
1
- /*
2
- Compass YIQ Color Contrast
3
- https://github.com/easy-designs/yiq-color-contrast
4
- ========================================================================== */
5
-
6
- @function yiq-is-light(
7
- $color,
8
- $threshold: $yiq-contrasted-threshold
9
- ) {
10
- $red: red($color);
11
- $green: green($color);
12
- $blue: blue($color);
13
-
14
- $yiq: (($red*299)+($green*587)+($blue*114))/1000;
15
-
16
- @if $yiq-debug { @debug $yiq, $threshold; }
17
-
18
- @return if($yiq >= $threshold, true, false);
19
- }
20
-
21
- @function yiq-contrast-color(
22
- $color,
23
- $dark: $yiq-contrasted-dark-default,
24
- $light: $yiq-contrasted-light-default,
25
- $threshold: $yiq-contrasted-threshold
26
- ) {
27
- @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
28
- }
29
-
30
- @mixin yiq-contrasted(
31
- $background-color,
32
- $dark: $yiq-contrasted-dark-default,
33
- $light: $yiq-contrasted-light-default,
34
- $threshold: $yiq-contrasted-threshold
35
- ) {
36
- background-color: $background-color;
37
- color: yiq-contrast-color($background-color, $dark, $light, $threshold);
38
- }
1
+ /*
2
+ Compass YIQ Color Contrast
3
+ https://github.com/easy-designs/yiq-color-contrast
4
+ ========================================================================== */
5
+
6
+ @function yiq-is-light(
7
+ $color,
8
+ $threshold: $yiq-contrasted-threshold
9
+ ) {
10
+ $red: red($color);
11
+ $green: green($color);
12
+ $blue: blue($color);
13
+
14
+ $yiq: (($red*299)+($green*587)+($blue*114))/1000;
15
+
16
+ @if $yiq-debug { @debug $yiq, $threshold; }
17
+
18
+ @return if($yiq >= $threshold, true, false);
19
+ }
20
+
21
+ @function yiq-contrast-color(
22
+ $color,
23
+ $dark: $yiq-contrasted-dark-default,
24
+ $light: $yiq-contrasted-light-default,
25
+ $threshold: $yiq-contrasted-threshold
26
+ ) {
27
+ @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
28
+ }
29
+
30
+ @mixin yiq-contrasted(
31
+ $background-color,
32
+ $dark: $yiq-contrasted-dark-default,
33
+ $light: $yiq-contrasted-light-default,
34
+ $threshold: $yiq-contrasted-threshold
35
+ ) {
36
+ background-color: $background-color;
37
+ color: yiq-contrast-color($background-color, $dark, $light, $threshold);
38
+ }
@@ -1,32 +1,32 @@
1
- /* ==========================================================================
2
- Clearfix Mixin
3
- ========================================================================== */
4
-
5
- /*
6
- * Provides an easy way to include a clearfix for containing floats.
7
- * link http://cssmojo.com/latest_new_clearfix_so_far/
8
- *
9
- * example scss - Usage
10
- *
11
- * .element {
12
- * @include clearfix;
13
- * }
14
- *
15
- * example css - CSS Output
16
- *
17
- * .element::after {
18
- * clear: both;
19
- * content: "";
20
- * display: table;
21
- * }
22
- */
23
-
24
- @mixin clearfix {
25
- clear: both;
26
-
27
- &::after {
28
- clear: both;
29
- content: "";
30
- display: table;
31
- }
32
- }
1
+ /* ==========================================================================
2
+ Clearfix Mixin
3
+ ========================================================================== */
4
+
5
+ /*
6
+ * Provides an easy way to include a clearfix for containing floats.
7
+ * link http://cssmojo.com/latest_new_clearfix_so_far/
8
+ *
9
+ * example scss - Usage
10
+ *
11
+ * .element {
12
+ * @include clearfix;
13
+ * }
14
+ *
15
+ * example css - CSS Output
16
+ *
17
+ * .element::after {
18
+ * clear: both;
19
+ * content: "";
20
+ * display: table;
21
+ * }
22
+ */
23
+
24
+ @mixin clearfix {
25
+ clear: both;
26
+
27
+ &::after {
28
+ clear: both;
29
+ content: "";
30
+ display: table;
31
+ }
32
+ }
@@ -1,15 +1,15 @@
1
- /* ==========================================================================
2
- Float Mixins
3
- ========================================================================== */
4
-
5
- @mixin float-left {
6
- float: left !important;
7
- }
8
-
9
- @mixin float-right {
10
- float: right !important;
11
- }
12
-
13
- @mixin float-none {
14
- float: none !important;
15
- }
1
+ /* ==========================================================================
2
+ Float Mixins
3
+ ========================================================================== */
4
+
5
+ @mixin float-left {
6
+ float: left !important;
7
+ }
8
+
9
+ @mixin float-right {
10
+ float: right !important;
11
+ }
12
+
13
+ @mixin float-none {
14
+ float: none !important;
15
+ }
@@ -1,38 +1,38 @@
1
- /* ==========================================================================
2
- Image Mixins
3
- - Responsive image
4
- - Retina image
5
- ========================================================================== */
6
-
7
- /*
8
- Responsive image
9
- Keep images from scaling beyond the width of their parents.
10
- ========================================================================== */
11
-
12
- @mixin img-fluid {
13
- // Part 1: Set a maximum relative to the parent
14
- max-width: 100%;
15
- // Part 2: Override the height to auto, otherwise images will be stretched
16
- // when setting a width and height attribute on the img element.
17
- height: auto;
18
- }
19
-
20
- /*
21
- Retina image
22
- Short retina mixin for setting background-image and -size.
23
- ========================================================================== */
24
-
25
- @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
26
- background-image: url($file-1x);
27
-
28
- // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,
29
- // but doesn't convert dppx=>dpi.
30
- // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.
31
- // Compatibility info: http://caniuse.com/#feat=css-media-resolution
32
- @media
33
- only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx
34
- only screen and (min-resolution: 2dppx) { // Standardized
35
- background-image: url($file-2x);
36
- background-size: $width-1x $height-1x;
37
- }
38
- }
1
+ /* ==========================================================================
2
+ Image Mixins
3
+ - Responsive image
4
+ - Retina image
5
+ ========================================================================== */
6
+
7
+ /*
8
+ Responsive image
9
+ Keep images from scaling beyond the width of their parents.
10
+ ========================================================================== */
11
+
12
+ @mixin img-fluid {
13
+ // Part 1: Set a maximum relative to the parent
14
+ max-width: 100%;
15
+ // Part 2: Override the height to auto, otherwise images will be stretched
16
+ // when setting a width and height attribute on the img element.
17
+ height: auto;
18
+ }
19
+
20
+ /*
21
+ Retina image
22
+ Short retina mixin for setting background-image and -size.
23
+ ========================================================================== */
24
+
25
+ @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
26
+ background-image: url($file-1x);
27
+
28
+ // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,
29
+ // but doesn't convert dppx=>dpi.
30
+ // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.
31
+ // Compatibility info: http://caniuse.com/#feat=css-media-resolution
32
+ @media
33
+ only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx
34
+ only screen and (min-resolution: 2dppx) { // Standardized
35
+ background-image: url($file-2x);
36
+ background-size: $width-1x $height-1x;
37
+ }
38
+ }
@@ -1,9 +1,9 @@
1
- /* ==========================================================================
2
- List Mixins
3
- ========================================================================== */
4
-
5
- // Unstyled keeps list items block level, just removes default browser padding and list-style
6
- @mixin list-unstyled {
7
- padding-left: 0;
8
- list-style: none;
9
- }
1
+ /* ==========================================================================
2
+ List Mixins
3
+ ========================================================================== */
4
+
5
+ // Unstyled keeps list items block level, just removes default browser padding and list-style
6
+ @mixin list-unstyled {
7
+ padding-left: 0;
8
+ list-style: none;
9
+ }
@@ -1,10 +1,10 @@
1
- /* ==========================================================================
2
- Text Truncate Mixin
3
- Requires inline-block or block for proper styling
4
- ========================================================================== */
5
-
6
- @mixin text-truncate() {
7
- overflow: hidden;
8
- text-overflow: ellipsis;
9
- white-space: nowrap;
10
- }
1
+ /* ==========================================================================
2
+ Text Truncate Mixin
3
+ Requires inline-block or block for proper styling
4
+ ========================================================================== */
5
+
6
+ @mixin text-truncate() {
7
+ overflow: hidden;
8
+ text-overflow: ellipsis;
9
+ white-space: nowrap;
10
+ }
@@ -1,43 +1,43 @@
1
- /* ==========================================================================
2
- Accessibility Modules
3
- ========================================================================== */
4
-
5
- /* Text meant only for screen readers */
6
- .screen-reader-text,
7
- .screen-reader-text span,
8
- .screen-reader-shortcut {
9
- position: absolute !important;
10
- width: 1px;
11
- height: 1px;
12
- clip: rect(0, 0, 0, 0);
13
- border: 0;
14
- overflow: hidden;
15
-
16
- &:focus {
17
- display: block;
18
- top: 5px;
19
- left: 5px;
20
- width: auto;
21
- height: auto;
22
- padding: 0.75em 1em;
23
- clip: auto !important;
24
- border-radius: 0.125em;
25
- background-color: $base-color;
26
- color: #fff;
27
- font-weight: bold;
28
- line-height: normal;
29
- text-decoration: none;
30
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
31
- z-index: 100000;
32
- }
33
- }
34
-
35
- .screen-reader-text:focus,
36
- .screen-reader-shortcut:focus {
37
- width: auto;
38
- height: auto;
39
- clip: auto !important;
40
- text-decoration: none;
41
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
42
- z-index: 100000;
43
- }
1
+ /* ==========================================================================
2
+ Accessibility Modules
3
+ ========================================================================== */
4
+
5
+ /* Text meant only for screen readers */
6
+ .screen-reader-text,
7
+ .screen-reader-text span,
8
+ .screen-reader-shortcut {
9
+ position: absolute !important;
10
+ width: 1px;
11
+ height: 1px;
12
+ clip: rect(0, 0, 0, 0);
13
+ border: 0;
14
+ overflow: hidden;
15
+
16
+ &:focus {
17
+ display: block;
18
+ top: 5px;
19
+ left: 5px;
20
+ width: auto;
21
+ height: auto;
22
+ padding: 0.75em 1em;
23
+ clip: auto !important;
24
+ border-radius: 0.125em;
25
+ background-color: $base-color;
26
+ color: #fff;
27
+ font-weight: bold;
28
+ line-height: normal;
29
+ text-decoration: none;
30
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
31
+ z-index: 100000;
32
+ }
33
+ }
34
+
35
+ .screen-reader-text:focus,
36
+ .screen-reader-shortcut:focus {
37
+ width: auto;
38
+ height: auto;
39
+ clip: auto !important;
40
+ text-decoration: none;
41
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
42
+ z-index: 100000;
43
+ }
@@ -1,60 +1,60 @@
1
- /* ==========================================================================
2
- Alignment
3
- ========================================================================== */
4
-
5
- .align-baseline {
6
- vertical-align: baseline !important;
7
- } /* Browser default */
8
- .align-top {
9
- vertical-align: top !important;
10
- }
11
- .align-middle {
12
- vertical-align: middle !important;
13
- }
14
- .align-bottom {
15
- vertical-align: bottom !important;
16
- }
17
- .align-text-bottom {
18
- vertical-align: text-bottom !important;
19
- }
20
- .align-text-top {
21
- vertical-align: text-top !important;
22
- }
23
-
24
- /*
25
- Image Alignment
26
- ========================================================================== */
27
-
28
- .align-center,
29
- div.align-center,
30
- a img.align-center {
31
- display: block;
32
- margin-right: auto;
33
- margin-left: auto;
34
- }
35
-
36
- figure.align-center {
37
- img {
38
- display: block;
39
- margin-right: auto;
40
- margin-left: auto;
41
- }
42
-
43
- figcaption {
44
- text-align: center;
45
- }
46
- }
47
-
48
- .align-right,
49
- a img.align-right {
50
- margin-bottom: 1rem;
51
- margin-left: 1rem;
52
- float: right;
53
- }
54
-
55
- .align-left,
56
- a img.align-left {
57
- margin-right: 1rem;
58
- margin-bottom: 1rem;
59
- float: left;
60
- }
1
+ /* ==========================================================================
2
+ Alignment
3
+ ========================================================================== */
4
+
5
+ .align-baseline {
6
+ vertical-align: baseline !important;
7
+ } /* Browser default */
8
+ .align-top {
9
+ vertical-align: top !important;
10
+ }
11
+ .align-middle {
12
+ vertical-align: middle !important;
13
+ }
14
+ .align-bottom {
15
+ vertical-align: bottom !important;
16
+ }
17
+ .align-text-bottom {
18
+ vertical-align: text-bottom !important;
19
+ }
20
+ .align-text-top {
21
+ vertical-align: text-top !important;
22
+ }
23
+
24
+ /*
25
+ Image Alignment
26
+ ========================================================================== */
27
+
28
+ .align-center,
29
+ div.align-center,
30
+ a img.align-center {
31
+ display: block;
32
+ margin-right: auto;
33
+ margin-left: auto;
34
+ }
35
+
36
+ figure.align-center {
37
+ img {
38
+ display: block;
39
+ margin-right: auto;
40
+ margin-left: auto;
41
+ }
42
+
43
+ figcaption {
44
+ text-align: center;
45
+ }
46
+ }
47
+
48
+ .align-right,
49
+ a img.align-right {
50
+ margin-bottom: 1rem;
51
+ margin-left: 1rem;
52
+ float: right;
53
+ }
54
+
55
+ .align-left,
56
+ a img.align-left {
57
+ margin-right: 1rem;
58
+ margin-bottom: 1rem;
59
+ float: left;
60
+ }