jekyll-theme-future-imperfect 0.1.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 (71) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +319 -0
  3. data/README.md +105 -0
  4. data/_includes/footer.html +11 -0
  5. data/_includes/head.html +3 -0
  6. data/_includes/large_post_preview.html +29 -0
  7. data/_includes/list_post_preview.html +12 -0
  8. data/_includes/menu.html +26 -0
  9. data/_includes/navigation.html +23 -0
  10. data/_includes/scripts.html +6 -0
  11. data/_includes/small_post_preview.html +12 -0
  12. data/_layouts/author.html +17 -0
  13. data/_layouts/base.html +35 -0
  14. data/_layouts/default.html +17 -0
  15. data/_layouts/post.html +17 -0
  16. data/_sass/base/_page.scss +54 -0
  17. data/_sass/base/_reset.scss +159 -0
  18. data/_sass/base/_typography.scss +180 -0
  19. data/_sass/components/_actions.scss +101 -0
  20. data/_sass/components/_author.scss +40 -0
  21. data/_sass/components/_blurb.scss +22 -0
  22. data/_sass/components/_box.scss +25 -0
  23. data/_sass/components/_button.scss +84 -0
  24. data/_sass/components/_form.scss +218 -0
  25. data/_sass/components/_icon.scss +41 -0
  26. data/_sass/components/_icons.scss +30 -0
  27. data/_sass/components/_image.scss +72 -0
  28. data/_sass/components/_list.scss +56 -0
  29. data/_sass/components/_mini-post.scss +87 -0
  30. data/_sass/components/_post.scss +247 -0
  31. data/_sass/components/_posts.scss +65 -0
  32. data/_sass/components/_row.scss +31 -0
  33. data/_sass/components/_section.scss +26 -0
  34. data/_sass/components/_table.scss +81 -0
  35. data/_sass/jekyll-theme-future-imperfect.scss +57 -0
  36. data/_sass/layout/_footer.scss +26 -0
  37. data/_sass/layout/_header.scss +183 -0
  38. data/_sass/layout/_intro.scss +87 -0
  39. data/_sass/layout/_main.scss +13 -0
  40. data/_sass/layout/_menu.scss +96 -0
  41. data/_sass/layout/_sidebar.scss +34 -0
  42. data/_sass/layout/_wrapper.scss +38 -0
  43. data/_sass/libs/_breakpoints.scss +223 -0
  44. data/_sass/libs/_functions.scss +93 -0
  45. data/_sass/libs/_html-grid.scss +153 -0
  46. data/_sass/libs/_mixins.scss +80 -0
  47. data/_sass/libs/_vars.scss +38 -0
  48. data/_sass/libs/_vendor.scss +385 -0
  49. data/assets/css/fontawesome-all.min.css +5 -0
  50. data/assets/css/main.scss +3 -0
  51. data/assets/js/breakpoints.min.js +2 -0
  52. data/assets/js/browser.min.js +2 -0
  53. data/assets/js/jquery.min.js +2 -0
  54. data/assets/js/main.js +95 -0
  55. data/assets/js/util.js +587 -0
  56. data/assets/webfonts/fa-brands-400.eot +0 -0
  57. data/assets/webfonts/fa-brands-400.svg +3442 -0
  58. data/assets/webfonts/fa-brands-400.ttf +0 -0
  59. data/assets/webfonts/fa-brands-400.woff +0 -0
  60. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  61. data/assets/webfonts/fa-regular-400.eot +0 -0
  62. data/assets/webfonts/fa-regular-400.svg +803 -0
  63. data/assets/webfonts/fa-regular-400.ttf +0 -0
  64. data/assets/webfonts/fa-regular-400.woff +0 -0
  65. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  66. data/assets/webfonts/fa-solid-900.eot +0 -0
  67. data/assets/webfonts/fa-solid-900.svg +4649 -0
  68. data/assets/webfonts/fa-solid-900.ttf +0 -0
  69. data/assets/webfonts/fa-solid-900.woff +0 -0
  70. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  71. metadata +155 -0
@@ -0,0 +1,41 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Icon */
8
+
9
+ .icon {
10
+ @include icon;
11
+ border-bottom: none;
12
+ position: relative;
13
+
14
+ >.label {
15
+ display: none;
16
+ }
17
+
18
+ &:before {
19
+ line-height: inherit;
20
+ }
21
+
22
+ &.solid {
23
+ &:before {
24
+ font-weight: 900;
25
+ }
26
+ }
27
+
28
+ &.brands {
29
+ &:before {
30
+ font-family: 'Font Awesome 5 Brands';
31
+ }
32
+ }
33
+
34
+ &.prefix {}
35
+
36
+ &.suffix {
37
+ &:before {
38
+ float: right;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,30 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Icons */
8
+
9
+ ul.icons {
10
+ cursor: default;
11
+ list-style: none;
12
+ padding-left: 0;
13
+
14
+ li {
15
+ display: inline-block;
16
+ padding: 0 1em 0 0;
17
+
18
+ &:last-child {
19
+ padding-right: 0;
20
+ }
21
+
22
+ >* {
23
+ border: 0;
24
+
25
+ .label {
26
+ display: none;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,72 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Image */
8
+
9
+ .image {
10
+ border: 0;
11
+ display: inline-block;
12
+ position: relative;
13
+
14
+ img {
15
+ display: block;
16
+ }
17
+
18
+ &.left,
19
+ &.right {
20
+ max-width: 40%;
21
+
22
+ img {
23
+ width: 100%;
24
+ }
25
+ }
26
+
27
+ &.left {
28
+ float: left;
29
+ padding: 0 1.5em 1em 0;
30
+ top: 0.25em;
31
+ }
32
+
33
+ &.right {
34
+ float: right;
35
+ padding: 0 0 1em 1.5em;
36
+ top: 0.25em;
37
+ }
38
+
39
+ &.fit {
40
+ display: block;
41
+ margin: 0 0 _size(element-margin) 0;
42
+ width: 100%;
43
+
44
+ img {
45
+ width: 100%;
46
+ }
47
+ }
48
+
49
+ &.featured {
50
+ display: block;
51
+ margin: 0 0 _size(section-spacing) 0;
52
+ width: 100%;
53
+
54
+ img {
55
+ width: 100%;
56
+ }
57
+
58
+ @include breakpoint('<=small') {
59
+ margin: 0 0 _size(section-spacing-small) 0;
60
+ }
61
+ }
62
+
63
+ &.main {
64
+ display: block;
65
+ margin: 0 0 (_size(element-margin) * 1.5) 0;
66
+ width: 100%;
67
+
68
+ img {
69
+ width: 100%;
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,56 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* List */
8
+
9
+ ol {
10
+ list-style: decimal;
11
+ margin: 0 0 _size(element-margin) 0;
12
+ padding-left: 1.25em;
13
+
14
+ li {
15
+ padding-left: 0.25em;
16
+ }
17
+ }
18
+
19
+ ul {
20
+ list-style: disc;
21
+ margin: 0 0 _size(element-margin) 0;
22
+ padding-left: 1em;
23
+
24
+ li {
25
+ padding-left: 0.5em;
26
+ }
27
+
28
+ &.alt {
29
+ list-style: none;
30
+ padding-left: 0;
31
+
32
+ li {
33
+ border-top: solid 1px _palette(border);
34
+ padding: 0.5em 0;
35
+
36
+ &:first-child {
37
+ border-top: 0;
38
+ padding-top: 0;
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ dl {
45
+ margin: 0 0 _size(element-margin) 0;
46
+
47
+ dt {
48
+ display: block;
49
+ font-weight: _font(weight-bold);
50
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
51
+ }
52
+
53
+ dd {
54
+ margin-left: _size(element-margin);
55
+ }
56
+ }
@@ -0,0 +1,87 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Mini Post */
8
+
9
+ .mini-post {
10
+ @include vendor('display', 'flex');
11
+ @include vendor('flex-direction', 'column-reverse');
12
+ background: _palette(bg);
13
+ border: solid 1px _palette(border);
14
+ margin: 0 0 _size(element-margin) 0;
15
+
16
+ .image {
17
+ overflow: hidden;
18
+ width: 100%;
19
+
20
+ img {
21
+ @include vendor('transition', 'transform #{_duration(transition)} ease-out');
22
+ width: 100%;
23
+ }
24
+
25
+ &:hover {
26
+ img {
27
+ @include vendor('transform', 'scale(1.05)');
28
+ }
29
+ }
30
+ }
31
+
32
+ header {
33
+ @include padding(1.25em, 1.25em, (0, 3em, 0, 0));
34
+ min-height: 4em;
35
+ position: relative;
36
+ @include vendor('flex-grow', '1');
37
+
38
+ h3 {
39
+ font-size: 0.7em;
40
+ }
41
+
42
+ .published {
43
+ display: block;
44
+ font-family: _font(family-heading);
45
+ font-size: 0.6em;
46
+ font-weight: _font(weight-heading);
47
+ letter-spacing: _font(kerning-heading);
48
+ margin: -0.625em 0 (_size(element-margin) * 0.85) 0;
49
+ text-transform: uppercase;
50
+ }
51
+
52
+ .author {
53
+ position: absolute;
54
+ right: 2em;
55
+ top: 2em;
56
+ }
57
+ }
58
+ }
59
+
60
+ .mini-posts {
61
+ margin: 0 0 _size(element-margin) 0;
62
+
63
+ @include breakpoint('<=large') {
64
+ @include vendor('display', 'flex');
65
+ @include vendor('flex-wrap', 'wrap');
66
+ width: calc(100% + #{_size(element-margin)});
67
+
68
+ >* {
69
+ margin: _size(element-margin) _size(element-margin) 0 0;
70
+ width: calc(50% - #{_size(element-margin)});
71
+ }
72
+
73
+ > :nth-child(-n + 2) {
74
+ margin-top: 0;
75
+ }
76
+ }
77
+
78
+ @include breakpoint('<=xsmall') {
79
+ display: block;
80
+ width: 100%;
81
+
82
+ >* {
83
+ margin: 0 0 _size(element-margin) 0;
84
+ width: 100%;
85
+ }
86
+ }
87
+ }
@@ -0,0 +1,247 @@
1
+ ///
2
+ /// Future Imperfect by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Post */
8
+
9
+ .post {
10
+ @include padding(_size(section-spacing), _size(section-spacing));
11
+ background: _palette(bg);
12
+ border: solid 1px _palette(border);
13
+ margin: 0 0 _size(section-spacing) 0;
14
+ position: relative;
15
+
16
+ >header {
17
+ @include vendor('display', 'flex');
18
+ border-bottom: solid 1px _palette(border);
19
+ left: (_size(section-spacing) * -1);
20
+ margin: (_size(section-spacing) * -1) 0 _size(section-spacing) 0;
21
+ position: relative;
22
+ width: calc(100% + #{_size(section-spacing) * 2});
23
+
24
+ .title {
25
+ @include vendor('flex-grow', '1');
26
+ -ms-flex: 1;
27
+ padding: (_size(section-spacing) * 1.25) _size(section-spacing) (_size(section-spacing) * 1.1) _size(section-spacing);
28
+
29
+ h2 {
30
+ font-weight: _font(weight-heading-extrabold);
31
+ font-size: 1.5em;
32
+ }
33
+
34
+ > :last-child {
35
+ margin-bottom: 0;
36
+ }
37
+ }
38
+
39
+ .meta {
40
+ @include padding(_size(section-spacing) * 1.25, _size(section-spacing));
41
+ border-left: solid 1px _palette(border);
42
+ min-width: 17em;
43
+ text-align: right;
44
+ width: 17em;
45
+
46
+ >* {
47
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
48
+ }
49
+
50
+ > :last-child {
51
+ margin-bottom: 0;
52
+ }
53
+
54
+ .published {
55
+ color: _palette(fg-bold);
56
+ display: block;
57
+ font-family: _font(family-heading);
58
+ font-size: 0.7em;
59
+ font-weight: _font(weight-heading-bold);
60
+ letter-spacing: _font(kerning-heading);
61
+ margin-top: 0.5em;
62
+ text-transform: uppercase;
63
+ white-space: nowrap;
64
+ }
65
+ }
66
+ }
67
+
68
+ >a.image.featured {
69
+ overflow: hidden;
70
+
71
+ img {
72
+ @include vendor('transition', 'transform #{_duration(transition)} ease-out');
73
+ }
74
+
75
+ &:hover {
76
+ img {
77
+ @include vendor('transform', 'scale(1.05)');
78
+ }
79
+ }
80
+ }
81
+
82
+ >footer {
83
+ @include vendor('display', 'flex');
84
+ @include vendor('align-items', 'center');
85
+
86
+ .actions {
87
+ @include vendor('flex-grow', '1');
88
+ }
89
+
90
+ .stats {
91
+ cursor: default;
92
+ list-style: none;
93
+ padding: 0;
94
+
95
+ li {
96
+ border-left: solid 1px _palette(border);
97
+ display: inline-block;
98
+ font-family: _font(family-heading);
99
+ font-size: 0.6em;
100
+ font-weight: _font(weight-heading);
101
+ letter-spacing: _font(kerning-heading);
102
+ line-height: 1;
103
+ margin: 0 0 0 2em;
104
+ padding: 0 0 0 2em;
105
+ text-transform: uppercase;
106
+
107
+ &:first-child {
108
+ border-left: 0;
109
+ margin-left: 0;
110
+ padding-left: 0;
111
+ }
112
+
113
+ .icon {
114
+ border-bottom: 0;
115
+
116
+ &:before {
117
+ color: _palette(border);
118
+ margin-right: 0.75em;
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+
125
+ @include breakpoint('<=medium') {
126
+ border-left: 0;
127
+ border-right: 0;
128
+ left: _size(section-spacing) * -1;
129
+ width: calc(100% + (#{_size(section-spacing)} * 2));
130
+
131
+ >header {
132
+ @include vendor('flex-direction', 'column');
133
+ @include padding(_size(section-spacing) * 1.25, _size(section-spacing), (0, 0, -0.5em, 0));
134
+ border-left: 0;
135
+
136
+ .title {
137
+ -ms-flex: 0 1 auto;
138
+ margin: 0 0 _size(element-margin) 0;
139
+ padding: 0;
140
+ text-align: center;
141
+ }
142
+
143
+ .meta {
144
+ @include vendor('align-items', 'center');
145
+ @include vendor('display', 'flex');
146
+ @include vendor('justify-content', 'center');
147
+ border-left: 0;
148
+ margin: 0 0 _size(element-margin) 0;
149
+ padding-top: 0;
150
+ padding: 0;
151
+ text-align: left;
152
+ width: 100%;
153
+
154
+ >* {
155
+ border-left: solid 1px _palette(border);
156
+ margin-left: 2em;
157
+ padding-left: 2em;
158
+ }
159
+
160
+ > :first-child {
161
+ border-left: 0;
162
+ margin-left: 0;
163
+ padding-left: 0;
164
+ }
165
+
166
+ .published {
167
+ margin-bottom: 0;
168
+ margin-top: 0;
169
+ }
170
+
171
+ .author {
172
+ @include vendor('flex-direction', 'row-reverse');
173
+ margin-bottom: 0;
174
+
175
+ .name {
176
+ margin: 0 0 0 1.5em;
177
+ }
178
+
179
+ img {
180
+ width: 3.5em;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ @include breakpoint('<=small') {
188
+ @include padding(_size(section-spacing-small), _size(section-spacing-small));
189
+ left: _size(section-spacing-small) * -1;
190
+ margin: 0 0 _size(element-margin) 0;
191
+ width: calc(100% + (#{_size(section-spacing-small)} * 2));
192
+
193
+ >header {
194
+ @include padding(_size(section-spacing-small) * 2, _size(section-spacing-small), (0, 0, -0.5em, 0));
195
+ left: (_size(section-spacing-small) * -1);
196
+ margin: (_size(section-spacing-small) * -1) 0 _size(section-spacing-small) 0;
197
+ width: calc(100% + #{_size(section-spacing-small) * 2});
198
+
199
+ .title {
200
+ h2 {
201
+ font-size: 1.1em;
202
+ }
203
+ }
204
+ }
205
+ }
206
+
207
+ @include breakpoint('<=xsmall') {
208
+ >header {
209
+ .meta {
210
+ @include vendor('align-items', 'center');
211
+ @include vendor('flex-direction', 'column');
212
+
213
+ >* {
214
+ border-left: 0;
215
+ margin: (_size(element-margin) * 0.5) 0 0 0;
216
+ padding-left: 0;
217
+ }
218
+
219
+ .author {
220
+ .name {
221
+ display: none;
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ >.image.featured {
228
+ margin-left: _size(section-spacing-small) * -1;
229
+ margin-top: calc(#{_size(section-spacing-small) * -1} - 1px);
230
+ width: calc(100% + #{_size(section-spacing-small) * 2});
231
+ }
232
+
233
+ >footer {
234
+ @include vendor('align-items', 'stretch');
235
+ @include vendor('flex-direction', 'column-reverse');
236
+
237
+ .stats {
238
+ text-align: center;
239
+
240
+ li {
241
+ margin: 0 0 0 1.25em;
242
+ padding: 0 0 0 1.25em;
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }