jekyll-theme-html5up-editorial 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 (94) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +10 -0
  5. data/_includes/header.html +25 -0
  6. data/_includes/recent-posts.html +19 -0
  7. data/_includes/related-posts.html +19 -0
  8. data/_includes/scripts.html +5 -0
  9. data/_includes/sidebar.html +91 -0
  10. data/_includes/socialmedia.html +0 -0
  11. data/_layouts/default.html +1 -0
  12. data/_layouts/generic.html +13 -0
  13. data/_layouts/index.html +114 -0
  14. data/_layouts/page.html +5 -0
  15. data/_layouts/post.html +5 -0
  16. data/_sass/base/_page.scss +48 -0
  17. data/_sass/base/_reset.scss +76 -0
  18. data/_sass/base/_typography.scss +187 -0
  19. data/_sass/components/_actions.scss +63 -0
  20. data/_sass/components/_box.scss +26 -0
  21. data/_sass/components/_button.scss +85 -0
  22. data/_sass/components/_contact.scss +47 -0
  23. data/_sass/components/_features.scss +156 -0
  24. data/_sass/components/_form.scss +179 -0
  25. data/_sass/components/_icon.scss +33 -0
  26. data/_sass/components/_icons.scss +30 -0
  27. data/_sass/components/_image.scss +74 -0
  28. data/_sass/components/_list.scss +56 -0
  29. data/_sass/components/_mini-posts.scss +31 -0
  30. data/_sass/components/_pagination.scss +70 -0
  31. data/_sass/components/_posts.scss +179 -0
  32. data/_sass/components/_row.scss +31 -0
  33. data/_sass/components/_section.scss +39 -0
  34. data/_sass/components/_table.scss +81 -0
  35. data/_sass/layout/_banner.scss +75 -0
  36. data/_sass/layout/_footer.scss +18 -0
  37. data/_sass/layout/_header.scss +51 -0
  38. data/_sass/layout/_main.scss +58 -0
  39. data/_sass/layout/_menu.scss +98 -0
  40. data/_sass/layout/_sidebar.scss +223 -0
  41. data/_sass/layout/_wrapper.scss +13 -0
  42. data/_sass/libs/_breakpoints.scss +223 -0
  43. data/_sass/libs/_functions.scss +90 -0
  44. data/_sass/libs/_html-grid.scss +149 -0
  45. data/_sass/libs/_mixins.scss +78 -0
  46. data/_sass/libs/_vars.scss +44 -0
  47. data/_sass/libs/_vendor.scss +376 -0
  48. data/_sass/main.scss +63 -0
  49. data/_sass/variable-overrides.scss +58 -0
  50. data/assets/css/fontawesome-all.min.css +101 -0
  51. data/assets/css/main.scss +4 -0
  52. data/assets/images/learn-more.jpg +0 -0
  53. data/assets/images/pic01.jpg +0 -0
  54. data/assets/images/pic02.jpg +0 -0
  55. data/assets/images/pic03.jpg +0 -0
  56. data/assets/images/pic04.jpg +0 -0
  57. data/assets/images/pic05.jpg +0 -0
  58. data/assets/images/pic06.jpg +0 -0
  59. data/assets/images/pic07.jpg +0 -0
  60. data/assets/images/pic08.jpg +0 -0
  61. data/assets/images/pic09.jpg +0 -0
  62. data/assets/images/pic10.jpg +0 -0
  63. data/assets/images/pic11.jpg +0 -0
  64. data/assets/images/post_lorem_image1.jpeg +0 -0
  65. data/assets/images/post_lorem_image10.jpeg +0 -0
  66. data/assets/images/post_lorem_image2.jpeg +0 -0
  67. data/assets/images/post_lorem_image3.jpeg +0 -0
  68. data/assets/images/post_lorem_image4.jpeg +0 -0
  69. data/assets/images/post_lorem_image5.jpeg +0 -0
  70. data/assets/images/post_lorem_image6.jpeg +0 -0
  71. data/assets/images/post_lorem_image7.jpeg +0 -0
  72. data/assets/images/post_lorem_image8.jpeg +0 -0
  73. data/assets/images/post_lorem_image9.jpeg +0 -0
  74. data/assets/js/breakpoints.min.js +2 -0
  75. data/assets/js/browser.min.js +2 -0
  76. data/assets/js/jquery.min.js +2 -0
  77. data/assets/js/main.js +262 -0
  78. data/assets/js/util.js +587 -0
  79. data/assets/webfonts/fa-brands-400.eot +0 -0
  80. data/assets/webfonts/fa-brands-400.svg +3717 -0
  81. data/assets/webfonts/fa-brands-400.ttf +0 -0
  82. data/assets/webfonts/fa-brands-400.woff +0 -0
  83. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  84. data/assets/webfonts/fa-regular-400.eot +0 -0
  85. data/assets/webfonts/fa-regular-400.svg +801 -0
  86. data/assets/webfonts/fa-regular-400.ttf +0 -0
  87. data/assets/webfonts/fa-regular-400.woff +0 -0
  88. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  89. data/assets/webfonts/fa-solid-900.eot +0 -0
  90. data/assets/webfonts/fa-solid-900.svg +5034 -0
  91. data/assets/webfonts/fa-solid-900.ttf +0 -0
  92. data/assets/webfonts/fa-solid-900.woff +0 -0
  93. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  94. metadata +149 -0
