jekflix 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +125 -0
  4. data/_includes/author.html +87 -0
  5. data/_includes/comments.html +30 -0
  6. data/_includes/date.html +4 -0
  7. data/_includes/extra-css.html +0 -0
  8. data/_includes/extra-js.html +0 -0
  9. data/_includes/footer.html +91 -0
  10. data/_includes/head.html +97 -0
  11. data/_includes/header.html +27 -0
  12. data/_includes/links.html +9 -0
  13. data/_includes/loader.html +31 -0
  14. data/_includes/logo.html +3 -0
  15. data/_includes/menu.html +6 -0
  16. data/_includes/minutes-to-read.html +9 -0
  17. data/_includes/modal.html +35 -0
  18. data/_includes/new-post-tag.html +6 -0
  19. data/_includes/pagination-home.html +14 -0
  20. data/_includes/pagination-post.html +21 -0
  21. data/_includes/progress-bar.html +8 -0
  22. data/_includes/read-icon.html +3 -0
  23. data/_includes/recommendation.html +30 -0
  24. data/_includes/search.html +7 -0
  25. data/_includes/share.html +11 -0
  26. data/_includes/stats.html +12 -0
  27. data/_includes/subscription.html +1 -0
  28. data/_includes/svg-icons.html +1 -0
  29. data/_includes/time-bar.html +8 -0
  30. data/_includes/toc.html +1 -0
  31. data/_layouts/404.html +18 -0
  32. data/_layouts/author.html +68 -0
  33. data/_layouts/category.html +71 -0
  34. data/_layouts/compress.html +8 -0
  35. data/_layouts/contact.html +94 -0
  36. data/_layouts/default.html +17 -0
  37. data/_layouts/home.html +187 -0
  38. data/_layouts/main.html +28 -0
  39. data/_layouts/message-sent.html +18 -0
  40. data/_layouts/minimal.html +18 -0
  41. data/_layouts/page.html +11 -0
  42. data/_layouts/post.html +154 -0
  43. data/_layouts/search.html +15 -0
  44. data/_layouts/tags.html +38 -0
  45. data/_sass/_animations.scss +65 -0
  46. data/_sass/_author.scss +91 -0
  47. data/_sass/_elements.scss +3 -0
  48. data/_sass/_footer.scss +98 -0
  49. data/_sass/_form.scss +69 -0
  50. data/_sass/_functions.scss +3 -0
  51. data/_sass/_header.scss +150 -0
  52. data/_sass/_hero.scss +108 -0
  53. data/_sass/_highlight.scss +140 -0
  54. data/_sass/_home.scss +218 -0
  55. data/_sass/_icons.scss +45 -0
  56. data/_sass/_include-media.scss +569 -0
  57. data/_sass/_menu.scss +90 -0
  58. data/_sass/_mixins.scss +51 -0
  59. data/_sass/_modal.scss +154 -0
  60. data/_sass/_no-js.scss +9 -0
  61. data/_sass/_normalize.scss +238 -0
  62. data/_sass/_pagination.scss +90 -0
  63. data/_sass/_post.scss +722 -0
  64. data/_sass/_search.scss +138 -0
  65. data/_sass/_share.scss +37 -0
  66. data/_sass/_staff.scss +38 -0
  67. data/_sass/_theme.scss +7 -0
  68. data/_sass/_typo.scss +7 -0
  69. data/_sass/_variables.scss +24 -0
  70. data/_sass/jekflix.scss +1 -0
  71. data/_sass/main.scss +25 -0
  72. data/_sass/preview.scss +310 -0
  73. metadata +199 -0
