hanuman 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -21
  3. data/README.md +175 -173
  4. data/_data/authors.yml +16 -0
  5. data/_data/navigation.yml +4 -4
  6. data/_includes/analytics.html +15 -15
  7. data/_includes/footer.html +65 -65
  8. data/_includes/head.html +68 -68
  9. data/_includes/header.html +58 -58
  10. data/_includes/metadata.json +30 -30
  11. data/_includes/styles.scss +727 -727
  12. data/_layouts/default.html +13 -13
  13. data/_layouts/page.html +16 -16
  14. data/_layouts/post.html +157 -153
  15. data/_sass/_syntax-highlighting.scss +65 -65
  16. data/_sass/bourbon/_bourbon-deprecated-upcoming.scss +8 -8
  17. data/_sass/bourbon/_bourbon.scss +79 -79
  18. data/_sass/bourbon/addons/_button.scss +374 -374
  19. data/_sass/bourbon/addons/_clearfix.scss +23 -23
  20. data/_sass/bourbon/addons/_directional-values.scss +111 -111
  21. data/_sass/bourbon/addons/_ellipsis.scss +7 -7
  22. data/_sass/bourbon/addons/_font-family.scss +5 -5
  23. data/_sass/bourbon/addons/_hide-text.scss +10 -10
  24. data/_sass/bourbon/addons/_html5-input-types.scss +86 -86
  25. data/_sass/bourbon/addons/_position.scss +32 -32
  26. data/_sass/bourbon/addons/_prefixer.scss +45 -45
  27. data/_sass/bourbon/addons/_retina-image.scss +31 -31
  28. data/_sass/bourbon/addons/_size.scss +16 -16
  29. data/_sass/bourbon/addons/_timing-functions.scss +32 -32
  30. data/_sass/bourbon/addons/_triangle.scss +83 -83
  31. data/_sass/bourbon/addons/_word-wrap.scss +8 -8
  32. data/_sass/bourbon/css3/_animation.scss +52 -52
  33. data/_sass/bourbon/css3/_appearance.scss +3 -3
  34. data/_sass/bourbon/css3/_backface-visibility.scss +6 -6
  35. data/_sass/bourbon/css3/_background-image.scss +42 -42
  36. data/_sass/bourbon/css3/_background.scss +55 -55
  37. data/_sass/bourbon/css3/_border-image.scss +59 -59
  38. data/_sass/bourbon/css3/_border-radius.scss +22 -22
  39. data/_sass/bourbon/css3/_box-sizing.scss +4 -4
  40. data/_sass/bourbon/css3/_calc.scss +4 -4
  41. data/_sass/bourbon/css3/_columns.scss +47 -47
  42. data/_sass/bourbon/css3/_filter.scss +5 -5
  43. data/_sass/bourbon/css3/_flex-box.scss +321 -321
  44. data/_sass/bourbon/css3/_font-face.scss +23 -23
  45. data/_sass/bourbon/css3/_font-feature-settings.scss +9 -9
  46. data/_sass/bourbon/css3/_hidpi-media-query.scss +10 -10
  47. data/_sass/bourbon/css3/_hyphens.scss +3 -3
  48. data/_sass/bourbon/css3/_image-rendering.scss +14 -14
  49. data/_sass/bourbon/css3/_keyframes.scss +35 -35
  50. data/_sass/bourbon/css3/_linear-gradient.scss +38 -38
  51. data/_sass/bourbon/css3/_perspective.scss +8 -8
  52. data/_sass/bourbon/css3/_placeholder.scss +8 -8
  53. data/_sass/bourbon/css3/_radial-gradient.scss +39 -39
  54. data/_sass/bourbon/css3/_transform.scss +15 -15
  55. data/_sass/bourbon/css3/_transition.scss +77 -77
  56. data/_sass/bourbon/css3/_user-select.scss +3 -3
  57. data/_sass/bourbon/functions/_assign.scss +10 -10
  58. data/_sass/bourbon/functions/_color-lightness.scss +13 -13
  59. data/_sass/bourbon/functions/_flex-grid.scss +38 -38
  60. data/_sass/bourbon/functions/_golden-ratio.scss +3 -3
  61. data/_sass/bourbon/functions/_grid-width.scss +13 -13
  62. data/_sass/bourbon/functions/_modular-scale.scss +66 -66
  63. data/_sass/bourbon/functions/_px-to-em.scss +13 -13
  64. data/_sass/bourbon/functions/_px-to-rem.scss +15 -15
  65. data/_sass/bourbon/functions/_strip-units.scss +5 -5
  66. data/_sass/bourbon/functions/_tint-shade.scss +9 -9
  67. data/_sass/bourbon/functions/_transition-property-name.scss +21 -21
  68. data/_sass/bourbon/functions/_unpack.scss +17 -17
  69. data/_sass/bourbon/helpers/_convert-units.scss +15 -15
  70. data/_sass/bourbon/helpers/_gradient-positions-parser.scss +13 -13
  71. data/_sass/bourbon/helpers/_is-num.scss +8 -8
  72. data/_sass/bourbon/helpers/_linear-angle-parser.scss +25 -25
  73. data/_sass/bourbon/helpers/_linear-gradient-parser.scss +41 -41
  74. data/_sass/bourbon/helpers/_linear-positions-parser.scss +61 -61
  75. data/_sass/bourbon/helpers/_linear-side-corner-parser.scss +31 -31
  76. data/_sass/bourbon/helpers/_radial-arg-parser.scss +69 -69
  77. data/_sass/bourbon/helpers/_radial-gradient-parser.scss +50 -50
  78. data/_sass/bourbon/helpers/_radial-positions-parser.scss +18 -18
  79. data/_sass/bourbon/helpers/_render-gradients.scss +26 -26
  80. data/_sass/bourbon/helpers/_shape-size-stripper.scss +10 -10
  81. data/_sass/bourbon/helpers/_str-to-num.scss +50 -50
  82. data/_sass/bourbon/settings/_asset-pipeline.scss +1 -1
  83. data/_sass/bourbon/settings/_prefixer.scss +6 -6
  84. data/_sass/bourbon/settings/_px-to-em.scss +1 -1
  85. metadata +4 -4
  86. data/_data/author.yml +0 -8
@@ -1,50 +1,50 @@
1
- @function _radial-gradient-parser($image) {
2
- $image: unquote($image);
3
- $gradients: ();
4
- $start: str-index($image, "(");
5
- $end: str-index($image, ",");
6
- $first-val: str-slice($image, $start + 1, $end - 1);
7
-
8
- $prefix: str-slice($image, 0, $start);
9
- $suffix: str-slice($image, $end, str-length($image));
10
-
11
- $is-spec-syntax: str-index($first-val, "at");
12
-
13
- @if $is-spec-syntax and $is-spec-syntax > 1 {
14
- $keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
15
- $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
16
- $pos: append($pos, $keyword, comma);
17
-
18
- $gradients: (
19
- webkit-image: -webkit- + $prefix + $pos + $suffix,
20
- spec-image: $image
21
- )
22
- }
23
-
24
- @else if $is-spec-syntax == 1 {
25
- $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
26
-
27
- $gradients: (
28
- webkit-image: -webkit- + $prefix + $pos + $suffix,
29
- spec-image: $image
30
- )
31
- }
32
-
33
- @else if str-index($image, "cover") or str-index($image, "contain") {
34
- @warn "Radial-gradient needs to be updated to conform to latest spec.";
35
-
36
- $gradients: (
37
- webkit-image: null,
38
- spec-image: $image
39
- )
40
- }
41
-
42
- @else {
43
- $gradients: (
44
- webkit-image: -webkit- + $image,
45
- spec-image: $image
46
- )
47
- }
48
-
49
- @return $gradients;
50
- }
1
+ @function _radial-gradient-parser($image) {
2
+ $image: unquote($image);
3
+ $gradients: ();
4
+ $start: str-index($image, "(");
5
+ $end: str-index($image, ",");
6
+ $first-val: str-slice($image, $start + 1, $end - 1);
7
+
8
+ $prefix: str-slice($image, 0, $start);
9
+ $suffix: str-slice($image, $end, str-length($image));
10
+
11
+ $is-spec-syntax: str-index($first-val, "at");
12
+
13
+ @if $is-spec-syntax and $is-spec-syntax > 1 {
14
+ $keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
15
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
16
+ $pos: append($pos, $keyword, comma);
17
+
18
+ $gradients: (
19
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
20
+ spec-image: $image
21
+ )
22
+ }
23
+
24
+ @else if $is-spec-syntax == 1 {
25
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
26
+
27
+ $gradients: (
28
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
29
+ spec-image: $image
30
+ )
31
+ }
32
+
33
+ @else if str-index($image, "cover") or str-index($image, "contain") {
34
+ @warn "Radial-gradient needs to be updated to conform to latest spec.";
35
+
36
+ $gradients: (
37
+ webkit-image: null,
38
+ spec-image: $image
39
+ )
40
+ }
41
+
42
+ @else {
43
+ $gradients: (
44
+ webkit-image: -webkit- + $image,
45
+ spec-image: $image
46
+ )
47
+ }
48
+
49
+ @return $gradients;
50
+ }
@@ -1,18 +1,18 @@
1
- @function _radial-positions-parser($gradient-pos) {
2
- $shape-size: nth($gradient-pos, 1);
3
- $pos: nth($gradient-pos, 2);
4
- $shape-size-spec: _shape-size-stripper($shape-size);
5
-
6
- $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7
- unquote(if($shape-size, "#{$shape-size},", null));
8
- $pos-spec: if($pos, "at #{$pos}", null);
9
-
10
- $spec: "#{$shape-size-spec} #{$pos-spec}";
11
-
12
- // Add comma
13
- @if ($spec != ' ') {
14
- $spec: "#{$spec},"
15
- }
16
-
17
- @return $pre-spec $spec;
18
- }
1
+ @function _radial-positions-parser($gradient-pos) {
2
+ $shape-size: nth($gradient-pos, 1);
3
+ $pos: nth($gradient-pos, 2);
4
+ $shape-size-spec: _shape-size-stripper($shape-size);
5
+
6
+ $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7
+ unquote(if($shape-size, "#{$shape-size},", null));
8
+ $pos-spec: if($pos, "at #{$pos}", null);
9
+
10
+ $spec: "#{$shape-size-spec} #{$pos-spec}";
11
+
12
+ // Add comma
13
+ @if ($spec != ' ') {
14
+ $spec: "#{$spec},"
15
+ }
16
+
17
+ @return $pre-spec $spec;
18
+ }
@@ -1,26 +1,26 @@
1
- // User for linear and radial gradients within background-image or border-image properties
2
-
3
- @function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
4
- $pre-spec: null;
5
- $spec: null;
6
- $vendor-gradients: null;
7
- @if $gradient-type == linear {
8
- @if $gradient-positions {
9
- $pre-spec: nth($gradient-positions, 1);
10
- $spec: nth($gradient-positions, 2);
11
- }
12
- }
13
- @else if $gradient-type == radial {
14
- $pre-spec: nth($gradient-positions, 1);
15
- $spec: nth($gradient-positions, 2);
16
- }
17
-
18
- @if $vendor {
19
- $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
20
- }
21
- @else if $vendor == false {
22
- $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
23
- $vendor-gradients: unquote($vendor-gradients);
24
- }
25
- @return $vendor-gradients;
26
- }
1
+ // User for linear and radial gradients within background-image or border-image properties
2
+
3
+ @function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
4
+ $pre-spec: null;
5
+ $spec: null;
6
+ $vendor-gradients: null;
7
+ @if $gradient-type == linear {
8
+ @if $gradient-positions {
9
+ $pre-spec: nth($gradient-positions, 1);
10
+ $spec: nth($gradient-positions, 2);
11
+ }
12
+ }
13
+ @else if $gradient-type == radial {
14
+ $pre-spec: nth($gradient-positions, 1);
15
+ $spec: nth($gradient-positions, 2);
16
+ }
17
+
18
+ @if $vendor {
19
+ $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
20
+ }
21
+ @else if $vendor == false {
22
+ $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
23
+ $vendor-gradients: unquote($vendor-gradients);
24
+ }
25
+ @return $vendor-gradients;
26
+ }
@@ -1,10 +1,10 @@
1
- @function _shape-size-stripper($shape-size) {
2
- $shape-size-spec: null;
3
- @each $value in $shape-size {
4
- @if ($value == "cover") or ($value == "contain") {
5
- $value: null;
6
- }
7
- $shape-size-spec: "#{$shape-size-spec} #{$value}";
8
- }
9
- @return $shape-size-spec;
10
- }
1
+ @function _shape-size-stripper($shape-size) {
2
+ $shape-size-spec: null;
3
+ @each $value in $shape-size {
4
+ @if ($value == "cover") or ($value == "contain") {
5
+ $value: null;
6
+ }
7
+ $shape-size-spec: "#{$shape-size-spec} #{$value}";
8
+ }
9
+ @return $shape-size-spec;
10
+ }
@@ -1,50 +1,50 @@
1
- //************************************************************************//
2
- // Helper function for linear/radial-gradient-parsers.
3
- // Source: http://sassmeister.com/gist/9647408
4
- //************************************************************************//
5
- @function _str-to-num($string) {
6
- // Matrices
7
- $strings: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
8
- $numbers: 0 1 2 3 4 5 6 7 8 9;
9
-
10
- // Result
11
- $result: 0;
12
- $divider: 0;
13
- $minus: false;
14
-
15
- // Looping through all characters
16
- @for $i from 1 through str-length($string) {
17
- $character: str-slice($string, $i, $i);
18
- $index: index($strings, $character);
19
-
20
- @if $character == '-' {
21
- $minus: true;
22
- }
23
-
24
- @else if $character == '.' {
25
- $divider: 1;
26
- }
27
-
28
- @else {
29
- @if not $index {
30
- $result: if($minus, $result * -1, $result);
31
- @return _convert-units($result, str-slice($string, $i));
32
- }
33
-
34
- $number: nth($numbers, $index);
35
-
36
- @if $divider == 0 {
37
- $result: $result * 10;
38
- }
39
-
40
- @else {
41
- // Move the decimal dot to the left
42
- $divider: $divider * 10;
43
- $number: $number / $divider;
44
- }
45
-
46
- $result: $result + $number;
47
- }
48
- }
49
- @return if($minus, $result * -1, $result);
50
- }
1
+ //************************************************************************//
2
+ // Helper function for linear/radial-gradient-parsers.
3
+ // Source: http://sassmeister.com/gist/9647408
4
+ //************************************************************************//
5
+ @function _str-to-num($string) {
6
+ // Matrices
7
+ $strings: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
8
+ $numbers: 0 1 2 3 4 5 6 7 8 9;
9
+
10
+ // Result
11
+ $result: 0;
12
+ $divider: 0;
13
+ $minus: false;
14
+
15
+ // Looping through all characters
16
+ @for $i from 1 through str-length($string) {
17
+ $character: str-slice($string, $i, $i);
18
+ $index: index($strings, $character);
19
+
20
+ @if $character == '-' {
21
+ $minus: true;
22
+ }
23
+
24
+ @else if $character == '.' {
25
+ $divider: 1;
26
+ }
27
+
28
+ @else {
29
+ @if not $index {
30
+ $result: if($minus, $result * -1, $result);
31
+ @return _convert-units($result, str-slice($string, $i));
32
+ }
33
+
34
+ $number: nth($numbers, $index);
35
+
36
+ @if $divider == 0 {
37
+ $result: $result * 10;
38
+ }
39
+
40
+ @else {
41
+ // Move the decimal dot to the left
42
+ $divider: $divider * 10;
43
+ $number: $number / $divider;
44
+ }
45
+
46
+ $result: $result + $number;
47
+ }
48
+ }
49
+ @return if($minus, $result * -1, $result);
50
+ }
@@ -1 +1 @@
1
- $asset-pipeline: false !default;
1
+ $asset-pipeline: false !default;
@@ -1,6 +1,6 @@
1
- // Variable settings for /addons/prefixer.scss
2
- $prefix-for-webkit: true !default;
3
- $prefix-for-mozilla: true !default;
4
- $prefix-for-microsoft: true !default;
5
- $prefix-for-opera: true !default;
6
- $prefix-for-spec: true !default; // required for keyframe mixin
1
+ // Variable settings for /addons/prefixer.scss
2
+ $prefix-for-webkit: true !default;
3
+ $prefix-for-mozilla: true !default;
4
+ $prefix-for-microsoft: true !default;
5
+ $prefix-for-opera: true !default;
6
+ $prefix-for-spec: true !default; // required for keyframe mixin
@@ -1 +1 @@
1
- $em-base: 16px !default;
1
+ $em-base: 16px !default;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanuman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samanyou Garg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-05 00:00:00.000000000 Z
11
+ date: 2018-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -89,7 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
- - _data/author.yml
92
+ - _data/authors.yml
93
93
  - _data/navigation.yml
94
94
  - _includes/analytics.html
95
95
  - _includes/footer.html
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.5.2
199
+ rubygems_version: 2.6.14
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: A responsive, lightning-fast Jekyll theme built using AMP (Accelerated Mobile
@@ -1,8 +0,0 @@
1
- author:
2
- username: hanuman
3
- name: HANUMAN
4
- location: Vrindavan
5
- url_full: https://hanumanchalisa.net
6
- url: hanumanchalisa.net
7
- bio: Jai Shri Ram!
8
- assets: assets/images/hanuman.png