jekyll-theme-tallneck 0.1.2 → 0.2.2

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -34
  3. data/_includes/footer.html +10 -23
  4. data/_includes/head.html +44 -11
  5. data/_includes/header.html +13 -11
  6. data/_includes/post-card.html +18 -0
  7. data/_includes/post-preview.html +15 -0
  8. data/_layouts/404.html +12 -2
  9. data/_layouts/about.html +109 -0
  10. data/_layouts/base.html +8 -7
  11. data/_layouts/feed.html +12 -5
  12. data/_layouts/home.html +20 -6
  13. data/_layouts/post.html +15 -18
  14. data/_sass/custom_layout.scss +1 -0
  15. data/_sass/custom_variables.scss +1 -0
  16. data/_sass/dark_code.scss +195 -0
  17. data/_sass/light_code.scss +205 -0
  18. data/_sass/tallneck/base.scss +160 -0
  19. data/_sass/tallneck/components/about.scss +69 -0
  20. data/_sass/tallneck/components/post-card.scss +87 -0
  21. data/_sass/tallneck/components/post-preview.scss +51 -0
  22. data/_sass/tallneck/components/post.scss +55 -0
  23. data/_sass/tallneck/components.scss +1 -0
  24. data/_sass/tallneck/font.scss +39 -0
  25. data/_sass/tallneck/footer.scss +57 -0
  26. data/_sass/tallneck/header.scss +90 -0
  27. data/_sass/tallneck/layout.scss +51 -0
  28. data/_sass/tallneck/variables.scss +82 -0
  29. data/_sass/tallneck.scss +10 -0
  30. data/assets/css/code.scss +6 -0
  31. data/assets/css/print.css +16 -0
  32. data/assets/css/style.scss +6 -0
  33. data/assets/font/opensans/opensans-bold.ttf +0 -0
  34. data/assets/font/opensans/opensans-bold.woff +0 -0
  35. data/assets/font/opensans/opensans-bold.woff2 +0 -0
  36. data/assets/font/opensans/opensans-italic.ttf +0 -0
  37. data/assets/font/opensans/opensans-italic.woff +0 -0
  38. data/assets/font/opensans/opensans-italic.woff2 +0 -0
  39. data/assets/font/opensans/opensans.ttf +0 -0
  40. data/assets/font/opensans/opensans.woff +0 -0
  41. data/assets/font/opensans/opensans.woff2 +0 -0
  42. data/assets/icon/discord.svg +5 -0
  43. data/assets/icon/github.svg +5 -0
  44. data/assets/icon/gitlab.svg +5 -0
  45. data/assets/icon/instagram.svg +5 -0
  46. data/assets/icon/linkedin.svg +5 -0
  47. data/assets/icon/mail.svg +5 -0
  48. data/assets/icon/reddit.svg +5 -0
  49. data/assets/icon/telegram.svg +5 -0
  50. data/assets/icon/threads.svg +5 -0
  51. data/assets/icon/x.svg +5 -0
  52. data/assets/image/about.webp +0 -0
  53. data/assets/image/default.webp +0 -0
  54. data/assets/image/favicon.ico +0 -0
  55. data/assets/image/favicon.svg +13 -0
  56. data/assets/image/logo.svg +4 -0
  57. data/assets/image/pwa_icon.svg +15 -0
  58. data/assets/image/pwa_icon_x128.png +0 -0
  59. data/assets/image/pwa_icon_x512.png +0 -0
  60. data/assets/image/pwa_icon_x96.png +0 -0
  61. data/assets/sitemanifest.json +49 -0
  62. metadata +73 -38
  63. data/_includes/article-preview.html +0 -20
  64. data/_layouts/400.html +0 -7
  65. data/_layouts/500.html +0 -6
  66. data/_layouts/page.html +0 -11
  67. data/assets/css/style.css +0 -382
  68. data/assets/font/roboto.eot +0 -0
  69. data/assets/font/roboto.svg +0 -367
  70. data/assets/images/banner.png +0 -0
  71. /data/{LICENSE.txt → LICENSE} +0 -0
  72. /data/assets/font/{roboto.ttf → roboto/roboto.ttf} +0 -0
  73. /data/assets/font/{roboto.woff → roboto/roboto.woff} +0 -0
  74. /data/assets/font/{roboto.woff2 → roboto/roboto.woff2} +0 -0
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "Tallneck preview",
3
+ "short_name": "Tallneck",
4
+ "lang": "en",
5
+ "description": "Preview for the theme Tallneck for Jeckyll.",
6
+ "categories": ["personalization", "utilities", "medical"],
7
+ "start_url": "/",
8
+ "icons": [
9
+ {
10
+ "src": "/assets/image/pwa_icon.svg",
11
+ "sizes": "any",
12
+ "type": "image/svg+xml",
13
+ "purpose": "any"
14
+ },
15
+ {
16
+ "src": "/assets/image/logo.svg",
17
+ "sizes": "any",
18
+ "type": "image/svg+xml",
19
+ "purpose": "monochrome"
20
+ },
21
+ {
22
+ "src": "/assets/image/pwa_icon.svg",
23
+ "sizes": "any",
24
+ "type": "image/svg+xml",
25
+ "purpose": "maskable"
26
+ },
27
+ {
28
+ "src": "/assets/image/pwa_icon_x96.png",
29
+ "sizes": "96x96",
30
+ "type": "image/png",
31
+ "purpose": "maskable"
32
+ },
33
+ {
34
+ "src": "/assets/image/pwa_icon_x128.png",
35
+ "sizes": "128x128",
36
+ "type": "image/png",
37
+ "purpose": "maskable"
38
+ },
39
+ {
40
+ "src": "/assets/image/pwa_icon_x512.png",
41
+ "sizes": "512x512",
42
+ "type": "image/png",
43
+ "purpose": "maskable"
44
+ }
45
+ ],
46
+ "theme_color": "#282828",
47
+ "background_color": "#282828",
48
+ "display": "standalone"
49
+ }
metadata CHANGED
@@ -1,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-tallneck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-19 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.3'
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '4.3'
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
- name: jekyll-seo-tag
34
+ name: jekyll-feed
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '2.8'
39
+ version: '0.17'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '2.8'
46
+ version: '0.17'
41
47
  - !ruby/object:Gem::Dependency
