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,101 @@
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
+ /* Actions */
8
+
9
+ ul.actions {
10
+ @include vendor('display', 'flex');
11
+ cursor: default;
12
+ list-style: none;
13
+ margin-left: (_size(element-margin) * -0.5);
14
+ padding-left: 0;
15
+
16
+ li {
17
+ padding: 0 0 0 (_size(element-margin) * 0.5);
18
+ vertical-align: middle;
19
+ }
20
+
21
+ &.special {
22
+ @include vendor('justify-content', 'center');
23
+ width: 100%;
24
+ margin-left: 0;
25
+
26
+ li {
27
+ &:first-child {
28
+ padding-left: 0;
29
+ }
30
+ }
31
+ }
32
+
33
+ &.stacked {
34
+ @include vendor('flex-direction', 'column');
35
+ margin-left: 0;
36
+
37
+ li {
38
+ padding: (_size(element-margin) * 0.65) 0 0 0;
39
+
40
+ &:first-child {
41
+ padding-top: 0;
42
+ }
43
+ }
44
+ }
45
+
46
+ &.fit {
47
+ width: calc(100% + #{_size(element-margin) * 0.5});
48
+
49
+ li {
50
+ @include vendor('flex-grow', '1');
51
+ @include vendor('flex-shrink', '1');
52
+ width: 100%;
53
+
54
+ >* {
55
+ width: 100%;
56
+ }
57
+ }
58
+
59
+ &.stacked {
60
+ width: 100%;
61
+ }
62
+ }
63
+
64
+ @include breakpoint('<=xsmall') {
65
+ &:not(.fixed) {
66
+ @include vendor('flex-direction', 'column');
67
+ margin-left: 0;
68
+ width: 100% !important;
69
+
70
+ li {
71
+ @include vendor('flex-grow', '1');
72
+ @include vendor('flex-shrink', '1');
73
+ padding: (_size(element-margin) * 0.5) 0 0 0;
74
+ text-align: center;
75
+ width: 100%;
76
+
77
+ >* {
78
+ width: 100%;
79
+ }
80
+
81
+ &:first-child {
82
+ padding-top: 0;
83
+ }
84
+
85
+ input[type="submit"],
86
+ input[type="reset"],
87
+ input[type="button"],
88
+ button,
89
+ .button {
90
+ width: 100%;
91
+
92
+ &.icon {
93
+ &:before {
94
+ margin-left: -0.5em;
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,40 @@
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
+ /* Author */
8
+
9
+ .author {
10
+ @include vendor('display', 'flex');
11
+ @include vendor('flex-direction', 'row');
12
+ @include vendor('align-items', 'center');
13
+ @include vendor('justify-content', 'flex-end');
14
+ border-bottom: 0;
15
+ font-family: _font(family-heading);
16
+ font-size: 0.6em;
17
+ font-weight: _font(weight-heading);
18
+ letter-spacing: _font(kerning-heading);
19
+ text-transform: uppercase;
20
+ white-space: nowrap;
21
+
22
+ .name {
23
+ @include vendor('transition', 'border-bottom-color #{_duration(transition)} ease');
24
+ border-bottom: dotted 1px _palette(border-alt);
25
+ display: block;
26
+ margin: 0 1.5em 0 0;
27
+ }
28
+
29
+ img {
30
+ border-radius: 100%;
31
+ display: block;
32
+ width: 4em;
33
+ }
34
+
35
+ &:hover {
36
+ .name {
37
+ border-bottom-color: transparent;
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,22 @@
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
+ /* Blurb */
8
+
9
+ .blurb {
10
+ h2 {
11
+ font-size: 0.8em;
12
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
13
+ }
14
+
15
+ h3 {
16
+ font-size: 0.7em;
17
+ }
18
+
19
+ p {
20
+ font-size: 0.9em;
21
+ }
22
+ }
@@ -0,0 +1,25 @@
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
+ /* Box */
8
+
9
+ .box {
10
+ border: solid 1px _palette(border);
11
+ margin-bottom: _size(element-margin);
12
+ padding: 1.5em;
13
+
14
+ > :last-child,
15
+ > :last-child> :last-child,
16
+ > :last-child> :last-child> :last-child {
17
+ margin-bottom: 0;
18
+ }
19
+
20
+ &.alt {
21
+ border: 0;
22
+ border-radius: 0;
23
+ padding: 0;
24
+ }
25
+ }
@@ -0,0 +1,84 @@
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
+ /* Button */
8
+
9
+ input[type="submit"],
10
+ input[type="reset"],
11
+ input[type="button"],
12
+ button,
13
+ .button {
14
+ @include vendor('appearance', 'none');
15
+ @include vendor('transition', ('background-color #{_duration(transition)} ease',
16
+ 'box-shadow #{_duration(transition)} ease',
17
+ 'color #{_duration(transition)} ease'
18
+ ));
19
+ background-color: transparent;
20
+ border: 0;
21
+ box-shadow: inset 0 0 0 1px _palette(border);
22
+ color: _palette(fg-bold) !important;
23
+ cursor: pointer;
24
+ display: inline-block;
25
+ font-family: _font(family-heading);
26
+ font-size: 0.6em;
27
+ font-weight: _font(weight-heading-bold);
28
+ height: _size(element-height) * 1.75;
29
+ letter-spacing: _font(kerning-heading);
30
+ line-height: _size(element-height) * 1.75;
31
+ padding: 0 2.5em;
32
+ text-align: center;
33
+ text-decoration: none;
34
+ text-transform: uppercase;
35
+ white-space: nowrap;
36
+
37
+ &:hover {
38
+ box-shadow: inset 0 0 0 1px _palette(accent);
39
+ color: _palette(accent) !important;
40
+
41
+ &:active {
42
+ background-color: transparentize(_palette(accent), 0.95);
43
+ }
44
+ }
45
+
46
+ &:before,
47
+ &:after {
48
+ color: _palette(fg-light);
49
+ position: relative;
50
+ }
51
+
52
+ &:before {
53
+ left: -1em;
54
+ padding: 0 0 0 0.75em;
55
+ }
56
+
57
+ &:after {
58
+ left: 1em;
59
+ padding: 0 0.75em 0 0;
60
+ }
61
+
62
+ &.fit {
63
+ width: 100%;
64
+ }
65
+
66
+ &.large {
67
+ font-size: 0.7em;
68
+ padding: 0 3em;
69
+ }
70
+
71
+ &.small {
72
+ font-size: 0.5em;
73
+ }
74
+
75
+ &.disabled,
76
+ &:disabled {
77
+ @include vendor('pointer-events', 'none');
78
+ color: _palette(border) !important;
79
+
80
+ &:before {
81
+ color: _palette(border) !important;
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,218 @@
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
+ /* Form */
8
+
9
+ form {
10
+ margin: 0 0 _size(element-margin) 0;
11
+
12
+ &.search {
13
+ @include icon(false, solid);
14
+ position: relative;
15
+
16
+ &:before {
17
+ color: _palette(fg-light);
18
+ content: '\f002';
19
+ display: block;
20
+ height: _size(element-height);
21
+ left: 0;
22
+ line-height: _size(element-height);
23
+ position: absolute;
24
+ text-align: center;
25
+ top: 0;
26
+ width: 2.5em;
27
+ }
28
+
29
+ >input:first-child {
30
+ padding-left: 2.5em;
31
+ }
32
+ }
33
+ }
34
+
35
+ label {
36
+ color: _palette(fg-bold);
37
+ display: block;
38
+ font-size: 0.9em;
39
+ font-weight: _font(weight-bold);
40
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
41
+ }
42
+
43
+ input[type="text"],
44
+ input[type="password"],
45
+ input[type="email"],
46
+ input[type="tel"],
47
+ select,
48
+ textarea {
49
+ @include vendor('appearance', 'none');
50
+ background: _palette(border-bg);
51
+ border: none;
52
+ border: solid 1px _palette(border);
53
+ border-radius: 0;
54
+ color: inherit;
55
+ display: block;
56
+ outline: 0;
57
+ padding: 0 1em;
58
+ text-decoration: none;
59
+ width: 100%;
60
+
61
+ &:invalid {
62
+ box-shadow: none;
63
+ }
64
+
65
+ &:focus {
66
+ border-color: _palette(accent);
67
+ box-shadow: inset 0 0 0 1px _palette(accent);
68
+ }
69
+ }
70
+
71
+ .select-wrapper {
72
+ @include icon(false, solid);
73
+ display: block;
74
+ position: relative;
75
+
76
+ &:before {
77
+ color: _palette(border);
78
+ content: '\f078';
79
+ display: block;
80
+ height: _size(element-height);
81
+ line-height: _size(element-height);
82
+ pointer-events: none;
83
+ position: absolute;
84
+ right: 0;
85
+ text-align: center;
86
+ top: 0;
87
+ width: _size(element-height);
88
+ }
89
+
90
+ select::-ms-expand {
91
+ display: none;
92
+ }
93
+ }
94
+
95
+ select {
96
+ background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
97
+ background-size: 1.25rem;
98
+ background-repeat: no-repeat;
99
+ background-position: calc(100% - 1rem) center;
100
+ height: _size(element-height);
101
+ padding-right: _size(element-height);
102
+ text-overflow: ellipsis;
103
+
104
+ option {
105
+ color: _palette(fg-bold);
106
+ background: _palette(bg);
107
+ }
108
+
109
+ &:focus {
110
+ &::-ms-value {
111
+ background-color: transparent;
112
+ }
113
+ }
114
+
115
+ &::-ms-expand {
116
+ display: none;
117
+ }
118
+ }
119
+
120
+ input[type="text"],
121
+ input[type="password"],
122
+ input[type="email"],
123
+ select {
124
+ height: _size(element-height);
125
+ }
126
+
127
+ textarea {
128
+ padding: 0.75em 1em;
129
+ }
130
+
131
+ input[type="checkbox"],
132
+ input[type="radio"],
133
+ {
134
+ @include vendor('appearance', 'none');
135
+ display: block;
136
+ float: left;
137
+ margin-right: -2em;
138
+ opacity: 0;
139
+ width: 1em;
140
+ z-index: -1;
141
+
142
+ &+label {
143
+ @include icon(false, solid);
144
+ color: _palette(fg);
145
+ cursor: pointer;
146
+ display: inline-block;
147
+ font-size: 1em;
148
+ font-weight: _font(weight);
149
+ padding-left: (_size(element-height) * 0.6) + 0.75em;
150
+ padding-right: 0.75em;
151
+ position: relative;
152
+
153
+ &:before {
154
+ background: _palette(border-bg);
155
+ border: solid 1px _palette(border);
156
+ content: '';
157
+ display: inline-block;
158
+ font-size: 0.8em;
159
+ height: (_size(element-height) * 0.75);
160
+ left: 0;
161
+ line-height: (_size(element-height) * 0.75);
162
+ position: absolute;
163
+ text-align: center;
164
+ top: 0;
165
+ width: (_size(element-height) * 0.75);
166
+ }
167
+ }
168
+
169
+ &:checked+label {
170
+ &:before {
171
+ background: _palette(fg-bold);
172
+ border-color: _palette(fg-bold);
173
+ color: _palette(bg);
174
+ content: '\f00c';
175
+ }
176
+ }
177
+
178
+ &:focus+label {
179
+ &:before {
180
+ border-color: _palette(accent);
181
+ box-shadow: 0 0 0 1px _palette(accent);
182
+ }
183
+ }
184
+ }
185
+
186
+ input[type="checkbox"] {
187
+ &+label {
188
+ &:before {}
189
+ }
190
+ }
191
+
192
+ input[type="radio"] {
193
+ &+label {
194
+ &:before {
195
+ border-radius: 100%;
196
+ }
197
+ }
198
+ }
199
+
200
+ ::-webkit-input-placeholder {
201
+ color: _palette(fg-light) !important;
202
+ opacity: 1.0;
203
+ }
204
+
205
+ :-moz-placeholder {
206
+ color: _palette(fg-light) !important;
207
+ opacity: 1.0;
208
+ }
209
+
210
+ ::-moz-placeholder {
211
+ color: _palette(fg-light) !important;
212
+ opacity: 1.0;
213
+ }
214
+
215
+ :-ms-input-placeholder {
216
+ color: _palette(fg-light) !important;
217
+ opacity: 1.0;
218
+ }