@@ -0,0 +1,187 @@
1
+ ///
2
+ /// Editorial 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, input, select, textarea {
10
+ color: _palette(fg);
11
+ font-family: _font(family);
12
+ font-size: 13pt;
13
+ font-weight: _font(weight);
14
+ line-height: 1.65;
15
+
16
+ @include breakpoint('<=xlarge') {
17
+ font-size: 11pt;
18
+ }
19
+
20
+ @include breakpoint('<=large') {
21
+ font-size: 10pt;
22
+ }
23
+
24
+ @include breakpoint('<=xxsmall') {
25
+ font-size: 9pt;
26
+ }
27
+ }
28
+
29
+ a {
30
+ @include vendor('transition', (
31
+ 'color #{_duration(transition)} ease-in-out',
32
+ 'border-bottom-color #{_duration(transition)} ease-in-out'
33
+ ));
34
+ border-bottom: dotted 1px;
35
+ color: _palette(accent);
36
+ text-decoration: none;
37
+
38
+ &:hover {
39
+ border-bottom-color: _palette(accent);
40
+ color: _palette(accent) !important;
41
+
42
+ strong {
43
+ color: inherit;
44
+ }
45
+ }
46
+ }
47
+
48
+ strong, b {
49
+ color: _palette(fg-bold);
50
+ font-weight: _font(weight-bold);
51
+ }
52
+
53
+ em, i {
54
+ font-style: italic;
55
+ }
56
+
57
+ p {
58
+ margin: 0 0 _size(element-margin) 0;
59
+ }
60
+
61
+ h1, h2, h3, h4, h5, h6 {
62
+ color: _palette(fg-bold);
63
+ font-family: _font(family-heading);
64
+ font-weight: _font(weight-heading);
65
+ line-height: 1.5;
66
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
67
+
68
+ a {
69
+ color: inherit;
70
+ text-decoration: none;
71
+ border-bottom: 0;
72
+ }
73
+ }
74
+
75
+ h1 {
76
+ font-size: 4em;
77
+ margin: 0 0 (_size(element-margin) * 0.25) 0;
78
+ line-height: 1.3;
79
+ }
80
+
81
+ h2 {
82
+ font-size: 1.75em;
83
+ }
84
+
85
+ h3 {
86
+ font-size: 1.25em;
87
+ }
88
+
89
+ h4 {
90
+ font-size: 1.1em;
91
+ }
92
+
93
+ h5 {
94
+ font-size: 0.9em;
95
+ }
96
+
97
+ h6 {
98
+ font-size: 0.7em;
99
+ }
100
+
101
+ @include breakpoint('<=xlarge') {
102
+ h1 {
103
+ font-size: 3.5em;
104
+ }
105
+ }
106
+
107
+ @include breakpoint('<=medium') {
108
+ h1 {
109
+ font-size: 3.25em;
110
+ }
111
+ }
112
+
113
+ @include breakpoint('<=small') {
114
+ h1 {
115
+ font-size: 2em;
116
+ line-height: 1.4;
117
+ }
118
+
119
+ h2 {
120
+ font-size: 1.5em;
121
+ }
122
+ }
123
+
124
+ sub {
125
+ font-size: 0.8em;
126
+ position: relative;
127
+ top: 0.5em;
128
+ }
129
+
130
+ sup {
131
+ font-size: 0.8em;
132
+ position: relative;
133
+ top: -0.5em;
134
+ }
135
+
136
+ blockquote {
137
+ border-left: solid 3px _palette(border);
138
+ font-style: italic;
139
+ margin: 0 0 _size(element-margin) 0;
140
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
141
+ }
142
+
143
+ code {
144
+ background: _palette(border-bg);
145
+ border-radius: _size(border-radius);
146
+ border: solid 1px _palette(border);
147
+ font-family: _font(family-fixed);
148
+ font-size: 0.9em;
149
+ margin: 0 0.25em;
150
+ padding: 0.25em 0.65em;
151
+ }
152
+
153
+ pre {
154
+ -webkit-overflow-scrolling: touch;
155
+ font-family: _font(family-fixed);
156
+ font-size: 0.9em;
157
+ margin: 0 0 _size(element-margin) 0;
158
+
159
+ code {
160
+ display: block;
161
+ line-height: 1.75;
162
+ padding: 1em 1.5em;
163
+ overflow-x: auto;
164
+ }
165
+ }
166
+
167
+ hr {
168
+ border: 0;
169
+ border-bottom: solid 1px _palette(border);
170
+ margin: _size(element-margin) 0;
171
+
172
+ &.major {
173
+ margin: (_size(element-margin) * 1.5) 0;
174
+ }
175
+ }
176
+
177
+ .align-left {
178
+ text-align: left;
179
+ }
180
+
181
+ .align-center {
182
+ text-align: center;
183
+ }
184
+
185
+ .align-right {
186
+ text-align: right;
187
+ }
@@ -0,0 +1,63 @@
1
+ ///
2
+ /// Editorial 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
+ }
@@ -0,0 +1,26 @@
1
+ ///
2
+ /// Editorial 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-radius: _size(border-radius);
11
+ border: solid 1px _palette(border);
12
+ margin-bottom: _size(element-margin);
13
+ padding: 1.5em;
14
+
15
+ > :last-child,
16
+ > :last-child > :last-child,
17
+ > :last-child > :last-child > :last-child {
18
+ margin-bottom: 0;
19
+ }
20
+
21
+ &.alt {
22
+ border: 0;
23
+ border-radius: 0;
24
+ padding: 0;
25
+ }
26
+ }
@@ -0,0 +1,85 @@
1
+ ///
2
+ /// Editorial 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', (
16
+ 'background-color #{_duration(transition)} ease-in-out',
17
+ 'color #{_duration(transition)} ease-in-out'
18
+ ));
19
+ background-color: transparent;
20
+ border-radius: _size(border-radius);
21
+ border: 0;
22
+ box-shadow: inset 0 0 0 2px _palette(accent);
23
+ color: _palette(accent) !important;
24
+ cursor: pointer;
25
+ display: inline-block;
26
+ font-family: _font(family-heading);
27
+ font-size: 0.8em;
28
+ font-weight: _font(weight-heading);
29
+ height: 3.5em;
30
+ letter-spacing: _font(kerning-heading);
31
+ line-height: 3.5em;
32
+ padding: 0 2.25em;
33
+ text-align: center;
34
+ text-decoration: none;
35
+ text-transform: uppercase;
36
+ white-space: nowrap;
37
+
38
+ &:hover {
39
+ background-color: transparentize(_palette(accent), 0.95);
40
+ }
41
+
42
+ &:active {
43
+ background-color: transparentize(_palette(accent), 0.85);
44
+ }
45
+
46
+ &.icon {
47
+ &:before {
48
+ margin-right: 0.5em;
49
+ }
50
+ }
51
+
52
+ &.fit {
53
+ width: 100%;
54
+ }
55
+
56
+ &.small {
57
+ font-size: 0.6em;
58
+ }
59
+
60
+ &.large {
61
+ font-size: 1em;
62
+ height: 3.65em;
63
+ line-height: 3.65em;
64
+ }
65
+
66
+ &.primary {
67
+ background-color: _palette(accent);
68
+ box-shadow: none;
69
+ color: _palette(bg) !important;
70
+
71
+ &:hover {
72
+ background-color: lighten(_palette(accent), 3);
73
+ }
74
+
75
+ &:active {
76
+ background-color: darken(_palette(accent), 3);
77
+ }
78
+ }
79
+
80
+ &.disabled,
81
+ &:disabled {
82
+ @include vendor('pointer-events', 'none');
83
+ opacity: 0.25;
84
+ }
85
+ }
@@ -0,0 +1,47 @@
1
+ ///
2
+ /// Editorial 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
+ /* Contact */
8
+
9
+ ul.contact {
10
+ list-style: none;
11
+ padding: 0;
12
+
13
+ li {
14
+ @include icon;
15
+ border-top: solid 1px _palette(border);
16
+ margin: 1.5em 0 0 0;
17
+ padding: 1.5em 0 0 3em;
18
+ position: relative;
19
+
20
+ &:before {
21
+ color: _palette(accent);
22
+ display: inline-block;
23
+ font-size: 1.5em;
24
+ height: 1.125em;
25
+ left: 0;
26
+ line-height: 1.125em;
27
+ position: absolute;
28
+ text-align: center;
29
+ top: (1.5em / 1.5);
30
+ width: 1.5em;
31
+ }
32
+
33
+ &:first-child {
34
+ border-top: 0;
35
+ margin-top: 0;
36
+ padding-top: 0;
37
+
38
+ &:before {
39
+ top: 0;
40
+ }
41
+ }
42
+
43
+ a {
44
+ color: inherit;
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,156 @@
1
+ ///
2
+ /// Editorial 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
+ /* Features */
8
+
9
+ .features {
10
+ $gutter: _size(gutter);
11
+
12
+ @include vendor('display', 'flex');
13
+ @include vendor('flex-wrap', 'wrap');
14
+ margin: 0 0 _size(element-margin) ($gutter * -1);
15
+ width: calc(100% + #{$gutter});
16
+
17
+ article {
18
+ @include vendor('align-items', 'center');
19
+ @include vendor('display', 'flex');
20
+ margin: 0 0 $gutter $gutter;
21
+ position: relative;
22
+ width: calc(50% - #{$gutter});
23
+
24
+ &:nth-child(2n - 1) {
25
+ margin-right: ($gutter * 0.5);
26
+ }
27
+
28
+ &:nth-child(2n) {
29
+ margin-left: ($gutter * 0.5);
30
+ }
31
+
32
+ &:nth-last-child(1),
33
+ &:nth-last-child(2) {
34
+ margin-bottom: 0;
35
+ }
36
+
37
+ .icon {
38
+ @include vendor('flex-grow', '0');
39
+ @include vendor('flex-shrink', '0');
40
+ display: block;
41
+ height: 10em;
42
+ line-height: 10em;
43
+ margin: 0 _size(element-margin) 0 0;
44
+ text-align: center;
45
+ width: 10em;
46
+
47
+ &:before {
48
+ color: _palette(accent);
49
+ font-size: 2.75rem;
50
+ position: relative;
51
+ top: 0.05em;
52
+ }
53
+
54
+ &:after {
55
+ @include vendor('transform', 'rotate(45deg)');
56
+ border-radius: 0.25rem;
57
+ border: solid 2px _palette(border);
58
+ content: '';
59
+ display: block;
60
+ height: 7em;
61
+ left: 50%;
62
+ margin: -3.5em 0 0 -3.5em;
63
+ position: absolute;
64
+ top: 50%;
65
+ width: 7em;
66
+ }
67
+ }
68
+
69
+ .content {
70
+ @include vendor('flex-grow', '1');
71
+ @include vendor('flex-shrink', '1');
72
+ width: 100%;
73
+
74
+ > :last-child {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+ }
79
+
80
+ @include breakpoint('<=medium') {
81
+ margin: 0 0 _size(element-margin) 0;
82
+ width: 100%;
83
+
84
+ article {
85
+ margin: 0 0 $gutter 0;
86
+ width: 100%;
87
+
88
+ &:nth-child(2n - 1) {
89
+ margin-right: 0;
90
+ }
91
+
92
+ &:nth-child(2n) {
93
+ margin-left: 0;
94
+ }
95
+
96
+ &:nth-last-child(1),
97
+ &:nth-last-child(2) {
98
+ margin-bottom: $gutter;
99
+ }
100
+
101
+ &:last-child {
102
+ margin-bottom: 0;
103
+ }
104
+
105
+ .icon {
106
+ height: 8em;
107
+ line-height: 8em;
108
+ width: 8em;
109
+
110
+ &:before {
111
+ font-size: 2.25rem;
112
+ }
113
+
114
+ &:after {
115
+ height: 6em;
116
+ margin: -3em 0 0 -3em;
117
+ width: 6em;
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ @include breakpoint('<=xsmall') {
124
+ article {
125
+ @include vendor('flex-direction', 'column');
126
+ @include vendor('align-items', 'flex-start');
127
+
128
+ .icon {
129
+ height: 6em;
130
+ line-height: 6em;
131
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
132
+ width: 6em;
133
+
134
+ &:before {
135
+ font-size: 1.5rem;
136
+ }
137
+
138
+ &:after {
139
+ height: 4em;
140
+ margin: -2em 0 0 -2em;
141
+ width: 4em;
142
+ }
143
+ }
144
+ }
145
+ }
146
+
147
+ @include breakpoint('<=xsmall') {
148
+ article {
149
+ .icon {
150
+ &:before {
151
+ font-size: 1.25rem;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }