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,29 @@
1
+ <article class="post">
2
+ {% assign author = site.authors | where: "short_name", post.author | first %}
3
+ <header>
4
+ <div class="title">
5
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
6
+ <p>{{ post.subtitle }}</p>
7
+ </div>
8
+ <div class="meta">
9
+ <time class="published"
10
+ datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
11
+ <a href="{{ author.url }}" class="author"><span class="name">{{ author.name }}</span><img
12
+ src="/images/{{ author.short_name }}.jpg" alt="" /></a>
13
+ </div>
14
+ </header>
15
+ <a href="{{ post.url }}" class="image featured">
16
+ <img src="/images/{{ post.preview_image }}" alt="" />
17
+ </a>
18
+ <p>{{ post.excerpt }}</p>
19
+ <footer>
20
+ <ul class="actions">
21
+ <li><a href="{{ post.url }}" class="button large">Continue Reading</a></li>
22
+ </ul>
23
+ <ul class="stats">
24
+ <li><a href="#">General</a></li>
25
+ <li><a href="#" class="icon solid fa-heart">28</a></li>
26
+ <li><a href="#" class="icon solid fa-comment">128</a></li>
27
+ </ul>
28
+ </footer>
29
+ </article>
@@ -0,0 +1,12 @@
1
+ <li>
2
+ <article>
3
+ <header>
4
+ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
5
+ <time class="published"
6
+ datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
7
+ </header>
8
+ <a href="{{ post.url}} " class="image">
9
+ <img src="/images/{{ post.preview_image }}" alt="" />
10
+ </a>
11
+ </article>
12
+ </li>
@@ -0,0 +1,26 @@
1
+ <section id="menu">
2
+ <!-- Search -->
3
+ <section>
4
+ <form class="search" method="get" action="#">
5
+ <input type="text" name="query" placeholder="Search" />
6
+ </form>
7
+ </section>
8
+
9
+ <!-- Links -->
10
+ <section>
11
+ <ul class="links">
12
+ {% for item in site.data.navigation %}
13
+ <li>
14
+ <a href="{{ item.link }}">{{ item.name }}</a>
15
+ </li>
16
+ {% endfor %}
17
+ </ul>
18
+ </section>
19
+
20
+ <!-- Actions -->
21
+ <section>
22
+ <ul class="actions stacked">
23
+ <li><a href="#" class="button large fit">Log In</a></li>
24
+ </ul>
25
+ </section>
26
+ </section>
@@ -0,0 +1,23 @@
1
+ <header id="header">
2
+ <h1><a href="/index.html">{{ site.title }}</a></h1>
3
+ <nav class="links">
4
+ <ul>
5
+ {% for item in site.data.navigation %}
6
+ <li><a href="{{ item.link }}">{{ item.name }}</a></li>
7
+ {% endfor %}
8
+ </ul>
9
+ </nav>
10
+ <nav class="main">
11
+ <ul>
12
+ <li class="search">
13
+ <a class="fa-search" href="#search">Search</a>
14
+ <form id="search" method="get" action="#">
15
+ <input type="text" name="query" placeholder="Search" />
16
+ </form>
17
+ </li>
18
+ <li class="menu">
19
+ <a class="fa-bars" href="#menu">Menu</a>
20
+ </li>
21
+ </ul>
22
+ </nav>
23
+ </header>
@@ -0,0 +1,6 @@
1
+ <!-- Scripts -->
2
+ <script src="/assets/js/jquery.min.js"></script>
3
+ <script src="/assets/js/browser.min.js"></script>
4
+ <script src="/assets/js/breakpoints.min.js"></script>
5
+ <script src="/assets/js/util.js"></script>
6
+ <script src="/assets/js/main.js"></script>
@@ -0,0 +1,12 @@
1
+ <!-- Mini Post -->
2
+ <article class="mini-post">
3
+ <header>
4
+ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
5
+ <time class="published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string}}</time>
6
+ {% assign author = site.authors | where: "short_name", post.author | first %}
7
+ <a href="{{ author.url }}" class="author"><img src="/images/{{ author.short_name }}.jpg" alt="" /></a>
8
+ </header>
9
+ <a href="{{ post.url }}" class="image">
10
+ <img src="images/{{ post.preview_image }}" />
11
+ </a>
12
+ </article>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h2>{{ page.name }}</h2>
5
+ <h3>{{ page.position}}</h3>
6
+
7
+ {{ content }}
8
+ <hr />
9
+ <h3>Posts</h3>
10
+ <section>
11
+ <ul class="posts">
12
+ {% assign filtered_posts = site.posts | where: "author", page.short_name %}
13
+ {% for post in filtered_posts %}
14
+ {% include list_post_preview.html %}
15
+ {% endfor %}
16
+ </ul>
17
+ </section>
@@ -0,0 +1,35 @@
1
+ ---
2
+ ---
3
+ <!-- Provides a common base for both index.html and the default layouts -->
4
+ <!DOCTYPE HTML>
5
+ <!--
6
+ Future Imperfect by HTML5 UP
7
+ html5up.net | @ajlkn
8
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
9
+ -->
10
+ <html>
11
+
12
+ <head>
13
+ <title>{{ page.title }}</title>
14
+ {% include head.html %}
15
+ </head>
16
+
17
+ {% if page.name != "index.html" %}
18
+ {% assign body_class = "single is-preload" %}
19
+ {% else %}
20
+ {% assign body_class = "is-preload" %}
21
+ {% endif %}
22
+
23
+ <body class="{{ body_class }}">
24
+ <!-- Wrapper -->
25
+ <div id="wrapper">
26
+ <!-- Header -->
27
+ {% include navigation.html %}
28
+ <!-- Menu -->
29
+ {% include menu.html %}
30
+ {{ content }}
31
+ </div>
32
+ {% include scripts.html %}
33
+ </body>
34
+
35
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+ <!DOCTYPE HTML>
5
+ <!--
6
+ Future Imperfect by HTML5 UP
7
+ html5up.net | @ajlkn
8
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
9
+ -->
10
+ <!-- Main -->
11
+ <div id="main">
12
+ <article class="post">
13
+ {{ content }}
14
+ </article>
15
+ </div>
16
+ <!-- Footer -->
17
+ {% include footer.html %}
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% assign page_date = page.date | date_to_string %}
5
+ <header>
6
+ <div class="title">
7
+ <h2><a href="#">{{ page.title }}</a></h2>
8
+ <p>{{ page.subtitle | markdownify }}</p>
9
+ </div>
10
+ <div class="meta">
11
+ <time class="published" datetime="{{ page_date | date_to_xmlschema }}">{{ page_date | date_to_string }}</time>
12
+ {% assign author = site.authors | where: "short_name", page.author | first %}
13
+ <a href="{{ author.url }}" class="author"><span class="name">{{ author.name }}</span><img
14
+ src="/images/{{ author.short_name }}.jpg" alt="" /></a>
15
+ </div>
16
+ </header>
17
+ {{ content }}
@@ -0,0 +1,54 @@
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
+ /* Basic */
8
+
9
+ // MSIE: Required for IEMobile.
10
+ @-ms-viewport {
11
+ width: device-width;
12
+ }
13
+
14
+ // MSIE: Prevents scrollbar from overlapping content.
15
+ body {
16
+ -ms-overflow-style: scrollbar;
17
+ }
18
+
19
+ // Ensures page width is always >=320px.
20
+ @include breakpoint('<=xsmall') {
21
+
22
+ html,
23
+ body {
24
+ min-width: 320px;
25
+ }
26
+ }
27
+
28
+ // Set box model to border-box.
29
+ // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
30
+ html {
31
+ box-sizing: border-box;
32
+ }
33
+
34
+ *,
35
+ *:before,
36
+ *:after {
37
+ box-sizing: inherit;
38
+ }
39
+
40
+ body {
41
+ background: _palette(bg-alt);
42
+
43
+ // Stops initial animations until page loads.
44
+ &.is-preload {
45
+
46
+ *,
47
+ *:before,
48
+ *:after {
49
+ @include vendor('animation', 'none !important');
50
+ @include vendor('transition', 'none !important');
51
+ }
52
+ }
53
+
54
+ }
@@ -0,0 +1,159 @@
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
+ // Reset.
8
+ // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
9
+
10
+ html,
11
+ body,
12
+ div,
13
+ span,
14
+ applet,
15
+ object,
16
+ iframe,
17
+ h1,
18
+ h2,
19
+ h3,
20
+ h4,
21
+ h5,
22
+ h6,
23
+ p,
24
+ blockquote,
25
+ pre,
26
+ a,
27
+ abbr,
28
+ acronym,
29
+ address,
30
+ big,
31
+ cite,
32
+ code,
33
+ del,
34
+ dfn,
35
+ em,
36
+ img,
37
+ ins,
38
+ kbd,
39
+ q,
40
+ s,
41
+ samp,
42
+ small,
43
+ strike,
44
+ strong,
45
+ sub,
46
+ sup,
47
+ tt,
48
+ var,
49
+ b,
50
+ u,
51
+ i,
52
+ center,
53
+ dl,
54
+ dt,
55
+ dd,
56
+ ol,
57
+ ul,
58
+ li,
59
+ fieldset,
60
+ form,
61
+ label,
62
+ legend,
63
+ table,
64
+ caption,
65
+ tbody,
66
+ tfoot,
67
+ thead,
68
+ tr,
69
+ th,
70
+ td,
71
+ article,
72
+ aside,
73
+ canvas,
74
+ details,
75
+ embed,
76
+ figure,
77
+ figcaption,
78
+ footer,
79
+ header,
80
+ hgroup,
81
+ menu,
82
+ nav,
83
+ output,
84
+ ruby,
85
+ section,
86
+ summary,
87
+ time,
88
+ mark,
89
+ audio,
90
+ video {
91
+ margin: 0;
92
+ padding: 0;
93
+ border: 0;
94
+ font-size: 100%;
95
+ font: inherit;
96
+ vertical-align: baseline;
97
+ }
98
+
99
+ article,
100
+ aside,
101
+ details,
102
+ figcaption,
103
+ figure,
104
+ footer,
105
+ header,
106
+ hgroup,
107
+ menu,
108
+ nav,
109
+ section {
110
+ display: block;
111
+ }
112
+
113
+ body {
114
+ line-height: 1;
115
+ }
116
+
117
+ ol,
118
+ ul {
119
+ list-style: none;
120
+ }
121
+
122
+ blockquote,
123
+ q {
124
+ quotes: none;
125
+
126
+ &:before,
127
+ &:after {
128
+ content: '';
129
+ content: none;
130
+ }
131
+ }
132
+
133
+ table {
134
+ border-collapse: collapse;
135
+ border-spacing: 0;
136
+ }
137
+
138
+ body {
139
+ -webkit-text-size-adjust: none;
140
+ }
141
+
142
+ mark {
143
+ background-color: transparent;
144
+ color: inherit;
145
+ }
146
+
147
+ input::-moz-focus-inner {
148
+ border: 0;
149
+ padding: 0;
150
+ }
151
+
152
+ input,
153
+ select,
154
+ textarea {
155
+ -moz-appearance: none;
156
+ -webkit-appearance: none;
157
+ -ms-appearance: none;
158
+ appearance: none;
159
+ }
@@ -0,0 +1,180 @@
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
+ /* Type */
8
+
9
+ body,
10
+ input,
11
+ select,
12
+ textarea {
13
+ color: _palette(fg);
14
+ font-family: _font(family);
15
+ font-size: 14pt;
16
+ font-weight: _font(weight);
17
+ line-height: 1.75;
18
+
19
+ @include breakpoint('<=xlarge') {
20
+ font-size: 12pt;
21
+ }
22
+
23
+ @include breakpoint('<=large') {
24
+ font-size: 12pt;
25
+ }
26
+
27
+ @include breakpoint('<=medium') {
28
+ font-size: 12pt;
29
+ }
30
+
31
+ @include breakpoint('<=small') {
32
+ font-size: 12pt;
33
+ }
34
+
35
+ @include breakpoint('<=xsmall') {
36
+ font-size: 12pt;
37
+ }
38
+ }
39
+
40
+ a {
41
+ @include vendor('transition', ('color #{_duration(transition)} ease',
42
+ 'border-bottom-color #{_duration(transition)} ease'
43
+ ));
44
+ border-bottom: dotted 1px _palette(border-alt);
45
+ color: inherit;
46
+ text-decoration: none;
47
+
48
+ &:before {
49
+ @include vendor('transition', ('color #{_duration(transition)} ease'
50
+ ));
51
+ }
52
+
53
+ &:hover {
54
+ border-bottom-color: transparent;
55
+ color: _palette(accent) !important;
56
+
57
+ &:before {
58
+ color: _palette(accent) !important;
59
+ }
60
+ }
61
+ }
62
+
63
+ strong,
64
+ b {
65
+ color: _palette(fg-bold);
66
+ font-weight: _font(weight-bold);
67
+ }
68
+
69
+ em,
70
+ i {
71
+ font-style: italic;
72
+ }
73
+
74
+ p {
75
+ margin: 0 0 _size(element-margin) 0;
76
+ }
77
+
78
+ h1,
79
+ h2,
80
+ h3,
81
+ h4,
82
+ h5,
83
+ h6 {
84
+ color: _palette(fg-bold);
85
+ font-family: _font(family-heading);
86
+ font-weight: _font(weight-heading-bold);
87
+ letter-spacing: _font(kerning-heading);
88
+ line-height: 1.65;
89
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
90
+ text-transform: uppercase;
91
+
92
+ a {
93
+ color: inherit;
94
+ border-bottom: 0;
95
+ }
96
+ }
97
+
98
+ h2 {
99
+ font-size: 1.1em;
100
+ }
101
+
102
+ h3 {
103
+ font-size: 0.9em;
104
+ }
105
+
106
+ h4 {
107
+ font-size: 0.7em;
108
+ }
109
+
110
+ h5 {
111
+ font-size: 0.7em;
112
+ }
113
+
114
+ h6 {
115
+ font-size: 0.7em;
116
+ }
117
+
118
+ sub {
119
+ font-size: 0.8em;
120
+ position: relative;
121
+ top: 0.5em;
122
+ }
123
+
124
+ sup {
125
+ font-size: 0.8em;
126
+ position: relative;
127
+ top: -0.5em;
128
+ }
129
+
130
+ blockquote {
131
+ border-left: solid 4px _palette(border);
132
+ font-style: italic;
133
+ margin: 0 0 _size(element-margin) 0;
134
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
135
+ }
136
+
137
+ code {
138
+ background: _palette(border-bg);
139
+ border: solid 1px _palette(border);
140
+ font-family: _font(family-fixed);
141
+ font-size: 0.9em;
142
+ margin: 0 0.25em;
143
+ padding: 0.25em 0.65em;
144
+ }
145
+
146
+ pre {
147
+ -webkit-overflow-scrolling: touch;
148
+ font-family: _font(family-fixed);
149
+ font-size: 0.9em;
150
+ margin: 0 0 _size(element-margin) 0;
151
+
152
+ code {
153
+ display: block;
154
+ line-height: 1.75em;
155
+ padding: 1em 1.5em;
156
+ overflow-x: auto;
157
+ }
158
+ }
159
+
160
+ hr {
161
+ border: 0;
162
+ border-bottom: solid 1px _palette(border);
163
+ margin: _size(element-margin) 0;
164
+
165
+ &.major {
166
+ margin: (_size(element-margin) * 1.5) 0;
167
+ }
168
+ }
169
+
170
+ .align-left {
171
+ text-align: left;
172
+ }
173
+
174
+ .align-center {
175
+ text-align: center;
176
+ }
177
+
178
+ .align-right {
179
+ text-align: right;
180
+ }