jekflix 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +125 -0
- data/_includes/author.html +87 -0
- data/_includes/comments.html +30 -0
- data/_includes/date.html +4 -0
- data/_includes/extra-css.html +0 -0
- data/_includes/extra-js.html +0 -0
- data/_includes/footer.html +91 -0
- data/_includes/head.html +97 -0
- data/_includes/header.html +27 -0
- data/_includes/links.html +9 -0
- data/_includes/loader.html +31 -0
- data/_includes/logo.html +3 -0
- data/_includes/menu.html +6 -0
- data/_includes/minutes-to-read.html +9 -0
- data/_includes/modal.html +35 -0
- data/_includes/new-post-tag.html +6 -0
- data/_includes/pagination-home.html +14 -0
- data/_includes/pagination-post.html +21 -0
- data/_includes/progress-bar.html +8 -0
- data/_includes/read-icon.html +3 -0
- data/_includes/recommendation.html +30 -0
- data/_includes/search.html +7 -0
- data/_includes/share.html +11 -0
- data/_includes/stats.html +12 -0
- data/_includes/subscription.html +1 -0
- data/_includes/svg-icons.html +1 -0
- data/_includes/time-bar.html +8 -0
- data/_includes/toc.html +1 -0
- data/_layouts/404.html +18 -0
- data/_layouts/author.html +68 -0
- data/_layouts/category.html +71 -0
- data/_layouts/compress.html +8 -0
- data/_layouts/contact.html +94 -0
- data/_layouts/default.html +17 -0
- data/_layouts/home.html +187 -0
- data/_layouts/main.html +28 -0
- data/_layouts/message-sent.html +18 -0
- data/_layouts/minimal.html +18 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +154 -0
- data/_layouts/search.html +15 -0
- data/_layouts/tags.html +38 -0
- data/_sass/_animations.scss +65 -0
- data/_sass/_author.scss +91 -0
- data/_sass/_elements.scss +3 -0
- data/_sass/_footer.scss +98 -0
- data/_sass/_form.scss +69 -0
- data/_sass/_functions.scss +3 -0
- data/_sass/_header.scss +150 -0
- data/_sass/_hero.scss +108 -0
- data/_sass/_highlight.scss +140 -0
- data/_sass/_home.scss +218 -0
- data/_sass/_icons.scss +45 -0
- data/_sass/_include-media.scss +569 -0
- data/_sass/_menu.scss +90 -0
- data/_sass/_mixins.scss +51 -0
- data/_sass/_modal.scss +154 -0
- data/_sass/_no-js.scss +9 -0
- data/_sass/_normalize.scss +238 -0
- data/_sass/_pagination.scss +90 -0
- data/_sass/_post.scss +722 -0
- data/_sass/_search.scss +138 -0
- data/_sass/_share.scss +37 -0
- data/_sass/_staff.scss +38 -0
- data/_sass/_theme.scss +7 -0
- data/_sass/_typo.scss +7 -0
- data/_sass/_variables.scss +24 -0
- data/_sass/jekflix.scss +1 -0
- data/_sass/main.scss +25 -0
- data/_sass/preview.scss +310 -0
- metadata +199 -0
data/_sass/_search.scss
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
.search-wrapper {
|
2
|
+
position: fixed;
|
3
|
+
top: 30px;
|
4
|
+
width: 100%;
|
5
|
+
padding-right: 5%;
|
6
|
+
padding-left: 5%;
|
7
|
+
transform: translateY(-200px);
|
8
|
+
z-index: 19;
|
9
|
+
|
10
|
+
&.active {
|
11
|
+
transform: translateY(0);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.search-form {
|
16
|
+
position: relative;
|
17
|
+
top: 0;
|
18
|
+
width: 100%;
|
19
|
+
transform: translateX(-200px);
|
20
|
+
transition: all 200ms 100ms cubic-bezier(0, 0.6, 0.4, 1);
|
21
|
+
opacity: 0;
|
22
|
+
z-index: 19;
|
23
|
+
|
24
|
+
.search-field {
|
25
|
+
width: 100%;
|
26
|
+
height: rem(40px);
|
27
|
+
line-height: rem(30px);
|
28
|
+
@include mainFont(300);
|
29
|
+
font-size: rem(20px);
|
30
|
+
color: $primaryDark;
|
31
|
+
background-color: $accentDark;
|
32
|
+
border: 0;
|
33
|
+
border-radius: rem(20px);
|
34
|
+
padding: rem(5px) rem(25px);
|
35
|
+
outline: 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
&:focus {
|
39
|
+
outline: 0;
|
40
|
+
}
|
41
|
+
|
42
|
+
&.active {
|
43
|
+
top: 0;
|
44
|
+
transform: translateX(0);
|
45
|
+
opacity: 1;
|
46
|
+
}
|
47
|
+
|
48
|
+
.search-list {
|
49
|
+
position: absolute;
|
50
|
+
width: 100%;
|
51
|
+
@include mainFont(300);
|
52
|
+
display: none;
|
53
|
+
padding: 0 rem(20px);
|
54
|
+
margin: rem(20px) 0;
|
55
|
+
list-style-type: none;
|
56
|
+
|
57
|
+
@include media("<sm") {
|
58
|
+
height: 380px;
|
59
|
+
overflow: scroll;
|
60
|
+
}
|
61
|
+
|
62
|
+
.active & {
|
63
|
+
display: block;
|
64
|
+
}
|
65
|
+
|
66
|
+
.entry-date {
|
67
|
+
float: right;
|
68
|
+
display: none;
|
69
|
+
font-size: rem(14px);
|
70
|
+
|
71
|
+
@include media(">=sm") {
|
72
|
+
display: inline;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.entry-category {
|
77
|
+
text-transform: uppercase;
|
78
|
+
background-color: $themeColor;
|
79
|
+
margin-right: rem(5px);
|
80
|
+
height: rem(20px);
|
81
|
+
border-radius: rem(10px);
|
82
|
+
font-size: rem(12px);
|
83
|
+
padding: rem(2px) rem(8px);
|
84
|
+
color: #ffffff;
|
85
|
+
}
|
86
|
+
|
87
|
+
a {
|
88
|
+
color: $accentDark;
|
89
|
+
text-decoration: none;
|
90
|
+
display: block;
|
91
|
+
padding: rem(15px) 0;
|
92
|
+
width: 100%;
|
93
|
+
border-bottom: 1px solid darken($accentDark, 80%);
|
94
|
+
transition: all 0.3s;
|
95
|
+
line-height: rem(25px);
|
96
|
+
|
97
|
+
&:hover {
|
98
|
+
color: $themeColor;
|
99
|
+
.entry-category {
|
100
|
+
color: #ffffff;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
.icon-remove-sign {
|
107
|
+
position: absolute;
|
108
|
+
top: 0;
|
109
|
+
right: 0;
|
110
|
+
display: block;
|
111
|
+
width: rem(26px);
|
112
|
+
height: rem(26px);
|
113
|
+
padding: rem(5px);
|
114
|
+
fill: $accentDark;
|
115
|
+
background-color: $themeColor;
|
116
|
+
border-radius: 13px;
|
117
|
+
margin: rem(7px);
|
118
|
+
cursor: pointer;
|
119
|
+
outline: 0;
|
120
|
+
z-index: 1;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.search-overlay {
|
125
|
+
overflow: hidden;
|
126
|
+
|
127
|
+
&:after {
|
128
|
+
position: fixed;
|
129
|
+
top: 0;
|
130
|
+
left: 0;
|
131
|
+
width: 100%;
|
132
|
+
height: 100%;
|
133
|
+
min-height: 100%;
|
134
|
+
background-color: $primaryDark;
|
135
|
+
content: "";
|
136
|
+
z-index: 18;
|
137
|
+
}
|
138
|
+
}
|
data/_sass/_share.scss
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
.share {
|
2
|
+
@include center(800px);
|
3
|
+
text-align: center;
|
4
|
+
border-top: 1px solid $lightGray;
|
5
|
+
padding-top: rem(20px);
|
6
|
+
margin-top: rem(10px);
|
7
|
+
|
8
|
+
@include media(">=sm") {
|
9
|
+
margin-top: rem(50px);
|
10
|
+
}
|
11
|
+
|
12
|
+
article & {
|
13
|
+
border-top: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
svg {
|
17
|
+
margin: rem(15px);
|
18
|
+
@include size(35, 35);
|
19
|
+
}
|
20
|
+
|
21
|
+
a {
|
22
|
+
text-decoration: none;
|
23
|
+
border: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
.icon {
|
27
|
+
transition: all 0.3s;
|
28
|
+
}
|
29
|
+
|
30
|
+
.icon-twitter:hover {
|
31
|
+
fill: #1da1f3;
|
32
|
+
}
|
33
|
+
|
34
|
+
.icon-facebook:hover {
|
35
|
+
fill: #3b5998;
|
36
|
+
}
|
37
|
+
}
|
data/_sass/_staff.scss
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
.staff {
|
2
|
+
@include media(">=sm") {
|
3
|
+
@include center(rem(800px));
|
4
|
+
}
|
5
|
+
|
6
|
+
.item:not(:last-child) {
|
7
|
+
border-bottom: 1px solid $lightGray;
|
8
|
+
}
|
9
|
+
|
10
|
+
img {
|
11
|
+
width: rem(150px);
|
12
|
+
margin: 0 rem(20px) rem(20px);
|
13
|
+
|
14
|
+
@include media(">=sm") {
|
15
|
+
width: rem(200px);
|
16
|
+
margin-bottom: rem(30px);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
h1,
|
21
|
+
h2,
|
22
|
+
h3 {
|
23
|
+
margin-bottom: rem(10px);
|
24
|
+
|
25
|
+
&.name {
|
26
|
+
padding-top: rem(10px);
|
27
|
+
}
|
28
|
+
|
29
|
+
&.position {
|
30
|
+
font-size: rem(19px);
|
31
|
+
font-weight: normal;
|
32
|
+
font-style: italic;
|
33
|
+
color: #999;
|
34
|
+
padding-top: 0;
|
35
|
+
margin-bottom: rem(20px);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
data/_sass/_theme.scss
ADDED
data/_sass/_typo.scss
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Set up here the general appearance of the theme.
|
3
|
+
*/
|
4
|
+
|
5
|
+
$themeColor: map-get($theme, themeColor) !default;
|
6
|
+
$primaryDark: map-get($theme, primaryDark) !default;
|
7
|
+
$accentDark: map-get($theme, accentDark) !default;
|
8
|
+
$lightGray: map-get($theme, lightGray) !default;
|
9
|
+
$texts: map-get($theme, texts) !default;
|
10
|
+
|
11
|
+
// Breakpoints
|
12
|
+
$breakpoints: (
|
13
|
+
sm: 37.5rem
|
14
|
+
);
|
15
|
+
|
16
|
+
// Margins
|
17
|
+
$rowMargin: 10px;
|
18
|
+
$itemMargin: 15px;
|
19
|
+
|
20
|
+
// Sizes
|
21
|
+
$itemMinWidth: 300px;
|
22
|
+
|
23
|
+
// Settings
|
24
|
+
$maxItemsPerRow: 6;
|
data/_sass/jekflix.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import "main";
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
@import "include-media";
|
2
|
+
@import "normalize";
|
3
|
+
@import "theme";
|
4
|
+
@import "variables";
|
5
|
+
@import "functions";
|
6
|
+
@import "mixins";
|
7
|
+
@import "typo";
|
8
|
+
@import "animations";
|
9
|
+
@import "icons";
|
10
|
+
@import "menu";
|
11
|
+
@import "hero";
|
12
|
+
@import "search";
|
13
|
+
@import "elements";
|
14
|
+
@import "header";
|
15
|
+
@import "home";
|
16
|
+
@import "post";
|
17
|
+
@import "pagination";
|
18
|
+
@import "share";
|
19
|
+
@import "highlight";
|
20
|
+
@import "form";
|
21
|
+
@import "author";
|
22
|
+
@import "staff";
|
23
|
+
@import "modal";
|
24
|
+
@import "footer";
|
25
|
+
@import "no-js";
|
data/_sass/preview.scss
ADDED
@@ -0,0 +1,310 @@
|
|
1
|
+
@import "include-media";
|
2
|
+
@import "normalize";
|
3
|
+
@import "theme";
|
4
|
+
@import "variables";
|
5
|
+
@import "functions";
|
6
|
+
@import "mixins";
|
7
|
+
@import "typo";
|
8
|
+
@import "highlight";
|
9
|
+
|
10
|
+
body {
|
11
|
+
overflow-x: auto;
|
12
|
+
|
13
|
+
@include media(">=sm") {
|
14
|
+
padding: rem(50px) rem(30px);
|
15
|
+
}
|
16
|
+
|
17
|
+
img {
|
18
|
+
max-width: 100%;
|
19
|
+
margin: 0 auto rem(20px);
|
20
|
+
display: block;
|
21
|
+
padding: 10px 0;
|
22
|
+
|
23
|
+
@include media(">=sm") {
|
24
|
+
margin: 0 auto rem(29px);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
figure {
|
29
|
+
margin: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
figcaption,
|
33
|
+
img + em {
|
34
|
+
display: block;
|
35
|
+
color: darken($lightGray, 30%);
|
36
|
+
text-align: center;
|
37
|
+
@include mainFont(300);
|
38
|
+
}
|
39
|
+
|
40
|
+
p,
|
41
|
+
h1,
|
42
|
+
h2,
|
43
|
+
h3,
|
44
|
+
h4,
|
45
|
+
h5,
|
46
|
+
h6,
|
47
|
+
ul,
|
48
|
+
ol,
|
49
|
+
iframe,
|
50
|
+
div[class^="css"] {
|
51
|
+
@include center(rem(800px));
|
52
|
+
@include mainFont(400);
|
53
|
+
font-size: rem(17px);
|
54
|
+
line-height: rem(30px);
|
55
|
+
letter-spacing: 0.05rem;
|
56
|
+
padding: 0 rem(20px);
|
57
|
+
margin: 0 auto rem(20px);
|
58
|
+
|
59
|
+
@include media(">=sm") {
|
60
|
+
font-size: rem(20px);
|
61
|
+
line-height: rem(40px);
|
62
|
+
margin: 0 auto rem(29px);
|
63
|
+
padding: 0;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
h1.post-title {
|
68
|
+
margin: 0 auto;
|
69
|
+
line-height: rem(40px);
|
70
|
+
@include media(">=sm") {
|
71
|
+
line-height: rem(60px);
|
72
|
+
margin: 0 auto rem(10px);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
p.post-subtitle {
|
77
|
+
color: darken($lightGray, 30%);
|
78
|
+
font-size: rem(17px);
|
79
|
+
margin: 0 auto rem(10px);
|
80
|
+
line-height: rem(30px);
|
81
|
+
|
82
|
+
@include media(">=sm") {
|
83
|
+
font-size: rem(20px);
|
84
|
+
line-height: rem(40px);
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
img.post-cover {
|
89
|
+
margin-bottom: rem(20px);
|
90
|
+
@include media(">=sm") {
|
91
|
+
margin-bottom: rem(29px);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
p.post-info {
|
96
|
+
@include mainFont(300);
|
97
|
+
font-size: rem(13px);
|
98
|
+
letter-spacing: 0;
|
99
|
+
color: darken($lightGray, 30%);
|
100
|
+
margin: 0 auto;
|
101
|
+
|
102
|
+
@include media(">=sm") {
|
103
|
+
font-size: rem(16px);
|
104
|
+
}
|
105
|
+
|
106
|
+
span,
|
107
|
+
time {
|
108
|
+
vertical-align: middle;
|
109
|
+
}
|
110
|
+
|
111
|
+
time {
|
112
|
+
margin-right: rem(10px);
|
113
|
+
|
114
|
+
@include media(">=sm") {
|
115
|
+
margin-right: rem(30px);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
svg {
|
120
|
+
width: rem(15px);
|
121
|
+
height: rem(15px);
|
122
|
+
fill: darken($lightGray, 30%);
|
123
|
+
vertical-align: middle;
|
124
|
+
margin-right: rem(5px);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
li {
|
129
|
+
padding: rem(10px) 0;
|
130
|
+
ul {
|
131
|
+
margin-bottom: 0;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
p,
|
136
|
+
li {
|
137
|
+
color: $texts;
|
138
|
+
code {
|
139
|
+
font-size: rem(15px);
|
140
|
+
color: #bf616a;
|
141
|
+
word-wrap: break-word;
|
142
|
+
background: $lightGray;
|
143
|
+
padding: rem(3px) rem(5px);
|
144
|
+
border-radius: 3px;
|
145
|
+
@include media(">=sm") {
|
146
|
+
font-size: rem(17px);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
a {
|
152
|
+
color: #0000ee;
|
153
|
+
text-decoration: none;
|
154
|
+
}
|
155
|
+
|
156
|
+
iframe {
|
157
|
+
margin-top: rem(30px);
|
158
|
+
width: 100%;
|
159
|
+
}
|
160
|
+
|
161
|
+
h1,
|
162
|
+
h2,
|
163
|
+
h3,
|
164
|
+
h4,
|
165
|
+
h5,
|
166
|
+
h6 {
|
167
|
+
@include mainFont(700);
|
168
|
+
}
|
169
|
+
|
170
|
+
h1 {
|
171
|
+
font-size: rem(32px);
|
172
|
+
line-height: 1.4;
|
173
|
+
|
174
|
+
@include media(">=sm") {
|
175
|
+
font-size: rem(47px);
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
h2 {
|
180
|
+
font-size: rem(24px);
|
181
|
+
line-height: 1.4;
|
182
|
+
@include media(">=sm") {
|
183
|
+
font-size: rem(37px);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
h3 {
|
188
|
+
font-size: rem(20px);
|
189
|
+
line-height: 1.4;
|
190
|
+
@include media(">=sm") {
|
191
|
+
font-size: rem(27px);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
ul,
|
196
|
+
ol {
|
197
|
+
padding-left: rem(40px);
|
198
|
+
}
|
199
|
+
|
200
|
+
ul.post-list {
|
201
|
+
padding: 0;
|
202
|
+
|
203
|
+
@include media("<sm") {
|
204
|
+
padding: 0 rem(20px);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
blockquote {
|
209
|
+
@include center(rem(730px));
|
210
|
+
border-left: rem(5px) solid $texts;
|
211
|
+
padding: 0 rem(10px);
|
212
|
+
margin: rem(30px) auto;
|
213
|
+
width: 90%;
|
214
|
+
|
215
|
+
@include media(">=sm") {
|
216
|
+
width: 100%;
|
217
|
+
margin: rem(50px) auto;
|
218
|
+
padding: 0 rem(30px);
|
219
|
+
}
|
220
|
+
|
221
|
+
p {
|
222
|
+
font-size: rem(17px);
|
223
|
+
color: rgba(0, 0, 0, 0.6);
|
224
|
+
margin: 0;
|
225
|
+
|
226
|
+
@include media(">=sm") {
|
227
|
+
font-size: rem(20px);
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
hr {
|
233
|
+
@include center(rem(760px));
|
234
|
+
border: 1px solid $lightGray;
|
235
|
+
margin: 50px auto;
|
236
|
+
}
|
237
|
+
|
238
|
+
hr.page-divider {
|
239
|
+
@include center(rem(760px));
|
240
|
+
border: 0;
|
241
|
+
margin: 50px auto;
|
242
|
+
position: relative;
|
243
|
+
height: rem(54px);
|
244
|
+
|
245
|
+
&:after {
|
246
|
+
display: block;
|
247
|
+
content: "Page divider";
|
248
|
+
padding: rem(5px) rem(10px);
|
249
|
+
border: 2px solid $themeColor;
|
250
|
+
border-radius: rem(5px);
|
251
|
+
font-size: rem(14px);
|
252
|
+
font-weight: bold;
|
253
|
+
color: $themeColor;
|
254
|
+
text-align: center;
|
255
|
+
text-transform: uppercase;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
|
259
|
+
pre {
|
260
|
+
overflow-x: auto;
|
261
|
+
position: relative;
|
262
|
+
|
263
|
+
&:before {
|
264
|
+
display: inline-block;
|
265
|
+
content: "In the website, the code will be highlighted.";
|
266
|
+
position: absolute;
|
267
|
+
top: 0;
|
268
|
+
left: 0;
|
269
|
+
padding: 0 rem(15px);
|
270
|
+
@include mainFont(400);
|
271
|
+
font-size: rem(14px);
|
272
|
+
background-color: $themeColor;
|
273
|
+
color: #fff;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
table {
|
278
|
+
@include mainFont(400);
|
279
|
+
font-size: rem(17px);
|
280
|
+
line-height: rem(35px);
|
281
|
+
letter-spacing: 0.05rem;
|
282
|
+
margin: rem(50px) auto;
|
283
|
+
|
284
|
+
@include media(">=sm") {
|
285
|
+
font-size: rem(20px);
|
286
|
+
}
|
287
|
+
|
288
|
+
th,
|
289
|
+
td {
|
290
|
+
border: rem(1px) solid #ccc;
|
291
|
+
padding: rem(5px) rem(10px);
|
292
|
+
|
293
|
+
@include media(">=sm") {
|
294
|
+
border: rem(2px) solid #ccc;
|
295
|
+
padding: rem(10px) rem(20px);
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
td > pre {
|
301
|
+
padding: 0;
|
302
|
+
margin: 0;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
// Helpers
|
307
|
+
|
308
|
+
.img-rounded {
|
309
|
+
border-radius: 50%;
|
310
|
+
}
|