42
- name: jekyll-toc
48
+ name: jekyll-seo-tag
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.18'
53
+ version: '2.8'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.18'
60
+ version: '2.8'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: jekyll-sitemap
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +86,6 @@ dependencies:
80
86
  - - ">="
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
89
  description:
98
90
  email:
99
91
  - john.toniutti@gmail.com
@@ -101,27 +93,70 @@ executables: []
101
93
  extensions: []
102
94
  extra_rdoc_files: []
103
95
  files:
104
- - LICENSE.txt
96
+ - LICENSE
105
97
  - README.md
106
- - _includes/article-preview.html
107
98
  - _includes/footer.html
108
99
  - _includes/head.html
109
100
  - _includes/header.html
110
- - _layouts/400.html
101
+ - _includes/post-card.html
102
+ - _includes/post-preview.html
111
103
  - _layouts/404.html
112
- - _layouts/500.html
104
+ - _layouts/about.html
113
105
  - _layouts/base.html
114
106
  - _layouts/feed.html
115
107
  - _layouts/home.html
116
- - _layouts/page.html
117
108
  - _layouts/post.html
118
- - assets/css/style.css
119
- - assets/font/roboto.eot
120
- - assets/font/roboto.svg
121
- - assets/font/roboto.ttf
122
- - assets/font/roboto.woff
123
- - assets/font/roboto.woff2
124
- - assets/images/banner.png
109
+ - _sass/custom_layout.scss
110
+ - _sass/custom_variables.scss
111
+ - _sass/dark_code.scss
112
+ - _sass/light_code.scss
113
+ - _sass/tallneck.scss
114
+ - _sass/tallneck/base.scss
115
+ - _sass/tallneck/components.scss
116
+ - _sass/tallneck/components/about.scss
117
+ - _sass/tallneck/components/post-card.scss
118
+ - _sass/tallneck/components/post-preview.scss
119
+ - _sass/tallneck/components/post.scss
120
+ - _sass/tallneck/font.scss
121
+ - _sass/tallneck/footer.scss
122
+ - _sass/tallneck/header.scss
123
+ - _sass/tallneck/layout.scss
124
+ - _sass/tallneck/variables.scss
125
+ - assets/css/code.scss
126
+ - assets/css/print.css
127
+ - assets/css/style.scss
128
+ - assets/font/opensans/opensans-bold.ttf
129
+ - assets/font/opensans/opensans-bold.woff
130
+ - assets/font/opensans/opensans-bold.woff2
131
+ - assets/font/opensans/opensans-italic.ttf
132
+ - assets/font/opensans/opensans-italic.woff
133
+ - assets/font/opensans/opensans-italic.woff2
134
+ - assets/font/opensans/opensans.ttf
135
+ - assets/font/opensans/opensans.woff
136
+ - assets/font/opensans/opensans.woff2
137
+ - assets/font/roboto/roboto.ttf
138
+ - assets/font/roboto/roboto.woff
139
+ - assets/font/roboto/roboto.woff2
140
+ - assets/icon/discord.svg
141
+ - assets/icon/github.svg
142
+ - assets/icon/gitlab.svg
143
+ - assets/icon/instagram.svg
144
+ - assets/icon/linkedin.svg
145
+ - assets/icon/mail.svg
146
+ - assets/icon/reddit.svg
147
+ - assets/icon/telegram.svg
148
+ - assets/icon/threads.svg
149
+ - assets/icon/x.svg
150
+ - assets/image/about.webp
151
+ - assets/image/default.webp
152
+ - assets/image/favicon.ico
153
+ - assets/image/favicon.svg
154
+ - assets/image/logo.svg
155
+ - assets/image/pwa_icon.svg
156
+ - assets/image/pwa_icon_x128.png
157
+ - assets/image/pwa_icon_x512.png
158
+ - assets/image/pwa_icon_x96.png
159
+ - assets/sitemanifest.json
125
160
  homepage: https://github.com/jotonedev/jekyll-theme-tallneck
126
161
  licenses:
127
162
  - MIT
@@ -1,20 +0,0 @@
1
- <a class="post-preview__box" href="{{ include.url | relative_url }}">
2
- <div class="post-preview__box__image">
3
- {% if include.image %}
4
- <img src="{{ include.image | relative_url }}" alt="{{ include.alt }}">
5
- {% else %}
6
- <img src="{{ '/assets/images/banner.png' | relative_url }}" alt="Website logo">
7
- {% endif %}
8
- </div>
9
- <div class="post-preview__box__content">
10
- <h2 class="post-preview__box__content__title">{{ include.title }}</h2>
11
- {% if include.date %}
12
- <small class="post-preview__box__content__date">{{ include.date | date: "%-d %B %Y" }}</small>
13
- {% endif %}
14
- {% if include.author %}
15
- &nbsp;&nbsp;|&nbsp;&nbsp;
16
- <span class="post-preview__box__content__author">{{ include.author }}</span>
17
- {% endif %}
18
- <p class="post-preview__box__content__description">{{ include.subtitle }}</p>
19
- </div>
20
- </a>
data/_layouts/400.html DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- layout: page
3
- title: 400
4
-
5
- ---
6
-
7
- Bad request
data/_layouts/500.html DELETED
@@ -1,6 +0,0 @@
1
- ---
2
- layout: page
3
- title: 500
4
- ---
5
-
6
- Server error
data/_layouts/page.html DELETED
@@ -1,11 +0,0 @@
1
- ---
2
- layout: base
3
- ---
4
-
5
- <div id="content" class="container content">
6
- <h1>{{ page.title }}</h1>
7
- {%- if page.subtitle -%}
8
- <p class="subtitle">{{ page.subtitle }}</p>
9
- {%- endif -%}
10
- {{ content }}
11
- </div>
data/assets/css/style.css DELETED
@@ -1,382 +0,0 @@
1
- /*
2
- Font
3
- */
4
-
5
- @font-face {
6
- font-family: 'Roboto';
7
- font-style: normal;
8
- font-weight: 400;
9
- src: url('../font/roboto.eot');
10
- /* IE9 Compat Modes */
11
- src: local(''),
12
- /* IE6-IE8 */ url('../font/roboto.eot?#iefix') format('embedded-opentype'),
13
- /* Super Modern Browsers */ url('../font/roboto.woff2') format('woff2'),
14
- /* Modern Browsers */ url('../font/roboto.woff') format('woff'),
15
- /* Safari, Android, iOS */ url('../font/roboto.ttf') format('truetype'),
16
- /* Legacy iOS */ url('../font/roboto.svg#Roboto') format('svg');
17
- font-display: swap;
18
- }
19
-
20
-
21
- /*
22
- General
23
- */
24
-
25
- html {
26
- font-family: 'Roboto', sans-serif;
27
- font-size: 100%;
28
- min-width: 270px;
29
- }
30
-
31
- body {
32
- margin: 0;
33
- box-sizing: border-box;
34
- }
35
-
36
- h1 {
37
- font-size: 3rem;
38
- text-align: center;
39
- }
40
-
41
- h2 {
42
- font-size: 2rem;
43
- margin-block-end: 0.5em;
44
- }
45
-
46
- h3 {
47
- font-size: 1.3rem;
48
- margin-block-start: 0.5em;
49
- margin-block-end: 0.5em;
50
- }
51
-
52
- h4 {
53
- margin-block-start: 0.5em;
54
- margin-block-end: 0.5em;
55
- }
56
-
57
- h5 {
58
- margin-block-start: 0.5em;
59
- margin-block-end: 0.5em;
60
- }
61
-
62
- small {
63
- font-size: small;
64
- }
65
-
66
- a {
67
- text-decoration: none;
68
- color: #000;
69
- word-break: break-all;
70
- }
71
-
72
- a:hover {
73
- color: #000000aa;
74
- }
75
-
76
- p {
77
- margin-block-start: 0.5em;
78
- margin-block-end: 0.5em;
79
- }
80
-
81
- ul {
82
- margin-block-start: 0.4em;
83
- margin-block-end: 0.6em;
84
- }
85
-
86
- ul li {
87
- margin-block-start: 0.2em;
88
- margin-block-end: 0.2em;
89
- }
90
-
91
- @media (prefers-color-scheme: dark) {
92
- a {
93
- color: #fff;
94
- text-decoration: none;
95
- }
96
-
97
- a:hover {
98
- color: #ffffffaa;
99
- }
100
-
101
- html {
102
- background-color: #121212;
103
- color: #fefefe;
104
- }
105
- }
106
-
107
- @media print {
108
- .no_print, .no_print * {
109
- display: none !important;
110
- }
111
- }
112
-
113
- img {
114
- max-width: 100%;
115
- max-height: 100%;
116
- }
117
-
118
- img[src*='#center'] {
119
- display: block;
120
- margin: auto;
121
- }
122
-
123
- /*
124
- Header
125
- */
126
-
127
- header {
128
- max-height: 2em;
129
- font-size: 1.1rem;
130
-
131
- position: relative !important;
132
- display: flex;
133
- flex-direction: row;
134
- justify-content: space-between;
135
- align-items: center;
136
- padding: 1.0rem 1.5rem;
137
-
138
- background-color: #1d1d1d;
139
- }
140
-
141
- header nav {
142
- float: right;
143
- }
144
-
145
- header nav ul {
146
- padding-inline-start: 0;
147
- display: flex;
148
- flex-direction: row;
149
- }
150
-
151
- header nav ul li {
152
- display: inline-block;
153
- width: 4em;
154
- text-align: center;
155
- padding-right: 0.4em;
156
- padding-left: 0.4em;
157
- }
158
-
159
- header nav ul li a {
160
- width: 100%;
161
- display: block;
162
- color: #fefefe;
163
- }
164
-
165
- header nav ul li a:hover {
166
- color: #cacaca;
167
- }
168
-
169
- .header__logo {
170
- float: left;
171
- vertical-align: middle;
172
- height: fit-content;
173
- width: fit-content;
174
- }
175
-
176
-
177
- .header__logo__img {
178
- -webkit-filter: brightness(100%);
179
- filter: brightness(100%);
180
- }
181
-
182
- .header__logo__img:hover {
183
- -webkit-filter: brightness(70%);
184
- filter: brightness(70%);
185
- -webkit-transition: all 1s ease;
186
- -moz-transition: all 1s ease;
187
- -o-transition: all 1s ease;
188
- -ms-transition: all 1s ease;
189
- transition: all 1s ease;
190
- }
191
-
192
- /*
193
- Content
194
- */
195
-
196
- .container {
197
- position: relative;
198
- max-width: 900px;
199
- margin: auto;
200
- padding: 0 1.5rem;
201
- }
202
-
203
- .content {
204
- margin: 0 auto;
205
- padding: 1.5rem;
206
- }
207
-
208
- .content__info {
209
- opacity: 0.7; /* Adjust as needed, 1 is fully opaque, 0 is fully transparent */
210
- font-size: 0.8em; /* Adjust as needed, 1em is the current font size */
211
- }
212
-
213
- .subtitle {
214
- font-size: 1.2rem;
215
- margin-bottom: 0.5rem;
216
- }
217
-
218
- .center {
219
- text-align: center;
220
- }
221
-
222
- /*
223
- Post preview
224
- */
225
- .post-preview {
226
- width: 90%;
227
- margin: auto;
228
- }
229
-
230
- .post-preview__box {
231
- display: flex;
232
- flex-direction: row;
233
- justify-content: space-between;
234
- align-items: center;
235
- padding: 0 1rem 0 0;
236
- margin: 0.5rem;
237
- border: 2px solid #00000050;
238
- border-radius: 0.5rem;
239
- transition: all 0.2s ease-in-out;
240
- max-height: 10rem;
241
- max-width: 100%;
242
- overflow: hidden;
243
- }
244
-
245
- .post-preview__box:hover {
246
- border: 2px solid #00000055;
247
- background-color: #00000011;
248
- }
249
-
250
- @media (prefers-color-scheme: dark) {
251
- .post-preview__box {
252
- border: 2px solid #ffffff50;
253
- }
254
-
255
- .post-preview__box:hover {
256
- border: 2px solid #ffffff55;
257
- background-color: #ffffff11;
258
- }
259
- }
260
-
261
- .post-preview__box__image {
262
- width: 90%;
263
- height: 10rem;
264
- overflow: hidden;
265
- }
266
-
267
- .post-preview__box__image img {
268
- width: 100%;
269
- height: 100%;
270
- object-fit: cover;
271
- }
272
-
273
- @media (max-width: 870px) {
274
- .post-preview__box__image {
275
- display: none;
276
- }
277
-
278
- .post-preview__box__content__title {
279
- margin-bottom: 0.2em;
280
- margin-top: 0.2em;
281
- font-size: 1.5rem;
282
- }
283
- }
284
-
285
-
286
- @media (max-width: 350px) {
287
- .post-preview__box__image {
288
- display: none;
289
- }
290
-
291
- .post-preview__box__content__title {
292
- margin-bottom: 0.2em;
293
- margin-top: 0.2em;
294
- font-size: 1.2rem;
295
- }
296
- }
297
-
298
- .post-preview__box__content {
299
- width: 100%;
300
- padding-left: 0.5rem;
301
- padding-top: 0.5rem;
302
- padding-bottom: 0.5rem;
303
- }
304
-
305
- .post-preview__box__content__title {
306
- margin-bottom: 0.2em;
307
- margin-top: 0.2em;
308
- }
309
-
310
- .post-preview__box__content__date {
311
- font-size: 0.8rem;
312
- opacity: 0.7;
313
- }
314
-
315
- .post-preview__box__content__author {
316
- font-size: 0.8rem;
317
- opacity: 0.7;
318
- }
319
-
320
- .post-preview__box__content__description {
321
- font-size: 0.9rem;
322
- opacity: 0.8;
323
- }
324
-
325
-
326
- /*
327
- Footer
328
- */
329
-
330
- footer {
331
- display: block;
332
- margin: 2.5em auto 0;
333
- font-size: 1.1rem;
334
- }
335
-
336
- footer hr {
337
- width: auto;
338
- margin-left: auto;
339
- margin-right: auto;
340
- border: 0;
341
- border-top: 0.1em solid;
342
- }
343
-
344
- footer nav {
345
- text-align: center;
346
- }
347
-
348
- footer nav ul {
349
- display: flex;
350
- flex-direction: row;
351
- flex-wrap: wrap;
352
- justify-content: center;
353
- margin: auto;
354
- padding-inline-start: 0;
355
- list-style: none;
356
- width: 100%;
357
- }
358
-
359
- footer nav ul li {
360
- display: inline-block;
361
- width: 5em;
362
- text-align: center;
363
- align-items: center;
364
- padding-right: 0.5em;
365
- padding-left: 0.5em;
366
- }
367
-
368
- @media (max-width: 280px) { /* Adjust this value based on when you want the items to wrap */
369
- footer nav ul li {
370
- width: 50%; /* Make each li take up half the width of the ul on small screens */
371
- }
372
- }
373
-
374
- footer nav ul li a {
375
- width: 100%;
376
- display: block;
377
- }
378
-
379
- footer div {
380
- padding-bottom: 0.25em;
381
- padding-top: 0.25em;
382
- }
Binary file