jekyll-theme-drop 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 (86) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +437 -0
  3. data/README.md +96 -0
  4. data/_includes/banner.html +12 -0
  5. data/_includes/footer.html +39 -0
  6. data/_includes/head.html +7 -0
  7. data/_includes/header.html +10 -0
  8. data/_includes/scripts.html +8 -0
  9. data/_layouts/default.html +22 -0
  10. data/_layouts/home.html +6 -0
  11. data/_layouts/page.html +4 -0
  12. data/_layouts/post.html +4 -0
  13. data/_sass/base/_reset.scss +70 -0
  14. data/_sass/base/_typography.scss +140 -0
  15. data/_sass/components/_actions.scss +18 -0
  16. data/_sass/components/_box.scss +151 -0
  17. data/_sass/components/_button.scss +49 -0
  18. data/_sass/components/_container.scss +15 -0
  19. data/_sass/components/_form.scss +88 -0
  20. data/_sass/components/_icons.scss +44 -0
  21. data/_sass/components/_image.scss +37 -0
  22. data/_sass/components/_list.scss +25 -0
  23. data/_sass/components/_menu.scss +21 -0
  24. data/_sass/components/_poptrox.scss +120 -0
  25. data/_sass/components/_row.scss +21 -0
  26. data/_sass/components/_sections.scss +18 -0
  27. data/_sass/components/_table.scss +35 -0
  28. data/_sass/layout/_banner.scss +44 -0
  29. data/_sass/layout/_breakpoints.scss +358 -0
  30. data/_sass/layout/_footer.scss +44 -0
  31. data/_sass/layout/_header.scss +85 -0
  32. data/_sass/libs/_breakpoints.scss +223 -0
  33. data/_sass/libs/_functions.scss +90 -0
  34. data/_sass/libs/_html-grid.scss +149 -0
  35. data/_sass/libs/_mixins.scss +63 -0
  36. data/_sass/libs/_vars.scss +22 -0
  37. data/_sass/libs/_vendor.scss +376 -0
  38. data/_sass/main.scss +51 -0
  39. data/_sass/noscript.scss +25 -0
  40. data/assets/css/font-awesome.min.css +4 -0
  41. data/assets/css/images/arrow.svg +11 -0
  42. data/assets/css/images/banner.svg +54 -0
  43. data/assets/css/images/loader.gif +0 -0
  44. data/assets/css/images/overlay.png +0 -0
  45. data/assets/css/images/poptrox-closer.svg +6 -0
  46. data/assets/css/images/poptrox-nav.svg +6 -0
  47. data/assets/css/noscript.css +19 -0
  48. data/assets/css/styles.scss +4 -0
  49. data/assets/fonts/FontAwesome.otf +0 -0
  50. data/assets/fonts/fontawesome-webfont.eot +0 -0
  51. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  52. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  53. data/assets/fonts/fontawesome-webfont.woff +0 -0
  54. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  55. data/assets/images/bg-alt.jpg +0 -0
  56. data/assets/images/bg.jpg +0 -0
  57. data/assets/images/drop.svg +99 -0
  58. data/assets/images/drop_background.svg +110 -0
  59. data/assets/images/drop_bouncing.svg +125 -0
  60. data/assets/images/fulls/01.jpg +0 -0
  61. data/assets/images/fulls/02.jpg +0 -0
  62. data/assets/images/fulls/03.jpg +0 -0
  63. data/assets/images/fulls/04.jpg +0 -0
  64. data/assets/images/fulls/05.jpg +0 -0
  65. data/assets/images/fulls/06.jpg +0 -0
  66. data/assets/images/fulls/07.jpg +0 -0
  67. data/assets/images/fulls/08.jpg +0 -0
  68. data/assets/images/pic01.jpg +0 -0
  69. data/assets/images/pic02.jpg +0 -0
  70. data/assets/images/screenshot.jpg +0 -0
  71. data/assets/images/thumbs/01.jpg +0 -0
  72. data/assets/images/thumbs/02.jpg +0 -0
  73. data/assets/images/thumbs/03.jpg +0 -0
  74. data/assets/images/thumbs/04.jpg +0 -0
  75. data/assets/images/thumbs/05.jpg +0 -0
  76. data/assets/images/thumbs/06.jpg +0 -0
  77. data/assets/images/thumbs/07.jpg +0 -0
  78. data/assets/images/thumbs/08.jpg +0 -0
  79. data/assets/js/breakpoints.min.js +2 -0
  80. data/assets/js/browser.min.js +2 -0
  81. data/assets/js/jquery.min.js +2 -0
  82. data/assets/js/jquery.poptrox.min.js +2 -0
  83. data/assets/js/jquery.scrolly.min.js +2 -0
  84. data/assets/js/main.js +105 -0
  85. data/assets/js/util.js +587 -0
  86. metadata +170 -0
