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/_modal.scss ADDED
@@ -0,0 +1,154 @@
1
+ .modal {
2
+ .mask {
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ z-index: 1000;
9
+ background-color: rgba(0, 0, 0, 0.5);
10
+ animation: 1s fadeIn ease both;
11
+ }
12
+
13
+ .window {
14
+ position: fixed;
15
+ top: 50%;
16
+ left: 50%;
17
+ z-index: 1001;
18
+ transform: translate(-50%, -50%);
19
+ width: calc(100% - #{rem(40px)});
20
+ max-width: rem(800px);
21
+ background-color: #fff;
22
+ border-radius: rem(10px);
23
+ padding: rem(5px) 0;
24
+ box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.3);
25
+ animation: 0.3s fadeIn 0.5s ease both;
26
+
27
+ @include media(">=sm") {
28
+ min-width: rem(400px);
29
+ }
30
+
31
+ .close {
32
+ position: absolute;
33
+ right: rem(-10px);
34
+ top: rem(-10px);
35
+ width: rem(30px);
36
+ height: rem(30px);
37
+ fill: #fff;
38
+ background-color: $primaryDark;
39
+ border-radius: 50%;
40
+ border: 2px solid #fff;
41
+ padding: rem(5px);
42
+ cursor: pointer;
43
+ }
44
+
45
+ .header {
46
+ text-align: center;
47
+ border-bottom: 1px solid $lightGray;
48
+ padding: rem(15px);
49
+
50
+ h2,
51
+ p {
52
+ margin: 0;
53
+ font-size: rem(13px);
54
+ }
55
+ }
56
+
57
+ .content {
58
+ max-height: 90vh;
59
+ overflow: auto;
60
+ padding: rem(10px);
61
+
62
+ ul {
63
+ margin: 0;
64
+ padding: 0;
65
+ list-style: none;
66
+ display: flex;
67
+ flex-direction: column;
68
+
69
+ @include media(">=sm") {
70
+ flex-direction: row;
71
+ }
72
+
73
+ li {
74
+ flex: 1;
75
+ margin: rem(15px);
76
+
77
+ figure {
78
+ position: relative;
79
+ margin: 0;
80
+
81
+ &:after {
82
+ content: "Read now";
83
+ text-transform: uppercase;
84
+ display: inline-block;
85
+ background: $themeColor;
86
+ color: #fff;
87
+ font-size: rem(13px);
88
+ font-weight: 700;
89
+ line-height: rem(24px);
90
+ padding: 0 rem(8px);
91
+ position: absolute;
92
+ bottom: 10%;
93
+ left: -5px;
94
+ transition: background 0.2s;
95
+ }
96
+ }
97
+
98
+ img {
99
+ display: block;
100
+ max-width: 100%;
101
+ height: auto;
102
+ transition: all 0.2s ease-in-out;
103
+ position: relative;
104
+ }
105
+
106
+ a {
107
+ font-weight: normal;
108
+ color: $primaryDark;
109
+ text-decoration: none;
110
+ transition: all 0.3s;
111
+
112
+ &:hover {
113
+ color: rgba(0, 0, 0, 0.5);
114
+
115
+ img {
116
+ -webkit-filter: grayscale(100%);
117
+ filter: grayscale(100%);
118
+ }
119
+
120
+ figure {
121
+ &:after {
122
+ background: $primaryDark;
123
+ }
124
+ }
125
+ }
126
+ }
127
+ h3 {
128
+ font-size: rem(20px);
129
+ margin-bottom: 0;
130
+ }
131
+
132
+ p {
133
+ display: none;
134
+
135
+ @include media(">=sm") {
136
+ display: block;
137
+ font-size: rem(15px);
138
+ line-height: rem(20px);
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ &.closed {
146
+ display: none;
147
+ }
148
+
149
+ &.exit {
150
+ .window {
151
+ animation: 0.5s fadeIn 0.5s both, 0.5s zoomIn 0.5s both;
152
+ }
153
+ }
154
+ }
data/_sass/_no-js.scss ADDED
@@ -0,0 +1,9 @@
1
+ .no-js {
2
+ .flex-grid article {
3
+ opacity: 1;
4
+ }
5
+
6
+ .preload {
7
+ display: none;
8
+ }
9
+ }
@@ -0,0 +1,238 @@
1
+ // Based on Kouto Swiss normalize function
2
+ // https://github.com/leny/kouto-swiss/edit/master/lib/kouto-swiss/reset/normalize.styl
3
+
4
+ html {
5
+ font-family: sans-serif;
6
+ line-height: 1.15;
7
+ -ms-text-size-adjust: 100%;
8
+ -webkit-text-size-adjust: 100%;
9
+ }
10
+
11
+ body {
12
+ margin: 0;
13
+ }
14
+
15
+ article,
16
+ aside,
17
+ footer,
18
+ header,
19
+ nav,
20
+ section {
21
+ display: block;
22
+ }
23
+
24
+ h1 {
25
+ font-size: 2em;
26
+ margin: 0.67em 0;
27
+ }
28
+
29
+ figcaption,
30
+ figure,
31
+ main {
32
+ display: block;
33
+ }
34
+
35
+ figure {
36
+ margin: 1em 40px;
37
+ }
38
+
39
+ hr {
40
+ box-sizing: content-box;
41
+ height: 0;
42
+ overflow: visible;
43
+ }
44
+
45
+ pre {
46
+ font-family: monospace, monospace;
47
+ font-size: 1em;
48
+ }
49
+
50
+ a {
51
+ background-color: transparent;
52
+ -webkit-text-decoration-skip: objects;
53
+ }
54
+
55
+ a:active,
56
+ a:hover {
57
+ outline-width: 0;
58
+ }
59
+
60
+ abbr[title] {
61
+ border-bottom: none;
62
+ text-decoration: underline;
63
+ text-decoration: underline dotted;
64
+ }
65
+
66
+ b,
67
+ strong {
68
+ font-weight: inherit;
69
+ }
70
+
71
+ b,
72
+ strong {
73
+ font-weight: bolder;
74
+ }
75
+
76
+ code,
77
+ kbd,
78
+ samp {
79
+ font-family: monospace, monospace;
80
+ font-size: 1em;
81
+ }
82
+
83
+ dfn {
84
+ font-style: italic;
85
+ }
86
+
87
+ mark {
88
+ background-color: #ff0;
89
+ color: #000;
90
+ }
91
+
92
+ small {
93
+ font-size: 80%;
94
+ }
95
+
96
+ sub,
97
+ sup {
98
+ font-size: 75%;
99
+ line-height: 0;
100
+ position: relative;
101
+ vertical-align: baseline;
102
+ }
103
+
104
+ sub {
105
+ bottom: -0.25em;
106
+ }
107
+
108
+ sup {
109
+ top: -0.5em;
110
+ }
111
+
112
+ audio,
113
+ video {
114
+ display: inline-block;
115
+ }
116
+
117
+ audio:not([controls]) {
118
+ display: none;
119
+ height: 0;
120
+ }
121
+
122
+ img {
123
+ border-style: none;
124
+ }
125
+
126
+ svg:not(:root) {
127
+ overflow: hidden;
128
+ }
129
+
130
+ button,
131
+ input,
132
+ optgroup,
133
+ select,
134
+ textarea {
135
+ font-family: sans-serif;
136
+ font-size: 100%;
137
+ line-height: 1.15;
138
+ margin: 0;
139
+ }
140
+
141
+ button,
142
+ input {
143
+ overflow: visible;
144
+ }
145
+
146
+ button,
147
+ select {
148
+ text-transform: none;
149
+ }
150
+
151
+ button,
152
+ html [type="button"]
153
+ [type="reset"]
154
+ [type="submit"] {
155
+ -webkit-appearance: button;
156
+ }
157
+
158
+ button::-moz-focus-inner,
159
+ [type="button"]::-moz-focus-inner,
160
+ [type="reset"]::-moz-focus-inner,
161
+ [type="submit"]::-moz-focus-inner {
162
+ border-style: none;
163
+ padding: 0;
164
+ }
165
+
166
+ button:-moz-focusring,
167
+ [type="button"]:-moz-focusring,
168
+ [type="reset"]:-moz-focusring,
169
+ [type="submit"]:-moz-focusring {
170
+ outline: 1px dotted ButtonText;
171
+ margin: 0 2px;
172
+ padding: 0.35em 0.625em 0.75em;
173
+ }
174
+
175
+ legend {
176
+ box-sizing: border-box;
177
+ color: inherit;
178
+ display: table;
179
+ max-width: 100%;
180
+ padding: 0;
181
+ white-space: normal;
182
+ }
183
+
184
+ progress {
185
+ display: inline-block;
186
+ vertical-align: baseline;
187
+ }
188
+
189
+ textarea {
190
+ overflow: auto;
191
+ }
192
+
193
+ [type="checkbox"],
194
+ [type="radio"] {
195
+ box-sizing: border-box;
196
+ padding: 0;
197
+ }
198
+
199
+ [type="number"]::-webkit-inner-spin-button,
200
+ [type="number"]::-webkit-outer-spin-button {
201
+ height: auto;
202
+ }
203
+
204
+ [type="search"] {
205
+ -webkit-appearance: textfield;
206
+ outline-offset: -2px;
207
+ }
208
+
209
+ [type="search"]::-webkit-search-cancel-button,
210
+ [type="search"]::-webkit-search-decoration {
211
+ -webkit-appearance: none;
212
+ }
213
+
214
+ ::-webkit-file-upload-button {
215
+ -webkit-appearance: button;
216
+ font: inherit;
217
+ }
218
+
219
+ details,
220
+ menu {
221
+ display: block;
222
+ }
223
+
224
+ summary {
225
+ display: list-item;
226
+ }
227
+
228
+ canvas {
229
+ display: inline-block;
230
+ }
231
+
232
+ template {
233
+ display: none;
234
+ }
235
+
236
+ [hidden] {
237
+ display: none;
238
+ }
@@ -0,0 +1,90 @@
1
+ .pagination {
2
+ display: flex;
3
+ align-items: center;
4
+
5
+ &.pagination-home {
6
+ justify-content: center;
7
+ width: 100%;
8
+ margin: 0 auto;
9
+
10
+ a.next,
11
+ a.previous {
12
+ width: rem(40px);
13
+ height: rem(40px);
14
+
15
+ svg {
16
+ width: calc(100% - 20px);
17
+ height: calc(100% - 20px);
18
+ fill: #fff;
19
+ margin: 10px;
20
+ transition: all 0.3s ease;
21
+ }
22
+
23
+ &:hover > svg {
24
+ fill: $themeColor;
25
+ }
26
+ }
27
+
28
+ a.previous {
29
+ svg {
30
+ transform: rotate(180deg);
31
+ }
32
+ }
33
+
34
+ .page_number {
35
+ color: #fff;
36
+ font-size: rem(17px);
37
+ line-height: rem(22px);
38
+ margin: 0 rem(10px);
39
+ }
40
+ }
41
+
42
+ &.pagination-post {
43
+ justify-content: space-between;
44
+ padding: rem(15px) rem(20px) rem(30px);
45
+
46
+ @include media(">=sm") {
47
+ @include center(rem(800px));
48
+ }
49
+
50
+ a {
51
+ @include mainFont(bold);
52
+ font-size: rem(16px);
53
+ width: 100%;
54
+ display: flex;
55
+ align-items: center;
56
+ flex-direction: column;
57
+ background-color: #fff;
58
+ color: $themeColor;
59
+ padding: 0 rem(15px);
60
+ border: 1px solid $themeColor;
61
+ border-radius: 5px;
62
+ transition: all 0.3s;
63
+
64
+ @include media(">=sm") {
65
+ font-size: rem(17px);
66
+ border: 2px solid $themeColor;
67
+ }
68
+
69
+ &:hover {
70
+ -webkit-filter: grayscale(100%);
71
+ filter: grayscale(100%);
72
+ }
73
+
74
+ .arrow {
75
+ width: rem(14px);
76
+ height: rem(14px);
77
+ fill: $themeColor;
78
+ margin-right: rem(10px);
79
+ }
80
+
81
+ .text {
82
+ width: 100%;
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: space-between;
86
+ padding: rem(15px) 0;
87
+ }
88
+ }
89
+ }
90
+ }