jekyll-mini 1.0.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4837f1422bb75e1a4bbbb185c1fe82ddf5ec85cbb57db3f1d9633dfcda02af9e
4
+ data.tar.gz: 03c6d7c55ada5e73a9912bb286972fbd812319602269c7fb38259b74ff8af486
5
+ SHA512:
6
+ metadata.gz: 7519c54133b46d81826623093e00a2b687bb96c6c7b38eb7a6d5d4e8b6f3efee665009d29fb6217ddc9b4eab3acb4641906f9126a885a7ca7dc73686d67fe60e
7
+ data.tar.gz: d3b5386860337c77edb5eee22fa5f3382f0c8721cd0f2a7247475a689cca79421204f861a62a9b2214c05481c4f82ff3a0b2b198083139e75fc75c60d33d701a
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Kacper Duras
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # jekyll-mini
2
+
3
+ The [Mini](https://github.com/TheAdrik/Mini) website template, rewritten for [Jekyll](https://github.com/jekyll/jekyll) :)
4
+
5
+ ## Demo
6
+ Demo is available [here](https://kacperduras.github.io/jekyll-mini/).
7
+
8
+ ## Installation
9
+
10
+ I recommend using [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme), example configuration:
11
+ ```yaml
12
+ lang: en_US
13
+
14
+ title: Your nickname
15
+ author: Your nickname
16
+ description: "First element  •  Second element"
17
+
18
+ remote_theme: kacperduras/jekyll-mini
19
+
20
+ plugins:
21
+ - "jekyll-seo-tag"
22
+ - "jekyll-remote-theme"
23
+
24
+ socials:
25
+ - name: "Twitter"
26
+ url: "https://twitter.com"
27
+ icon: "fa-twitter"
28
+ - name: "Facebook"
29
+ url: "https://facebook.com"
30
+ icon: "fa-facebook"
31
+ - name: "GitHub"
32
+ url: "https://github.com"
33
+ icon: "fa-github"
34
+ - name: "Telegram"
35
+ url: "https://telegram.com"
36
+ icon: "fa-telegram"
37
+ - name: "Email"
38
+ url: "mailto:mail@example.com"
39
+ icon: "fa-envelope-o"
40
+ ```
41
+
42
+ ## License
43
+ The original template is licensed on [MIT License](https://github.com/TheAdrik/Mini/blob/master/LICENSE), by [Adrian "TheAdrik" Orłów](https://github.com/TheAdrik/).
44
+ This repository is under [MIT License](LICENSE), by [Kacper "kacperduras" Duras](https://github.com/kacperduras/).
@@ -0,0 +1,8 @@
1
+ {% seo %}
2
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
3
+
4
+ <link href="assets/main.css" rel="stylesheet" />
5
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900" rel="stylesheet" />
6
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" />
7
+
8
+ <script src="https://use.fontawesome.com/c8c98e0020.js"></script>
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ {% include head.html %}
6
+ </head>
7
+
8
+ <body>
9
+ {{ content }}
10
+ </body>
11
+
12
+ </html>
data/assets/main.css ADDED
@@ -0,0 +1,343 @@
1
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
2
+ margin: 0;
3
+ padding: 0;
4
+ border: 0;
5
+ font-size: 100%;
6
+ font: inherit;
7
+ vertical-align: baseline;
8
+ }
9
+
10
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
11
+ display: block;
12
+ }
13
+
14
+ body {
15
+ line-height: 1;
16
+ }
17
+
18
+ ol, ul {
19
+ list-style: none;
20
+ }
21
+
22
+ blockquote, q {
23
+ quotes: none;
24
+ }
25
+
26
+ blockquote:before, blockquote:after, q:before, q:after {
27
+ content: '';
28
+ content: none;
29
+ }
30
+
31
+ table {
32
+ border-collapse: collapse;
33
+ border-spacing: 0;
34
+ }
35
+
36
+ body {
37
+ -webkit-text-size-adjust: none;
38
+ }
39
+
40
+ body, input, select, textarea {
41
+ color: #fff;
42
+ font-family: 'Source Sans Pro', sans-serif;
43
+ font-size: 15pt;
44
+ font-weight: 300;
45
+ letter-spacing: -0.025em;
46
+ line-height: 1.75em;
47
+ }
48
+
49
+ body {
50
+ height: 100%;
51
+ background: #fafafa;
52
+ overflow: hidden;
53
+ }
54
+
55
+ a {
56
+ color: #151515;
57
+ font-weight: 700;
58
+ }
59
+
60
+ .icon {
61
+ text-decoration: none;
62
+ position: relative;
63
+ }
64
+
65
+ .icon:before {
66
+ font-family: FontAwesome;
67
+ font-style: normal;
68
+ font-weight: normal;
69
+ text-transform: none !important;
70
+ }
71
+
72
+ .icon > .label {
73
+ display: none;
74
+ }
75
+
76
+ @keyframes wrapper {
77
+ 0% {
78
+ opacity: 0;
79
+ }
80
+
81
+ 100% {
82
+ opacity: 1;
83
+ }
84
+ }
85
+
86
+ #wrapper {
87
+ animation: wrapper 3s forwards;
88
+ height: 100%;
89
+ left: 0;
90
+ opacity: 0;
91
+ position: fixed;
92
+ top: 0;
93
+ width: 100%;
94
+ }
95
+
96
+ #main {
97
+ color: #333;
98
+ height: 100%;
99
+ left: 0;
100
+ position: fixed;
101
+ text-align: center;
102
+ top: 0;
103
+ width: 100%;
104
+ }
105
+
106
+ #main:before {
107
+ content: '';
108
+ display: inline-block;
109
+ height: 100%;
110
+ margin-right: 0;
111
+ vertical-align: middle;
112
+ width: 1px;
113
+ }
114
+
115
+ .mainAnim {
116
+ animation: main 3s;
117
+ }
118
+
119
+ @keyframes main {
120
+ 0% {
121
+ margin-top: 0%
122
+ }
123
+
124
+ 100% {
125
+ margin-top: -100%
126
+ }
127
+ }
128
+
129
+ @keyframes header {
130
+ 0% {
131
+ transform: translate3d(0,1em,0);
132
+ opacity: 0;
133
+ }
134
+
135
+ 100% {
136
+ transform: translate3d(0,0,0);
137
+ opacity: 1;
138
+ }
139
+ }
140
+
141
+ @keyframes nav-icons {
142
+ 0% {
143
+ transform: translate3d(0,1em,0);
144
+ opacity: 0;
145
+ }
146
+
147
+ 100% {
148
+ transform: translate3d(0,0,0);
149
+ opacity: 1;
150
+ }
151
+ }
152
+
153
+ #header {
154
+ animation: header 1s 0.25s forwards;
155
+ backface-visibility: hidden;
156
+ transform: translate3d(0,0,0);
157
+ cursor: default;
158
+ display: inline-block;
159
+ opacity: 0;
160
+ position: relative;
161
+ text-align: center;
162
+ top: -1em;
163
+ vertical-align: middle;
164
+ width: 90%;
165
+ }
166
+
167
+ #header h1 {
168
+ font-size: 4.35em;
169
+ font-weight: 900;
170
+ letter-spacing: -0.035em;
171
+ line-height: 1em;
172
+ }
173
+
174
+ #header h2 {
175
+ margin-top: 1em;
176
+ font-size: 1.25em;
177
+ font-weight: 650;
178
+ }
179
+
180
+ #header a {
181
+ border-bottom: none;
182
+ }
183
+
184
+ #header p {
185
+ font-size: 1.2em;
186
+ margin: 0.75em 0 0.25em 0;
187
+ opacity: 0.75;
188
+ font-family: "Open Sans", "sans-serif";
189
+ }
190
+
191
+ #header nav {
192
+ margin: 1.5em 0 0 0;
193
+ }
194
+
195
+ #header nav li {
196
+ animation: nav-icons 0.5s ease-in-out forwards;
197
+ backface-visibility: hidden;
198
+ transform: translate3d(0,0,0);
199
+ display: inline-block;
200
+ height: 5.35em;
201
+ line-height: 5.885em;
202
+ opacity: 0;
203
+ position: relative;
204
+ top: 0;
205
+ width: 5.35em;
206
+ }
207
+
208
+ #header nav li:nth-child(1) {
209
+ animation-delay: 1.5s;
210
+ }
211
+
212
+ #header nav li:nth-child(2) {
213
+ animation-delay: 1.75s;
214
+ }
215
+
216
+ #header nav li:nth-child(3) {
217
+ animation-delay: 2s;
218
+ }
219
+
220
+ #header nav li:nth-child(4) {
221
+ animation-delay: 2.25s;
222
+ }
223
+
224
+ #header nav li:nth-child(5) {
225
+ animation-delay: 2.5s;
226
+ }
227
+
228
+ #header nav li:nth-child(6) {
229
+ animation-delay: 2.75s;
230
+ }
231
+
232
+ #header nav li:nth-child(7) {
233
+ animation-delay: 3s;
234
+ }
235
+
236
+ #header nav li:nth-child(8) {
237
+ animation-delay: 3.25s;
238
+ }
239
+
240
+ #header nav li:nth-child(9) {
241
+ animation-delay: 3.5s;
242
+ }
243
+
244
+ #header nav li:nth-child(10) {
245
+ animation-delay: 3.75s;
246
+ }
247
+
248
+ #header nav a {
249
+ border: 0;
250
+ border-radius: 1px;
251
+ display: inline-block;
252
+ }
253
+
254
+ #header nav a:before {
255
+ transition: all 0.2s ease-in-out;
256
+ display: block;
257
+ font-size: 1.75em;
258
+ height: 2.5em;
259
+ line-height: 2.5em;
260
+ position: relative;
261
+ text-align: center;
262
+ top: 0;
263
+ width: 2.5em;
264
+ }
265
+
266
+ #header nav a:hover {
267
+ font-size: 1.1em;
268
+ text-decoration: none;
269
+ }
270
+
271
+ #header nav a:hover:before {
272
+ background-color: #333;
273
+ color: #fff;
274
+ }
275
+
276
+ #header nav a:active {
277
+ font-size: 0.95em;
278
+ background: none;
279
+ }
280
+
281
+ #header nav a:active:before {
282
+ background-color: #333;
283
+ color: #fff;
284
+ }
285
+
286
+ #header nav a span {
287
+ display: none;
288
+ }
289
+
290
+ @media screen and (max-width: 1680px) {
291
+
292
+ body, input, select, textarea {
293
+ font-size: 13pt;
294
+ }
295
+
296
+ }
297
+
298
+ @media screen and (max-width: 1280px) {
299
+
300
+ body, input, select, textarea {
301
+ font-size: 12pt;
302
+ }
303
+
304
+ }
305
+
306
+ @media screen and (max-width: 736px) {
307
+
308
+ body {
309
+ min-width: 320px;
310
+ }
311
+
312
+ body, input, select, textarea {
313
+ font-size: 11pt;
314
+ }
315
+
316
+ #header h1 {
317
+ font-size: 3em;
318
+ }
319
+
320
+ #header p {
321
+ font-size: 1em;
322
+ }
323
+
324
+ #header nav {
325
+ font-size: 1em;
326
+ }
327
+
328
+ #header nav a:hover {
329
+ font-size: 1em;
330
+ }
331
+
332
+ #header nav a:active {
333
+ font-size: 1em;
334
+ }
335
+ }
336
+
337
+ @media screen and (max-width: 480px) {
338
+
339
+ #header nav {
340
+ padding: 0 1em;
341
+ }
342
+
343
+ }
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-mini
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Kacper Duras
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.8.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.8.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.4.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '12.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '12.0'
69
+ description:
70
+ email:
71
+ - git@kacperduras.pl
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE
77
+ - README.md
78
+ - _includes/head.html
79
+ - _layouts/default.html
80
+ - assets/main.css
81
+ homepage: https://github.com/kacperduras/jekyll-mini
82
+ licenses:
83
+ - MIT
84
+ metadata: {}
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 2.7.6
102
+ signing_key:
103
+ specification_version: 4
104
+ summary: Minimalistic Jekyll template, for personal sites
105
+ test_files: []