data/_sass/_post.scss ADDED
@@ -0,0 +1,722 @@
1
+ .post {
2
+ position: relative;
3
+ top: rem(30px);
4
+
5
+ @include media(">=sm") {
6
+ top: rem(50px);
7
+ }
8
+ }
9
+
10
+ .post.two-columns {
11
+ display: flex;
12
+ flex-direction: column;
13
+ padding-bottom: rem(40px);
14
+
15
+ @include media(">=sm") {
16
+ max-width: rem(1100px);
17
+ flex-direction: row;
18
+ margin: 0 auto;
19
+ padding: rem(40px) 0;
20
+ }
21
+
22
+ .post-content {
23
+ padding-bottom: rem(10px);
24
+
25
+ @include media(">=sm") {
26
+ flex-basis: 70%;
27
+ padding: 0 rem(30px) 0 rem(10px);
28
+ }
29
+ }
30
+ }
31
+
32
+ .post-content {
33
+ overflow-x: auto;
34
+ padding: rem(40px) 0;
35
+
36
+ &.fullwidth {
37
+ padding: rem(60px) rem(10px) 0;
38
+ }
39
+
40
+ img {
41
+ max-width: 100%;
42
+ margin: rem(0px) auto;
43
+ display: block;
44
+ padding: 10px 0;
45
+ }
46
+
47
+ svg {
48
+ width: 20px;
49
+ height: 20px;
50
+ fill: $themeColor;
51
+ margin-top: rem(-2px);
52
+ margin-left: rem(3px);
53
+ margin-right: rem(3px);
54
+ }
55
+
56
+ figure {
57
+ margin: rem(20px) auto 0;
58
+ }
59
+
60
+ figcaption,
61
+ img + em {
62
+ display: block;
63
+ color: darken($lightGray, 30%);
64
+ text-align: center;
65
+ @include mainFont(300);
66
+ }
67
+
68
+ p,
69
+ h1,
70
+ h2,
71
+ h3,
72
+ h4,
73
+ h5,
74
+ h6,
75
+ ul,
76
+ ol,
77
+ iframe {
78
+ @include center(rem(800px));
79
+ @include mainFont(400);
80
+ font-size: rem(17px);
81
+ line-height: rem(30px);
82
+ letter-spacing: 0.025rem;
83
+ padding: 0 rem(20px);
84
+ margin: rem(20px) auto 0;
85
+
86
+ @include media(">=sm") {
87
+ font-size: rem(20px);
88
+ line-height: rem(40px);
89
+ margin: rem(29px) auto 0;
90
+ }
91
+ }
92
+
93
+ h1.post-title {
94
+ line-height: 1.2;
95
+ margin: rem(5px) auto rem(10px);
96
+ padding-top: 0;
97
+ }
98
+
99
+ p.post-subtitle {
100
+ color: darken($lightGray, 30%);
101
+ font-size: rem(17px);
102
+ margin: rem(10px) auto;
103
+ line-height: 1.6;
104
+
105
+ @include media(">=sm") {
106
+ font-size: rem(20px);
107
+ }
108
+ }
109
+
110
+ img.post-cover {
111
+ padding: 0;
112
+ margin-top: rem(20px);
113
+ margin-bottom: rem(20px);
114
+
115
+ @include media(">=sm") {
116
+ margin-top: rem(29px);
117
+ margin-bottom: rem(29px);
118
+ }
119
+ }
120
+
121
+ p.post-info {
122
+ @include mainFont(300);
123
+ font-size: rem(13px);
124
+ letter-spacing: 0;
125
+ color: darken($lightGray, 30%);
126
+ margin: 0 auto;
127
+
128
+ @include media(">=sm") {
129
+ font-size: rem(15px);
130
+ }
131
+
132
+ span,
133
+ time {
134
+ vertical-align: middle;
135
+ }
136
+
137
+ time {
138
+ margin-right: rem(10px);
139
+
140
+ @include media(">=sm") {
141
+ margin-right: rem(30px);
142
+ }
143
+ }
144
+ }
145
+
146
+ p,
147
+ li {
148
+ color: $texts;
149
+
150
+ code {
151
+ font-size: rem(15px);
152
+ background: #282a36;
153
+ color: #fff;
154
+ word-wrap: break-word;
155
+ padding: rem(3px) rem(5px);
156
+ border-radius: 3px;
157
+
158
+ @include media(">=sm") {
159
+ font-size: rem(17px);
160
+ }
161
+ }
162
+ }
163
+
164
+ li {
165
+ padding: rem(10px) 0;
166
+
167
+ ul {
168
+ margin-bottom: 0;
169
+ }
170
+
171
+ p {
172
+ margin-bottom: 0;
173
+ margin-top: 0;
174
+ }
175
+ }
176
+
177
+ a {
178
+ color: $themeColor;
179
+ text-decoration: none;
180
+
181
+ &:hover {
182
+ color: #a9a9a9;
183
+ }
184
+ }
185
+
186
+ iframe {
187
+ margin-top: rem(30px);
188
+ width: 100%;
189
+ }
190
+
191
+ h1,
192
+ h2,
193
+ h3,
194
+ h4,
195
+ h5,
196
+ h6 {
197
+ @include mainFont(700);
198
+ margin-top: 0;
199
+ padding-top: rem(50px);
200
+
201
+ @include media(">=sm") {
202
+ margin-top: 0;
203
+ padding-top: rem(60px);
204
+ }
205
+ }
206
+ h1 {
207
+ font-size: rem(36px);
208
+ line-height: 1.4;
209
+ @include media(">=sm") {
210
+ font-size: rem(50px);
211
+ }
212
+ }
213
+
214
+ h2 {
215
+ font-size: rem(28px);
216
+ line-height: 1.4;
217
+
218
+ @include media(">=sm") {
219
+ font-size: rem(37px);
220
+ }
221
+ }
222
+
223
+ h3 {
224
+ font-size: rem(22px);
225
+ line-height: 1.4;
226
+
227
+ @include media(">=sm") {
228
+ font-size: rem(27px);
229
+ }
230
+ }
231
+ ul,
232
+ ol {
233
+ padding-left: rem(60px);
234
+ }
235
+
236
+ ul.post-list {
237
+ padding: 0 rem(20px);
238
+
239
+ @include media(">=sm") {
240
+ padding: 0;
241
+ }
242
+ }
243
+
244
+ blockquote {
245
+ @include center(rem(730px));
246
+ border-left: rem(5px) solid $texts;
247
+ padding: 0 rem(10px);
248
+ margin: rem(30px) auto;
249
+ width: 90%;
250
+
251
+ @include media(">=sm") {
252
+ width: 100%;
253
+ margin: rem(50px) auto;
254
+ padding: 0 rem(30px);
255
+ }
256
+
257
+ p {
258
+ font-size: rem(17px);
259
+ color: rgba(0, 0, 0, 0.6);
260
+ margin: 0;
261
+ @include media(">=sm") {
262
+ font-size: rem(20px);
263
+ }
264
+ }
265
+ }
266
+
267
+ hr {
268
+ @include center(rem(760px));
269
+ border: 1px solid $lightGray;
270
+ margin: 50px auto;
271
+ }
272
+
273
+ pre {
274
+ overflow-x: auto;
275
+ }
276
+
277
+ table {
278
+ @include mainFont(400);
279
+ font-size: rem(17px);
280
+ line-height: rem(35px);
281
+ letter-spacing: 0.025rem;
282
+ margin: rem(50px) auto;
283
+ border-collapse: collapse;
284
+
285
+ @include media(">=sm") {
286
+ font-size: rem(20px);
287
+ }
288
+
289
+ th,
290
+ td {
291
+ border: rem(1px) solid #ccc;
292
+ padding: rem(5px) rem(10px);
293
+
294
+ @include media(">=sm") {
295
+ border: rem(2px) solid #ccc;
296
+ padding: rem(10px) rem(20px);
297
+ }
298
+ }
299
+ }
300
+
301
+ td > pre {
302
+ padding: 0;
303
+ margin: 0;
304
+ }
305
+
306
+ td.gutter.gl {
307
+ padding-right: rem(25px);
308
+ line-height: rem(24px);
309
+ }
310
+
311
+ h1,
312
+ h2,
313
+ h3,
314
+ h4,
315
+ h5,
316
+ h6 {
317
+ position: relative;
318
+
319
+ .anchor {
320
+ display: none;
321
+ height: rem(16px);
322
+ left: 0;
323
+ margin-top: rem(30px);
324
+ position: absolute;
325
+ top: 50%;
326
+ transform: translate(-50%, -50%);
327
+ width: rem(16px);
328
+
329
+ @include media(">=sm") {
330
+ display: block;
331
+ opacity: 0;
332
+ }
333
+
334
+ img {
335
+ padding: 0;
336
+ }
337
+ }
338
+
339
+ &:hover .anchor,
340
+ .anchor:hover {
341
+ opacity: 1;
342
+ }
343
+ }
344
+ }
345
+
346
+ /* See also */
347
+
348
+ .see-also {
349
+ padding: 0 rem(20px);
350
+
351
+ @include media(">=sm") {
352
+ flex-basis: 30%;
353
+ padding: 0 rem(10px);
354
+ }
355
+
356
+ h2 {
357
+ font-size: rem(24px);
358
+ font-weight: bold;
359
+ border-bottom: 1px solid $lightGray;
360
+ padding: rem(10px) 0;
361
+ @include media(">=sm") {
362
+ padding: rem(48px) 0 rem(20px);
363
+ }
364
+ }
365
+
366
+ ul {
367
+ margin: 0;
368
+ padding: 0;
369
+ list-style: none;
370
+
371
+ li {
372
+ img {
373
+ display: block;
374
+ max-width: 100%;
375
+ height: auto;
376
+ transition: all 0.2s ease-in-out;
377
+ }
378
+
379
+ a {
380
+ font-weight: normal;
381
+ color: $primaryDark;
382
+ text-decoration: none;
383
+ transition: all 0.3s;
384
+
385
+ &:hover {
386
+ color: rgba(0, 0, 0, 0.5);
387
+ img {
388
+ -webkit-filter: grayscale(100%);
389
+ filter: grayscale(100%);
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+
397
+ /* Progress bar */
398
+
399
+ .progress-bar {
400
+ display: flex;
401
+ align-items: center;
402
+ width: 100%;
403
+ height: 38px;
404
+ padding: rem(30px) 0;
405
+ border-bottom: 1px solid $themeColor;
406
+ background-color: #fff;
407
+ transition: bottom 0.5s;
408
+
409
+ .bar {
410
+ position: relative;
411
+ flex: 1;
412
+ height: rem(10px);
413
+ background-color: $themeColor;
414
+ opacity: 0.2;
415
+ }
416
+
417
+ .completed {
418
+ opacity: 1;
419
+
420
+ &:last-child {
421
+ border-right: 1px solid #fff;
422
+ }
423
+ }
424
+
425
+ .star {
426
+ position: relative;
427
+ width: rem(40px);
428
+ height: rem(40px);
429
+ animation: 1s pulse cubic-bezier(0.36, 0.07, 0.19, 0.97) alternate infinite;
430
+ }
431
+
432
+ &.finished {
433
+ .star {
434
+ animation: none;
435
+ transform: scale(1.3);
436
+ }
437
+ }
438
+ }
439
+
440
+ /* Time bar */
441
+
442
+ .time-bar {
443
+ position: fixed;
444
+ left: 0;
445
+ right: 0;
446
+ bottom: -100%;
447
+ display: block;
448
+ width: 100%;
449
+ padding: rem(10px) rem(20px) rem(5px);
450
+ transition: bottom 0.5s;
451
+ background-color: rgba(0, 0, 0, 0.85);
452
+
453
+ @include media(">=sm") {
454
+ padding: rem(16px) rem(20px) rem(9px);
455
+ }
456
+
457
+ .bar {
458
+ display: block;
459
+ width: 100%;
460
+ padding: rem(8px) rem(60px);
461
+ &:after {
462
+ clear: both;
463
+ display: block;
464
+ content: "";
465
+ }
466
+ }
467
+
468
+ .completed {
469
+ float: left;
470
+ display: block;
471
+ height: rem(5px);
472
+ background-color: $themeColor;
473
+ }
474
+
475
+ .remaining {
476
+ float: left;
477
+ display: block;
478
+ height: rem(5px);
479
+ background-color: #ccc;
480
+ }
481
+
482
+ .time-completed,
483
+ .time-remaining {
484
+ @include mainFont(400);
485
+ font-size: rem(18px);
486
+ color: #fff;
487
+ }
488
+
489
+ .time-completed {
490
+ float: left;
491
+ }
492
+
493
+ .time-remaining {
494
+ float: right;
495
+ }
496
+ }
497
+
498
+ /* Recommendation */
499
+
500
+ .recommendation {
501
+ @include mainFont(400);
502
+ position: fixed;
503
+ left: 0;
504
+ right: 0;
505
+ bottom: -100%;
506
+ display: block;
507
+ width: 100%;
508
+ padding: rem(10px);
509
+ transition: bottom 0.5s;
510
+ background-color: rgba(0, 0, 0, 0.85);
511
+ display: flex;
512
+ justify-content: space-between;
513
+
514
+ @include media(">=sm") {
515
+ padding: rem(15px);
516
+ }
517
+
518
+ .message {
519
+ display: flex;
520
+ flex-direction: column;
521
+ justify-content: space-between;
522
+ font-size: rem(16px);
523
+ color: #fff;
524
+ padding-right: rem(20px);
525
+
526
+ @include media(">=sm") {
527
+ font-size: rem(20px);
528
+ }
529
+
530
+ strong {
531
+ display: block;
532
+ margin: rem(10px) 0;
533
+ }
534
+
535
+ button {
536
+ background-color: transparent;
537
+ border: 0;
538
+ color: #fff;
539
+ cursor: pointer;
540
+ display: inline-block;
541
+ font-size: rem(13px);
542
+ text-decoration: none;
543
+ outline: 0;
544
+
545
+ @include media(">=sm") {
546
+ font-size: rem(15px);
547
+ }
548
+ }
549
+
550
+ svg {
551
+ fill: #fff;
552
+ width: rem(22px);
553
+ height: rem(22px);
554
+ transform: rotate(-90deg);
555
+ border: 1px solid #fff;
556
+ border-radius: 50%;
557
+ padding: 5px;
558
+ margin-right: 10px;
559
+ vertical-align: middle;
560
+
561
+ @include media(">=sm") {
562
+ width: rem(28px);
563
+ height: rem(28px);
564
+ }
565
+ }
566
+
567
+ span {
568
+ vertical-align: middle;
569
+ }
570
+ }
571
+ .post-preview {
572
+ display: flex;
573
+ align-items: center;
574
+ flex-direction: column;
575
+ background-color: #000;
576
+ padding: rem(5px);
577
+ max-width: 35%;
578
+ text-decoration: none;
579
+
580
+ @include media(">=sm") {
581
+ flex-direction: row;
582
+ padding: rem(5px) rem(50px) rem(5px) rem(5px);
583
+ max-width: 50%;
584
+ }
585
+
586
+ &:hover {
587
+ .title {
588
+ color: rgba(255, 255, 255, 0.5);
589
+ }
590
+
591
+ .image > img {
592
+ -webkit-filter: grayscale(100%);
593
+ filter: grayscale(100%);
594
+ }
595
+ }
596
+
597
+ .image,
598
+ .image > img {
599
+ display: block;
600
+ width: 100%;
601
+ max-width: rem(200px);
602
+ transition: all 0.3s;
603
+ }
604
+
605
+ .title {
606
+ font-size: rem(16px);
607
+ color: #fff;
608
+ margin: rem(5px) 0;
609
+ transition: all 0.3s;
610
+ @include media(">=sm") {
611
+ font-size: rem(23px);
612
+ margin: 0 0 0 rem(20px);
613
+ }
614
+ }
615
+ }
616
+ }
617
+
618
+ .icon-clock,
619
+ .icon-calendar {
620
+ width: rem(14px);
621
+ height: rem(14px);
622
+ fill: darken($lightGray, 30%);
623
+ vertical-align: middle;
624
+ margin-right: rem(3px);
625
+ }
626
+
627
+ /* Tags */
628
+
629
+ .post-content {
630
+ .tags {
631
+ @include center(rem(800px));
632
+ @include mainFont(400);
633
+ font-size: rem(18px);
634
+ margin: 0 auto rem(29px);
635
+ margin-top: rem(30px);
636
+ letter-spacing: 0.025rem;
637
+ line-height: rem(40px);
638
+ padding: 0 rem(10px);
639
+
640
+ @include media(">=sm") {
641
+ font-size: rem(20px);
642
+ padding: 0;
643
+ }
644
+
645
+ a {
646
+ font-size: rem(14px);
647
+ color: $primaryDark;
648
+ display: inline-block;
649
+ border: 1px solid $primaryDark;
650
+ border-radius: rem(20px);
651
+ padding: 0 rem(10px);
652
+ margin-right: rem(2px);
653
+ margin-bottom: rem(8px);
654
+ text-decoration: none;
655
+
656
+ @include media(">=sm") {
657
+ border-width: 2px;
658
+ }
659
+
660
+ &:hover {
661
+ color: $accentDark;
662
+ background-color: $primaryDark;
663
+ }
664
+ }
665
+ }
666
+
667
+ .tag-title {
668
+ @include mainFont(300);
669
+ @include center(rem(800px));
670
+ font-size: rem(30px);
671
+ margin-top: rem(20px);
672
+ padding: 0 rem(10px);
673
+
674
+ span {
675
+ padding: rem(3px) rem(10px);
676
+ background-color: $themeColor;
677
+ border-radius: rem(5px);
678
+ color: #fff;
679
+ }
680
+
681
+ @include media(">=sm") {
682
+ font-size: rem(22px);
683
+ margin-top: rem(80px);
684
+ padding: 0;
685
+ }
686
+ }
687
+
688
+ a.post-anchor {
689
+ display: block;
690
+ height: rem(40px);
691
+
692
+ @include media(">=sm") {
693
+ height: rem(10px);
694
+ }
695
+ }
696
+
697
+ ul.post-list {
698
+ list-style: none;
699
+ margin: rem(25px) auto 0;
700
+ padding: 0 rem(10px);
701
+
702
+ @include media(">=sm") {
703
+ padding: 0;
704
+ }
705
+
706
+ a {
707
+ display: flex;
708
+ justify-content: space-between;
709
+ border-bottom: 1px solid darken($lightGray, 10%);
710
+ padding: rem(10px) 0;
711
+ text-decoration: none;
712
+ font-size: rem(18px);
713
+ }
714
+
715
+ .entry-date {
716
+ float: right;
717
+ @include media("<sm") {
718
+ display: none;
719
+ }
720
+ }
721
+ }
722
+ }