@@ -0,0 +1,120 @@
1
+ /* Poptrox */
2
+
3
+ .poptrox-popup {
4
+ @include vendor('box-sizing', 'content-box');
5
+ background: #fff;
6
+ padding-bottom: 3em;
7
+
8
+ .loader {
9
+ width: 48px;
10
+ height: 48px;
11
+ background: url('images/loader.gif');
12
+ position: absolute;
13
+ top: 50%;
14
+ left: 50%;
15
+ margin: -24px 0 0 -24px;
16
+ }
17
+
18
+ .caption {
19
+ position: absolute;
20
+ bottom: 0;
21
+ left: 0;
22
+ background: #fff;
23
+ width: 100%;
24
+ height: 3em;
25
+ line-height: 3em;
26
+ text-align: center;
27
+ cursor: default;
28
+ z-index: 1;
29
+ }
30
+
31
+ .nav-next,
32
+ .nav-previous {
33
+ @include vendor('transition', 'opacity 0.5s ease-in-out');
34
+ position: absolute;
35
+ top: 0;
36
+ width: 50%;
37
+ height: 100%;
38
+ opacity: 0;
39
+ cursor: pointer;
40
+ background: rgba(0, 0, 0, 0.01);
41
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
42
+
43
+ &:before {
44
+ content: '';
45
+ position: absolute;
46
+ width: 96px;
47
+ height: 64px;
48
+ background: url('images/poptrox-nav.svg');
49
+ top: calc(50% - 1.5em);
50
+ margin: -32px 0 0 0;
51
+ }
52
+ }
53
+
54
+ &:hover {
55
+ .nav-next,
56
+ .nav-previous {
57
+ opacity: 0.5;
58
+
59
+ &:hover {
60
+ opacity: 1.0;
61
+ }
62
+ }
63
+ }
64
+
65
+ .nav-next {
66
+ right: 0;
67
+
68
+ &:before {
69
+ right: 0;
70
+ }
71
+ }
72
+
73
+ .nav-previous {
74
+ left: 0;
75
+
76
+ &:before {
77
+ @include vendor('transform', 'scaleX(-1)');
78
+ left: 0;
79
+ -ms-filter: "FlipH";
80
+ filter: FlipH;
81
+ }
82
+ }
83
+
84
+ .closer {
85
+ @include vendor('transition', 'opacity 0.5s ease-in-out');
86
+ position: absolute;
87
+ top: 0;
88
+ right: 0;
89
+ width: 64px;
90
+ height: 64px;
91
+ text-indent: -9999px;
92
+ z-index: 2;
93
+ opacity: 0;
94
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
95
+
96
+ &:before {
97
+ @include vendor('transition', 'background-color 0.5s ease-in-out');
98
+ content: '';
99
+ display: block;
100
+ position: absolute;
101
+ right: 16px;
102
+ top: 16px;
103
+ width: 40px;
104
+ height: 40px;
105
+ border-radius: 100%;
106
+ box-shadow: inset 0 0 0 1px #fff;
107
+ background: rgba(255, 255, 255, 0.1) url('images/poptrox-closer.svg') center center;
108
+ color: #fff !important;
109
+ }
110
+ }
111
+
112
+ &:hover {
113
+ .closer {
114
+ opacity: 0.5;
115
+
116
+ &:hover {
117
+ opacity: 1.0;
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,21 @@
1
+ /* Row */
2
+
3
+ .row {
4
+ @include html-grid((40px, 40px));
5
+
6
+ @include breakpoint('<=wide') {
7
+ @include html-grid((40px, 40px), 'wide');
8
+ }
9
+
10
+ @include breakpoint('<=normal') {
11
+ @include html-grid((40px, 40px), 'normal');
12
+ }
13
+
14
+ @include breakpoint('<=narrow') {
15
+ @include html-grid((30px, 30px), 'narrow');
16
+ }
17
+
18
+ @include breakpoint('<=mobile') {
19
+ @include html-grid((20px, 20px), 'mobile');
20
+ }
21
+ }
@@ -0,0 +1,18 @@
1
+ /* Sections/Article */
2
+
3
+ section, article {
4
+ margin-bottom: 3em;
5
+ }
6
+
7
+ section > :last-child,
8
+ article > :last-child,
9
+ section:last-child,
10
+ article:last-child {
11
+ margin-bottom: 0;
12
+ }
13
+
14
+ .row > {
15
+ section, article {
16
+ margin-bottom: 0;
17
+ }
18
+ }
@@ -0,0 +1,35 @@
1
+ /* Table */
2
+
3
+ .table-wrapper {
4
+ width: 100%;
5
+ overflow-x: auto;
6
+ -webkit-overflow-scrolling: touch;
7
+ }
8
+
9
+ table {
10
+ width: 100%;
11
+
12
+ tbody {
13
+ tr {
14
+ border-top: solid 1px #eae9e9;
15
+
16
+ &:first-child {
17
+ border-top: 0;
18
+ }
19
+ }
20
+ }
21
+
22
+ td {
23
+ padding: 0.75em 1.25em 0.75em 1.25em;
24
+ }
25
+
26
+ th {
27
+ text-align: left;
28
+ font-weight: 400;
29
+ padding: 0.75em 1.25em 0.75em 1.25em;
30
+ }
31
+
32
+ thead {
33
+ background: #f5f5f5;
34
+ }
35
+ }
@@ -0,0 +1,44 @@
1
+ /* Banner */
2
+
3
+ #banner {
4
+ position: relative;
5
+ color: #fff;
6
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
7
+ text-align: center;
8
+ background: #35b88f url('images/banner.svg') bottom center no-repeat;
9
+ padding: 5em 0 5em 0;
10
+ margin: 0;
11
+ background-size: 125% auto;
12
+
13
+ .button {
14
+ color: #35b882;
15
+ text-shadow: 0 0 0.5px rgba(53, 184, 130, 0.25);
16
+ }
17
+
18
+ header {
19
+ margin: 0 0 2em 0;
20
+
21
+ h2 {
22
+ font-weight: 400;
23
+ font-size: 1.75em;
24
+ letter-spacing: 8px;
25
+ }
26
+ }
27
+
28
+ p {
29
+ margin: 0;
30
+ }
31
+
32
+ footer {
33
+ margin: 2em 0 0 0;
34
+ }
35
+
36
+ a {
37
+ color: inherit;
38
+ border-bottom-color: rgba(255, 255, 255, 0.5);
39
+
40
+ &:hover {
41
+ border-bottom-color: rgba(255, 255, 255, 0);
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,358 @@
1
+ /* Wide */
2
+
3
+ @include breakpoint('<=wide') {
4
+
5
+ /* Basic */
6
+
7
+ body, input, textarea, select {
8
+ font-size: 16pt;
9
+ }
10
+
11
+ /* Header */
12
+
13
+ #header {
14
+ padding: 10em 0 12em 0;
15
+ }
16
+
17
+ }
18
+
19
+ /* Normal */
20
+
21
+ @include breakpoint('<=normal') {
22
+
23
+ /* Banner */
24
+
25
+ #banner {
26
+ padding: 4em 0 4em 0;
27
+ background-size: auto, 175% auto;
28
+ }
29
+
30
+ /* Header */
31
+
32
+ #header {
33
+ padding: 8em 0 10em 0;
34
+ }
35
+
36
+ }
37
+
38
+ /* Narrow */
39
+
40
+ @include breakpoint('<=narrow') {
41
+
42
+ /* Basic */
43
+
44
+ body {
45
+ background-color: #203936;
46
+ background-image: url('images/overlay.png'), url('../images/bg-alt.jpg');
47
+ background-repeat: repeat, no-repeat;
48
+ background-size: auto, 100% auto;
49
+ background-position: top left, top center;
50
+ background-attachment: scroll, scroll;
51
+ font-size: 14pt;
52
+ }
53
+
54
+ input, textarea, select {
55
+ font-size: 14pt;
56
+ }
57
+
58
+ h1, h2, h3, h4, h5, h6 {
59
+ line-height: 1.5em;
60
+ }
61
+
62
+ header {
63
+ p {
64
+ margin: 0.25em 0 0 0;
65
+ padding: 0 0 0.5em 0;
66
+ }
67
+ }
68
+
69
+ /* Box */
70
+ .box {
71
+ position: relative;
72
+
73
+ section {
74
+ margin: 0 0 2em 0;
75
+ }
76
+
77
+ &.style1 {
78
+ padding: 2.5em 2em 2.5em 2em;
79
+
80
+ &.right {
81
+ .inner {
82
+ padding-left: 2em;
83
+ }
84
+ }
85
+
86
+ &.left {
87
+ .inner {
88
+ padding-right: 2em;
89
+ }
90
+ }
91
+ }
92
+
93
+ &.style2 {
94
+
95
+ header {
96
+ padding: 2em;
97
+ }
98
+
99
+ .inner {
100
+ position: relative;
101
+ padding: 30px 0 0 0;
102
+ }
103
+ }
104
+
105
+ &.style3 {
106
+ padding: 2.5em 2em 2.5em 2em;
107
+ }
108
+ }
109
+
110
+ /* Header */
111
+
112
+ #header {
113
+ padding: 10em 0 12em 0;
114
+ }
115
+
116
+ /* Banner */
117
+
118
+ #banner {
119
+ padding: 3.5em;
120
+ background-size: 200% auto;
121
+
122
+ br {
123
+ display: none;
124
+ }
125
+ }
126
+
127
+ }
128
+
129
+ /* Mobile */
130
+
131
+ @include breakpoint('<=mobile') {
132
+
133
+ /* Basic */
134
+
135
+ * {
136
+ text-shadow: none !important;
137
+ }
138
+
139
+ body, input, textarea, select {
140
+ line-height: 1.5em;
141
+ font-size: 12pt;
142
+ letter-spacing: 0;
143
+ }
144
+
145
+ h2, h3, h4, h5, h6 {
146
+ font-size: 1em;
147
+ }
148
+
149
+ h2 {
150
+ font-size: 1.25em;
151
+ letter-spacing: 4px;
152
+ }
153
+
154
+ /* List */
155
+
156
+ ul {
157
+ li {
158
+ padding-left: 0.5em;
159
+ }
160
+ }
161
+
162
+ ol {
163
+ li {
164
+ padding-left: 0.25em;
165
+ }
166
+ }
167
+
168
+ /* Icons */
169
+
170
+ ul.icons {
171
+ a {
172
+ width: 2em;
173
+ height: 2em;
174
+ line-height: 2em;
175
+ }
176
+ }
177
+
178
+ /* Menu */
179
+
180
+ ul.menu {
181
+ li {
182
+ display: block;
183
+ padding: 0;
184
+ border: 0;
185
+ margin: 1em 0 0 0;
186
+
187
+ &:first-child {
188
+ margin-top: 0;
189
+ }
190
+ }
191
+ }
192
+
193
+ /* Actions */
194
+
195
+ ul.actions {
196
+ li {
197
+ display: block;
198
+ margin: 1em 0 0 0;
199
+
200
+ &:first-child {
201
+ margin-top: 0;
202
+ }
203
+ }
204
+ }
205
+
206
+ /* Button */
207
+
208
+ input[type="button"],
209
+ input[type="submit"],
210
+ input[type="reset"],
211
+ button,
212
+ .button {
213
+ padding: 0.75em 0 0.75em 0;
214
+ width: 100%;
215
+ max-width: 320px;
216
+ }
217
+
218
+ /* Box */
219
+
220
+ .box {
221
+ margin-top: 4.5em;
222
+
223
+ &:after {
224
+ top: -4.5em;
225
+ height: 4.5em;
226
+ }
227
+
228
+ &:before {
229
+ width: 45px;
230
+ height: 33px;
231
+ top: -2.25em;
232
+ margin-left: -22.5px;
233
+ margin-top: -16.5px;
234
+ background-size: 45px 33px;
235
+ }
236
+
237
+ &.style1 {
238
+ padding: 0;
239
+ text-align: center;
240
+
241
+ .image {
242
+ position: relative !important;
243
+ left: 0 !important;
244
+ width: 100% !important;
245
+ height: auto !important;
246
+
247
+ img {
248
+ position: relative;
249
+ height: auto;
250
+ width: 100%;
251
+ }
252
+ }
253
+
254
+ .inner {
255
+ margin: 0 !important;
256
+ padding: 2em 1.25em 2em 1.25em !important;
257
+ }
258
+ }
259
+
260
+ &.style2 {
261
+ .inner {
262
+ .row:before {
263
+ display: none;
264
+ }
265
+
266
+ .image {
267
+ padding: 0;
268
+ max-width: 250px;
269
+ margin: 0 auto 20px auto;
270
+ }
271
+ }
272
+ }
273
+
274
+ &.style3 {
275
+ padding: 2em 1.25em 2em 1.25em;
276
+ }
277
+ }
278
+
279
+ /* Header */
280
+ #header {
281
+ padding: 6em 0 6em 0;
282
+
283
+ header {
284
+ padding-left: 2em;
285
+ padding-right: 2em;
286
+
287
+ h1 {
288
+ font-size: 1.75em;
289
+ letter-spacing: 6px;
290
+ }
291
+ }
292
+
293
+ footer {
294
+ bottom: 4.5em;
295
+ padding: 0 2em 0 2em;
296
+
297
+ &:after {
298
+ bottom: -4.5em;
299
+ left: 50%;
300
+ height: 4.5em;
301
+ }
302
+
303
+ &:before {
304
+ width: 45px;
305
+ height: 33px;
306
+ bottom: -2.25em;
307
+ margin-left: -22.5px;
308
+ margin-bottom: -16.5px;
309
+ background-size: 45px 33px;
310
+ }
311
+ }
312
+ }
313
+
314
+ /* Banner */
315
+ #banner {
316
+ padding: 3em 2em 3em 2em;
317
+ background-size: auto 150%;
318
+
319
+ header {
320
+ margin: 0 0 1em 0;
321
+
322
+ h2 {
323
+ font-size: 1.5em;
324
+ letter-spacing: 6px;
325
+ }
326
+ }
327
+ }
328
+
329
+ /* Footer */
330
+
331
+ #footer {
332
+ .icons {
333
+ padding: 0.5em 1.25em 0.5em 1.25em;
334
+ }
335
+
336
+ .copyright {
337
+ font-size: 1em;
338
+ margin: 0 0 4em 0;
339
+ }
340
+ }
341
+
342
+ /* Poptrox */
343
+ .poptrox-popup {
344
+ .nav-next,
345
+ .nav-previous {
346
+ opacity: 1.0;
347
+
348
+ &:before {
349
+ display: none;
350
+ }
351
+ }
352
+
353
+ .closer {
354
+ opacity: 0.5;
355
+ }
356
+ }
357
+
358
+ }
@@ -0,0 +1,44 @@
1
+ /* Footer */
2
+
3
+ #footer {
4
+ position: relative;
5
+ color: #fff;
6
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
7
+ text-align: center;
8
+ margin: 4.5em 0 0 0;
9
+
10
+ &:after {
11
+ content: '';
12
+ display: block;
13
+ position: absolute;
14
+ top: -4.5em;
15
+ left: 50%;
16
+ height: 4.5em;
17
+ border-left: solid 1px #fff;
18
+ }
19
+
20
+ a {
21
+ color: #fff;
22
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
23
+ border-bottom-color: rgba(255, 255, 255, 0.5);
24
+
25
+ &:hover {
26
+ color: #35b88f;
27
+ text-shadow: 0 0 0.5px rgba(69, 200, 159, 0.25);
28
+ border-bottom-color: rgba(53, 184, 143, 0.5);
29
+ }
30
+ }
31
+
32
+ .icons {
33
+ padding: 0.75em 2em 0.75em 2em;
34
+ border-radius: 3em;
35
+ border: solid 1px #fff;
36
+ display: inline-block;
37
+ margin: 0 0 3em 0;
38
+ }
39
+
40
+ .copyright {
41
+ margin: 0 0 9em 0;
42
+ font-size: 0.8em;
43
+ }
44
+ }
@@ -0,0 +1,85 @@
1
+ /* Header */
2
+
3
+ #header {
4
+ @include vendor('transition', 'opacity 2s ease-in-out');
5
+ position: relative;
6
+ color: #fff;
7
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
8
+ text-align: center;
9
+ margin: 0;
10
+ padding: 14em 0 14em 0;
11
+ cursor: default;
12
+
13
+ header {
14
+ display: inline-block;
15
+ padding: 0 0 4.5em 0;
16
+
17
+ h1 {
18
+ font-weight: 600;
19
+ font-size: 2em;
20
+ letter-spacing: 10px;
21
+ }
22
+
23
+ p {
24
+ border-top: solid 1px rgba(255, 255, 255, 0.5);
25
+ color: rgba(255, 255, 255, 0.75);
26
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.1875);
27
+ font-size: 1em;
28
+ text-transform: uppercase;
29
+ letter-spacing: 3px;
30
+ padding: 0;
31
+ margin-top: 0.35em;
32
+
33
+ &:before {
34
+ content: '';
35
+ display: block;
36
+ border-top: solid 1px rgba(255, 255, 255, 0.5);
37
+ margin: 4px 0 0.8em 0;
38
+ }
39
+ }
40
+ }
41
+
42
+ footer {
43
+ @include vendor('transition', (
44
+ 'opacity 2s ease-in-out',
45
+ 'transform 1s ease-in-out'
46
+ ));
47
+ @include vendor('transition-delay', '1.25s');
48
+ position: absolute;
49
+ bottom: 9em;
50
+ margin: 0;
51
+ width: 100%;
52
+
53
+ &:after {
54
+ content: '';
55
+ display: block;
56
+ position: absolute;
57
+ bottom: -9em;
58
+ left: 50%;
59
+ height: 9em;
60
+ border-left: solid 1px #fff;
61
+ }
62
+
63
+ &:before {
64
+ content: '';
65
+ display: block;
66
+ width: 90px;
67
+ height: 66px;
68
+ position: absolute;
69
+ left: 50%;
70
+ bottom: -4.5em;
71
+ margin-left: -45px;
72
+ margin-bottom: -33px;
73
+ background: url('images/arrow.svg') no-repeat;
74
+ }
75
+ }
76
+
77
+ body.is-preload & {
78
+ opacity: 0;
79
+
80
+ footer {
81
+ @include vendor('transform', 'translateY(1em)');
82
+ opacity: 0;
83
+ }
84
+ }
85
+ }