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,65 @@
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
+ /* Posts */
8
+
9
+ ul.posts {
10
+ list-style: none;
11
+ padding: 0;
12
+
13
+ li {
14
+ border-top: dotted 1px _palette(border);
15
+ margin: (_size(element-margin) * 0.75) 0 0 0;
16
+ padding: (_size(element-margin) * 0.75) 0 0 0;
17
+
18
+ &:first-child {
19
+ border-top: 0;
20
+ margin-top: 0;
21
+ padding-top: 0;
22
+ }
23
+ }
24
+
25
+ article {
26
+ @include vendor('display', 'flex');
27
+ @include vendor('align-items', 'flex-start');
28
+ @include vendor('flex-direction', 'row-reverse');
29
+
30
+ .image {
31
+ display: block;
32
+ margin-right: 1.5em;
33
+ min-width: 4em;
34
+ width: 4em;
35
+
36
+ img {
37
+ width: 100%;
38
+ }
39
+ }
40
+
41
+ header {
42
+ @include vendor('flex-grow', '1');
43
+ -ms-flex: 1;
44
+
45
+ h3 {
46
+ font-size: 0.7em;
47
+ margin-top: 0.125em;
48
+ }
49
+
50
+ .published {
51
+ display: block;
52
+ font-family: _font(family-heading);
53
+ font-size: 0.6em;
54
+ font-weight: _font(weight-heading);
55
+ letter-spacing: _font(kerning-heading);
56
+ margin: -0.625em 0 (_size(element-margin) * 0.85) 0;
57
+ text-transform: uppercase;
58
+ }
59
+
60
+ > :last-child {
61
+ margin-bottom: 0;
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,31 @@
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
+ /* Row */
8
+
9
+ .row {
10
+ @include html-grid(1em);
11
+
12
+ @include breakpoint('<=xlarge') {
13
+ @include html-grid(1em, 'xlarge');
14
+ }
15
+
16
+ @include breakpoint('<=large') {
17
+ @include html-grid(1em, 'large');
18
+ }
19
+
20
+ @include breakpoint('<=medium') {
21
+ @include html-grid(1em, 'medium');
22
+ }
23
+
24
+ @include breakpoint('<=small') {
25
+ @include html-grid(1em, 'small');
26
+ }
27
+
28
+ @include breakpoint('<=xsmall') {
29
+ @include html-grid(1em, 'xsmall');
30
+ }
31
+ }
@@ -0,0 +1,26 @@
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
+ /* Section/Article */
8
+
9
+ section,
10
+ article {
11
+ &.special {
12
+ text-align: center;
13
+ }
14
+ }
15
+
16
+ header {
17
+ p {
18
+ font-family: _font(family-heading);
19
+ font-size: 0.7em;
20
+ font-weight: _font(weight-heading);
21
+ letter-spacing: _font(kerning-heading);
22
+ line-height: 2.5;
23
+ margin-top: -1em;
24
+ text-transform: uppercase;
25
+ }
26
+ }
@@ -0,0 +1,81 @@
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
+ /* Table */
8
+
9
+ .table-wrapper {
10
+ -webkit-overflow-scrolling: touch;
11
+ overflow-x: auto;
12
+ }
13
+
14
+ table {
15
+ margin: 0 0 _size(element-margin) 0;
16
+ width: 100%;
17
+
18
+ tbody {
19
+ tr {
20
+ border: solid 1px _palette(border);
21
+ border-left: 0;
22
+ border-right: 0;
23
+
24
+ &:nth-child(2n + 1) {
25
+ background-color: _palette(border-bg);
26
+ }
27
+ }
28
+ }
29
+
30
+ td {
31
+ padding: 0.75em 0.75em;
32
+ }
33
+
34
+ th {
35
+ color: _palette(fg-bold);
36
+ font-size: 0.9em;
37
+ font-weight: _font(weight-bold);
38
+ padding: 0 0.75em 0.75em 0.75em;
39
+ text-align: left;
40
+ }
41
+
42
+ thead {
43
+ border-bottom: solid 2px _palette(border);
44
+ }
45
+
46
+ tfoot {
47
+ border-top: solid 2px _palette(border);
48
+ }
49
+
50
+ &.alt {
51
+ border-collapse: separate;
52
+
53
+ tbody {
54
+ tr {
55
+ td {
56
+ border: solid 1px _palette(border);
57
+ border-left-width: 0;
58
+ border-top-width: 0;
59
+
60
+ &:first-child {
61
+ border-left-width: 1px;
62
+ }
63
+ }
64
+
65
+ &:first-child {
66
+ td {
67
+ border-top-width: 1px;
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ thead {
74
+ border-bottom: 0;
75
+ }
76
+
77
+ tfoot {
78
+ border-top: 0;
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,57 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/vendor';
5
+ @import 'libs/breakpoints';
6
+ @import 'libs/html-grid';
7
+ @import 'fontawesome-all.min.css';
8
+ @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Raleway:400,800,900');
9
+
10
+ /*
11
+ Future Imperfect by HTML5 UP
12
+ html5up.net | @ajlkn
13
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
14
+ */
15
+
16
+ // Breakpoints.
17
+
18
+ @include breakpoints((xlarge: (1281px, 1680px),
19
+ large: (981px, 1280px),
20
+ medium: (737px, 980px),
21
+ small: (481px, 736px),
22
+ xsmall: (null, 480px)));
23
+
24
+ // Base.
25
+
26
+ @import 'base/reset';
27
+ @import 'base/page';
28
+ @import 'base/typography';
29
+
30
+ // Component.
31
+
32
+ @import 'components/row';
33
+ @import 'components/author';
34
+ @import 'components/blurb';
35
+ @import 'components/box';
36
+ @import 'components/button';
37
+ @import 'components/form';
38
+ @import 'components/icon';
39
+ @import 'components/image';
40
+ @import 'components/list';
41
+ @import 'components/actions';
42
+ @import 'components/icons';
43
+ @import 'components/posts';
44
+ @import 'components/mini-post';
45
+ @import 'components/post';
46
+ @import 'components/section';
47
+ @import 'components/table';
48
+
49
+ // Layout.
50
+
51
+ @import 'layout/header';
52
+ @import 'layout/wrapper';
53
+ @import 'layout/main';
54
+ @import 'layout/sidebar';
55
+ @import 'layout/intro';
56
+ @import 'layout/footer';
57
+ @import 'layout/menu';
@@ -0,0 +1,26 @@
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
+ /* Footer */
8
+
9
+ #footer {
10
+ .icons {
11
+ color: _palette(fg-light);
12
+ }
13
+
14
+ .copyright {
15
+ color: _palette(fg-light);
16
+ font-family: _font(family-heading);
17
+ font-size: 0.5em;
18
+ font-weight: _font(weight-heading);
19
+ letter-spacing: _font(kerning-heading);
20
+ text-transform: uppercase;
21
+ }
22
+
23
+ body.single & {
24
+ text-align: center;
25
+ }
26
+ }
@@ -0,0 +1,183 @@
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
+ /* Header */
8
+
9
+ body {
10
+ padding-top: 3.5em;
11
+ }
12
+
13
+ #header {
14
+ @include vendor('display', 'flex');
15
+ @include vendor('justify-content', 'space-between');
16
+ background-color: _palette(bg);
17
+ border-bottom: solid 1px _palette(border);
18
+ height: 3.5em;
19
+ left: 0;
20
+ line-height: 3.5em;
21
+ position: fixed;
22
+ top: 0;
23
+ width: 100%;
24
+ z-index: _misc(z-index-base);
25
+
26
+ a {
27
+ color: inherit;
28
+ text-decoration: none;
29
+ }
30
+
31
+ ul {
32
+ list-style: none;
33
+ margin: 0;
34
+ padding-left: 0;
35
+
36
+ li {
37
+ display: inline-block;
38
+ padding-left: 0;
39
+ }
40
+ }
41
+
42
+ h1 {
43
+ height: inherit;
44
+ line-height: inherit;
45
+ padding: 0 0 0 1.5em;
46
+ white-space: nowrap;
47
+
48
+ a {
49
+ font-size: 0.7em;
50
+ }
51
+ }
52
+
53
+ .links {
54
+ @include vendor('flex', '1');
55
+ border-left: solid 1px _palette(border);
56
+ height: inherit;
57
+ line-height: inherit;
58
+ margin-left: 1.5em;
59
+ overflow: hidden;
60
+ padding-left: 1.5em;
61
+
62
+ ul {
63
+ li {
64
+ border-left: solid 1px _palette(border);
65
+ line-height: 1;
66
+ margin-left: 1em;
67
+ padding-left: 1em;
68
+
69
+ &:first-child {
70
+ border-left: 0;
71
+ margin-left: 0;
72
+ padding-left: 0;
73
+ }
74
+
75
+ a {
76
+ border-bottom: 0;
77
+ font-family: _font(family-heading);
78
+ font-size: 0.7em;
79
+ font-weight: _font(weight-heading);
80
+ letter-spacing: _font(kerning-heading);
81
+ text-transform: uppercase;
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ .main {
88
+ height: inherit;
89
+ line-height: inherit;
90
+ text-align: right;
91
+
92
+ ul {
93
+ height: inherit;
94
+ line-height: inherit;
95
+
96
+ li {
97
+ border-left: solid 1px _palette(border);
98
+ height: inherit;
99
+ line-height: inherit;
100
+ white-space: nowrap;
101
+
102
+ >* {
103
+ display: block;
104
+ float: left;
105
+ }
106
+
107
+ >a {
108
+ @include icon(false, solid);
109
+ border-bottom: 0;
110
+ color: _palette(fg-light);
111
+ overflow: hidden;
112
+ position: relative;
113
+ text-indent: 4em;
114
+ width: 4em;
115
+
116
+ &:before {
117
+ display: block;
118
+ height: inherit;
119
+ left: 0;
120
+ line-height: inherit;
121
+ position: absolute;
122
+ text-align: center;
123
+ text-indent: 0;
124
+ top: 0;
125
+ width: inherit;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+
132
+ form {
133
+ margin: 0;
134
+
135
+ input {
136
+ display: inline-block;
137
+ height: 2.5em;
138
+ position: relative;
139
+ top: -2px;
140
+ vertical-align: middle;
141
+ }
142
+ }
143
+
144
+ #search {
145
+ @include vendor('transition', 'all 0.5s ease');
146
+ max-width: 0;
147
+ opacity: 0;
148
+ overflow: hidden;
149
+ padding: 0;
150
+ white-space: nowrap;
151
+
152
+ input {
153
+ width: 12em;
154
+ }
155
+
156
+ &.visible {
157
+ max-width: 12.5em;
158
+ opacity: 1;
159
+ padding: 0 0.5em 0 0;
160
+ }
161
+ }
162
+
163
+ @include breakpoint('<=medium') {
164
+ .links {
165
+ display: none;
166
+ }
167
+ }
168
+
169
+ @include breakpoint('<=small') {
170
+ height: 2.75em;
171
+ line-height: 2.75em;
172
+
173
+ h1 {
174
+ padding: 0 0 0 1em;
175
+ }
176
+
177
+ .main {
178
+ .search {
179
+ display: none;
180
+ }
181
+ }
182
+ }
183
+ }