portfolio-jekyll-theme 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +21 -0
  3. data/README.md +243 -0
  4. data/_includes/analytics.html +11 -0
  5. data/_includes/disqus.html +14 -0
  6. data/_includes/footer.html +14 -0
  7. data/_includes/header.html +10 -0
  8. data/_includes/image.html +14 -0
  9. data/_includes/projects.html +13 -0
  10. data/_layouts/blog.html +23 -0
  11. data/_layouts/default.html +41 -0
  12. data/_layouts/home.html +5 -0
  13. data/_layouts/page.html +9 -0
  14. data/_layouts/post.html +13 -0
  15. data/_sass/1-tools/_-tools-dir.sass +6 -0
  16. data/_sass/1-tools/_fonts.scss +18 -0
  17. data/_sass/1-tools/_icon-font.scss +32 -0
  18. data/_sass/1-tools/_normalize.scss +1 -0
  19. data/_sass/1-tools/_spinner.scss +53 -0
  20. data/_sass/1-tools/animations/_animations-dir.sass +10 -0
  21. data/_sass/1-tools/animations/_bottomDoor.sass +15 -0
  22. data/_sass/1-tools/animations/_bottomUp.sass +14 -0
  23. data/_sass/1-tools/animations/_bounceOut.scss +86 -0
  24. data/_sass/1-tools/animations/_fadeIn.sass +14 -0
  25. data/_sass/1-tools/animations/_leftRight.sass +14 -0
  26. data/_sass/1-tools/animations/_none.sass +13 -0
  27. data/_sass/1-tools/animations/_rightLeft.sass +14 -0
  28. data/_sass/1-tools/animations/_textSlide.sass +24 -0
  29. data/_sass/1-tools/animations/_topDoor.sass +15 -0
  30. data/_sass/1-tools/animations/_topDown.sass +12 -0
  31. data/_sass/1-tools/bourbon/_bourbon-deprecated-upcoming.scss +8 -0
  32. data/_sass/1-tools/bourbon/_bourbon.scss +78 -0
  33. data/_sass/1-tools/bourbon/addons/_button.scss +374 -0
  34. data/_sass/1-tools/bourbon/addons/_clearfix.scss +23 -0
  35. data/_sass/1-tools/bourbon/addons/_directional-values.scss +111 -0
  36. data/_sass/1-tools/bourbon/addons/_ellipsis.scss +7 -0
  37. data/_sass/1-tools/bourbon/addons/_font-family.scss +5 -0
  38. data/_sass/1-tools/bourbon/addons/_hide-text.scss +10 -0
  39. data/_sass/1-tools/bourbon/addons/_html5-input-types.scss +86 -0
  40. data/_sass/1-tools/bourbon/addons/_position.scss +32 -0
  41. data/_sass/1-tools/bourbon/addons/_prefixer.scss +45 -0
  42. data/_sass/1-tools/bourbon/addons/_retina-image.scss +31 -0
  43. data/_sass/1-tools/bourbon/addons/_size.scss +16 -0
  44. data/_sass/1-tools/bourbon/addons/_timing-functions.scss +32 -0
  45. data/_sass/1-tools/bourbon/addons/_triangle.scss +83 -0
  46. data/_sass/1-tools/bourbon/addons/_word-wrap.scss +8 -0
  47. data/_sass/1-tools/bourbon/css3/_animation.scss +52 -0
  48. data/_sass/1-tools/bourbon/css3/_appearance.scss +3 -0
  49. data/_sass/1-tools/bourbon/css3/_backface-visibility.scss +6 -0
  50. data/_sass/1-tools/bourbon/css3/_background-image.scss +42 -0
  51. data/_sass/1-tools/bourbon/css3/_background.scss +55 -0
  52. data/_sass/1-tools/bourbon/css3/_border-image.scss +59 -0
  53. data/_sass/1-tools/bourbon/css3/_border-radius.scss +22 -0
  54. data/_sass/1-tools/bourbon/css3/_box-sizing.scss +4 -0
  55. data/_sass/1-tools/bourbon/css3/_calc.scss +4 -0
  56. data/_sass/1-tools/bourbon/css3/_columns.scss +47 -0
  57. data/_sass/1-tools/bourbon/css3/_filter.scss +5 -0
  58. data/_sass/1-tools/bourbon/css3/_flex-box.scss +321 -0
  59. data/_sass/1-tools/bourbon/css3/_font-face.scss +23 -0
  60. data/_sass/1-tools/bourbon/css3/_font-feature-settings.scss +10 -0
  61. data/_sass/1-tools/bourbon/css3/_hidpi-media-query.scss +10 -0
  62. data/_sass/1-tools/bourbon/css3/_hyphens.scss +4 -0
  63. data/_sass/1-tools/bourbon/css3/_image-rendering.scss +14 -0
  64. data/_sass/1-tools/bourbon/css3/_keyframes.scss +35 -0
  65. data/_sass/1-tools/bourbon/css3/_linear-gradient.scss +38 -0
  66. data/_sass/1-tools/bourbon/css3/_perspective.scss +8 -0
  67. data/_sass/1-tools/bourbon/css3/_placeholder.scss +8 -0
  68. data/_sass/1-tools/bourbon/css3/_radial-gradient.scss +39 -0
  69. data/_sass/1-tools/bourbon/css3/_transform.scss +15 -0
  70. data/_sass/1-tools/bourbon/css3/_transition.scss +77 -0
  71. data/_sass/1-tools/bourbon/css3/_user-select.scss +3 -0
  72. data/_sass/1-tools/bourbon/functions/_assign.scss +11 -0
  73. data/_sass/1-tools/bourbon/functions/_color-lightness.scss +13 -0
  74. data/_sass/1-tools/bourbon/functions/_flex-grid.scss +39 -0
  75. data/_sass/1-tools/bourbon/functions/_golden-ratio.scss +3 -0
  76. data/_sass/1-tools/bourbon/functions/_grid-width.scss +13 -0
  77. data/_sass/1-tools/bourbon/functions/_modular-scale.scss +66 -0
  78. data/_sass/1-tools/bourbon/functions/_px-to-em.scss +13 -0
  79. data/_sass/1-tools/bourbon/functions/_px-to-rem.scss +15 -0
  80. data/_sass/1-tools/bourbon/functions/_strip-units.scss +5 -0
  81. data/_sass/1-tools/bourbon/functions/_tint-shade.scss +9 -0
  82. data/_sass/1-tools/bourbon/functions/_transition-property-name.scss +22 -0
  83. data/_sass/1-tools/bourbon/functions/_unpack.scss +17 -0
  84. data/_sass/1-tools/bourbon/helpers/_convert-units.scss +15 -0
  85. data/_sass/1-tools/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  86. data/_sass/1-tools/bourbon/helpers/_is-num.scss +8 -0
  87. data/_sass/1-tools/bourbon/helpers/_linear-angle-parser.scss +25 -0
  88. data/_sass/1-tools/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  89. data/_sass/1-tools/bourbon/helpers/_linear-positions-parser.scss +61 -0
  90. data/_sass/1-tools/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  91. data/_sass/1-tools/bourbon/helpers/_radial-arg-parser.scss +69 -0
  92. data/_sass/1-tools/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  93. data/_sass/1-tools/bourbon/helpers/_radial-positions-parser.scss +18 -0
  94. data/_sass/1-tools/bourbon/helpers/_render-gradients.scss +26 -0
  95. data/_sass/1-tools/bourbon/helpers/_shape-size-stripper.scss +10 -0
  96. data/_sass/1-tools/bourbon/helpers/_str-to-num.scss +50 -0
  97. data/_sass/1-tools/bourbon/settings/_prefixer.scss +6 -0
  98. data/_sass/1-tools/bourbon/settings/_px-to-em.scss +1 -0
  99. data/_sass/2-base/_-base-dir.sass +2 -0
  100. data/_sass/2-base/_base.sass +121 -0
  101. data/_sass/2-base/_placeholders.sass +12 -0
  102. data/_sass/3-sections/_-sections-dir.sass +8 -0
  103. data/_sass/3-sections/_blog.sass +20 -0
  104. data/_sass/3-sections/_default.sass +11 -0
  105. data/_sass/3-sections/_footer.sass +25 -0
  106. data/_sass/3-sections/_header.sass +39 -0
  107. data/_sass/3-sections/_image.sass +31 -0
  108. data/_sass/3-sections/_page.sass +17 -0
  109. data/_sass/3-sections/_post.sass +24 -0
  110. data/_sass/3-sections/_projects.sass +44 -0
  111. data/assets/css/all.sass +19 -0
  112. data/assets/img/projects/proj-1/dog.jpg +0 -0
  113. data/assets/img/projects/proj-1/thumbnail.jpg +0 -0
  114. data/assets/img/projects/proj-1/wall.jpg +0 -0
  115. data/assets/img/projects/proj-2/stretch.jpg +0 -0
  116. data/assets/img/projects/proj-2/thumbnail.jpg +0 -0
  117. data/assets/img/projects/proj-3/clothes.jpg +0 -0
  118. data/assets/img/projects/proj-3/thumbnail.jpg +0 -0
  119. data/assets/img/projects/proj-4/bike.jpg +0 -0
  120. data/assets/img/projects/proj-4/thumbnail.jpg +0 -0
  121. data/assets/img/projects/proj-5/gun-pants.jpg +0 -0
  122. data/assets/img/projects/proj-5/thumbnail.jpg +0 -0
  123. metadata +235 -0
@@ -0,0 +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
+ }
@@ -0,0 +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
+ }
@@ -0,0 +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
@@ -0,0 +1 @@
1
+ $em-base: 16px !default;
@@ -0,0 +1,2 @@
1
+ @import 'base'
2
+ @import 'placeholders'
@@ -0,0 +1,121 @@
1
+ /* Typography presets
2
+ ------------------------------------ */
3
+
4
+ .gigantic, .huge, .large, .bigger, .big,
5
+ h1, h2, h3, h4, h5, h6
6
+ color: $headlineColor
7
+ font-weight: bold
8
+
9
+ .gigantic
10
+ font-size: 110px
11
+ line-height: 1.09
12
+ letter-spacing: -2px
13
+
14
+ .huge, h1
15
+ font-size: 68px
16
+ line-height: 1.05
17
+ letter-spacing: -1px
18
+
19
+ .large, h2
20
+ font-size: 42px
21
+ line-height: 1.14
22
+
23
+ .bigger, h3
24
+ font-size: 26px
25
+ line-height: 1.38
26
+
27
+ .big, h4
28
+ font-size: 22px
29
+ line-height: 1.38
30
+
31
+ .small, small
32
+ font-size: 10px
33
+ line-height: 1.2
34
+
35
+
36
+
37
+ p
38
+ margin: 0 0 20px 0
39
+
40
+ em
41
+ font-style: italic
42
+
43
+ strong
44
+ font-weight: bold
45
+
46
+ hr
47
+ border: solid #ddd
48
+ border-width: 1px 0 0
49
+ clear: both
50
+ margin: 10px 0 30px
51
+ height: 0
52
+
53
+
54
+
55
+ /* Links
56
+ ------------------------------------ */
57
+ a
58
+ color: $accent
59
+ text-decoration: none
60
+ outline: 0
61
+
62
+ a:hover, a:focus
63
+ color: lighten($accent, 20%)
64
+
65
+
66
+
67
+ /* Selection colors (easy to forget)
68
+ ------------------------------------ */
69
+
70
+ ::selection
71
+ background: $selectionColor
72
+
73
+ ::-moz-selection
74
+ background: $selectionColor
75
+
76
+ img::selection
77
+ background: transparent
78
+
79
+ img::-moz-selection
80
+ background: transparent
81
+
82
+ body
83
+ -webkit-tap-highlight-color: $selectionColor
84
+
85
+
86
+
87
+ /* Basic Styles
88
+ ------------------------------------ */
89
+ body
90
+ background: $documentBackgroundColor
91
+ font-size: 14px
92
+ line-height: 1.6
93
+ font-family: 'Open Sans', sans-serif
94
+ color: $textColor
95
+ -webkit-font-smoothing: antialiased
96
+ -webkit-text-size-adjust: 100%
97
+
98
+ svg
99
+ +size(100%)
100
+
101
+ h3
102
+ @extend %small-bold
103
+ color: $accent-light
104
+ text-align: center
105
+ padding: 100px 0 30px
106
+
107
+ fieldset
108
+ padding: 0
109
+ margin: 0
110
+ border: none
111
+
112
+ @media screen and (max-width: 480px)
113
+ h3
114
+ padding: 50px 0 50px
115
+
116
+ section:nth-child(odd)
117
+ background: $bgcolor
118
+ padding-bottom: 100px
119
+
120
+ h3
121
+ color: darken($accent-light, 10%)
@@ -0,0 +1,12 @@
1
+ %small-bold
2
+ font:
3
+ size: 14px
4
+ weight: 700
5
+ text-transform: uppercase
6
+
7
+ %background-image
8
+ background:
9
+ repeat: no-repeat, no-repeat
10
+ size: 50px 50px, cover
11
+ position: 30px 50px, 50% 50%
12
+ blend-mode: overlay, normal
@@ -0,0 +1,8 @@
1
+ @import 'header'
2
+ @import 'footer'
3
+ @import 'projects'
4
+ @import 'default'
5
+ @import 'page'
6
+ @import 'post'
7
+ @import 'blog'
8
+ @import 'image'
@@ -0,0 +1,20 @@
1
+ .blog-container
2
+ padding-top: 10px
3
+ margin: 30px
4
+ .blog-unit
5
+ h1
6
+ display: inline-block
7
+ margin-bottom: 5px
8
+ padding: 0px
9
+ font:
10
+ size: 24px
11
+ weight: 700
12
+ a
13
+ color: black
14
+ &:hover a
15
+ color: $accent-color
16
+ .blog-date
17
+ display: block
18
+ font:
19
+ size: 14px
20
+ weight: 700
@@ -0,0 +1,11 @@
1
+ body
2
+ background: white
3
+ font-family: 'Roboto', sans-serif
4
+ font-size: 16px
5
+ .site-container
6
+ width: 750px
7
+ margin: auto
8
+
9
+ @media (max-width: 768px)
10
+ .site-container
11
+ width: 95vw
@@ -0,0 +1,25 @@
1
+ footer
2
+ height: 200px
3
+ .footer-wrap
4
+ max-width: 500px
5
+ margin: 0px auto 0px
6
+ padding: 10px
7
+ .footer-tagline
8
+ text-align: center
9
+ color: rgba(0,0,0,1)
10
+ font:
11
+ size: 24px
12
+ weight: 700
13
+ .social-media
14
+ text-align: center
15
+ nav
16
+ margin: 0px
17
+ padding: 0px
18
+ a
19
+ margin: 10px
20
+ color: rgba(0,0,0,1)
21
+ font:
22
+ size: 20px
23
+ weight: 700
24
+ &:hover
25
+ color: $accent-color
@@ -0,0 +1,39 @@
1
+ header
2
+ height: 90px
3
+ .logo
4
+ float: left
5
+ margin: 30px
6
+ font:
7
+ size: 24px
8
+ weight: 700
9
+ a
10
+ display: inline-block
11
+ color: rgba(0,0,0,1)
12
+ &:hover
13
+ color: $accent-color
14
+ nav
15
+ float: right
16
+ margin: 30px 30px 0 0
17
+ a
18
+ display: inline-block
19
+ margin-left: 20px
20
+ color: rgba(0,0,0,1)
21
+ font:
22
+ size: 24px
23
+ weight: 700
24
+ &:hover
25
+ color: $accent-color
26
+
27
+ @media (max-width: 768px)
28
+ header
29
+ .logo
30
+ margin: 10px 30px 0px 0px
31
+ nav
32
+ margin: 0px
33
+ margin-top: 18px
34
+ float: left
35
+ a
36
+ margin-left: 0px
37
+ margin-right: 20px
38
+ font:
39
+ size: 16px
@@ -0,0 +1,31 @@
1
+ .image-container
2
+ position: relative
3
+ width: 100%
4
+ margin-bottom: 20px
5
+ &:hover .overlay
6
+ opacity: 1
7
+ .image
8
+ display: block
9
+ width: 100%
10
+ height: auto
11
+ .overlay
12
+ position: absolute
13
+ top: 0
14
+ bottom: 0
15
+ left: 0
16
+ right: 0
17
+ height: 100%
18
+ width: 100%
19
+ opacity: 0
20
+ //transition: .5s ease
21
+ background-color: rgba(255,255,255,0.05)
22
+ .text
23
+ color: black
24
+ font:
25
+ size: 24px
26
+ weight: 700
27
+ position: absolute
28
+ top: 50%
29
+ left: 50%
30
+ transform: translate(-50%, -50%)
31
+ -ms-transform: translate(-50%, -50%)
@@ -0,0 +1,17 @@
1
+ .page-content
2
+ width: 450px
3
+ margin: 30px
4
+ h1
5
+ line-height: 1.5
6
+ color: black
7
+ font:
8
+ size: 30px
9
+ weight: 700
10
+ p
11
+ line-height: 1.5
12
+ font:
13
+ size: 16px
14
+
15
+ @media (max-width: 768px)
16
+ .page-content
17
+ width: 80vw
@@ -0,0 +1,24 @@
1
+ .post-container
2
+ max-width: 600px
3
+ margin: 0px auto 30px
4
+ position: relative
5
+ display: block
6
+ h4
7
+ color: black
8
+ line-height: 1.2
9
+ margin-bottom: 10px
10
+ font:
11
+ weight: 700
12
+ size: 24px
13
+ img
14
+ max-width: 100%
15
+ a
16
+ &:hover img
17
+ opacity: 0.5
18
+ .post-return
19
+ cursor: pointer
20
+ font:
21
+ size: 24px
22
+ +position(absolute, -3px null null -35px)
23
+ .loading
24
+ text-align: center
@@ -0,0 +1,44 @@
1
+ .project-container
2
+ max-width: 750px
3
+ margin: 0px auto 0px
4
+ padding: 30px
5
+ +clearfix
6
+ .project-unit
7
+ box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)
8
+ cursor: pointer
9
+ display: block
10
+ width: 600px
11
+ height: 300px
12
+ margin: 0px auto 30px
13
+ position: relative
14
+ overflow: hidden
15
+ background:
16
+ position: center center
17
+ repeat: no-repeat
18
+ size: cover
19
+ .project-overlay
20
+ +position(absolute, 100% 0px null 0px)
21
+ height: 100%
22
+ background: fade-out(#333, 0.5)
23
+ text-align: center
24
+ //+transition
25
+ +display(flex)
26
+ +align-items(center)
27
+ +justify-content(space-around)
28
+ strong
29
+ display: block
30
+ padding: 20px
31
+ color: white
32
+ line-height: 1.2
33
+ font:
34
+ size: 24px
35
+ weight: 300
36
+ &:hover .project-overlay
37
+ +position(absolute, 0px 0px null 0px)
38
+
39
+ @media (max-width: 768px)
40
+ .project-container
41
+ max-width: 80vw
42
+ .project-unit
43
+ width: 80vw
44
+ height: 40vw