linus 1.2.1 → 1.3.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 +4 -4
- data/_includes/blog/post.html +1 -1
- data/_includes/link-preview.html +10 -10
- data/_layouts/archive.html +1 -1
- data/assets/css/base.css +7 -6
- data/assets/css/layout.css +35 -21
- data/assets/icon.png +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 795481d689cac75a1da74af3d3acfd1c1a78a9610298da2cd033707c8f6658d0
|
|
4
|
+
data.tar.gz: 2bb4aa302b5c6f227dbc262edd98cc36e2ff5c36e2aff87b747f4c4e3d900b1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e73abc7dfdeeed1b4c32d6f9839a7928aa5bb5be57b049edb88571fa24260e6b832da23dc3fb7218692497746fdd7e06beaeb9588d2d0284f2e7897445221f3d
|
|
7
|
+
data.tar.gz: 947d8f5403b5d2607b501c177337e1e1b5c47d83f3bd5f0fb4a6fa2513f676ac19d4738e45f58fe14a80c9c9dc66ca8408d609afd3463e968d4510fb5e306b2d
|
data/_includes/blog/post.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{%- else -%}
|
|
27
27
|
<cite class="post-source-title u-in-reply-to h-cite">
|
|
28
28
|
<a class="post-source u-url p-name" href="{{- include.post.source -}}">
|
|
29
|
-
{{- include.post.source | remove: "https://" | remove: "http://" | prepend: "↪ " -}}
|
|
29
|
+
{{- include.post.source | remove: "https://" | remove: "http://" | split: '/' | first | prepend: "↪ " -}}
|
|
30
30
|
</a>
|
|
31
31
|
</cite>
|
|
32
32
|
{%- endif -%}
|
data/_includes/link-preview.html
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
{%- if include.url -%}
|
|
2
2
|
|
|
3
3
|
{%- assign preview = include.url | metadata -%}
|
|
4
|
-
<blockquote class="link-preview h-cite u-in-reply-to">
|
|
4
|
+
<blockquote class="link-preview h-cite u-in-reply-to highlight">
|
|
5
5
|
<cite class="preview-title p-name">
|
|
6
6
|
<a class="preview-link u-url" href="{{ include.url }}" rel="nofollow">
|
|
7
|
-
{{- preview['og:title'] | default: preview.title | default: include.url }}
|
|
7
|
+
{{- preview['og:title'] | default: preview.title | default: include.url }}
|
|
8
|
+
</a>
|
|
9
|
+
|
|
10
|
+
{% assign preview_domain = include.url | remove: "http://" | remove: "https://" | split: "/" | first | remove: "/" %}
|
|
11
|
+
|
|
12
|
+
<a class="preview-website u-url" href="{{- preview_domain -}}" rel="nofollow">
|
|
13
|
+
↦ {{ preview["og:site_name"] | default: preview_domain }}
|
|
8
14
|
</a>
|
|
9
15
|
</cite>
|
|
10
16
|
<div class="preview-details">
|
|
11
|
-
{%- if preview['article:
|
|
17
|
+
{%- if preview['article:description'] or preview.description -%}
|
|
12
18
|
<span class="preview-author p-author h-card">
|
|
13
|
-
{{ preview['article:
|
|
19
|
+
{{ preview['article:description'] | default: preview.description }}
|
|
14
20
|
</span>
|
|
15
21
|
{%- endif -%}
|
|
16
22
|
|
|
@@ -19,12 +25,6 @@
|
|
|
19
25
|
{{ preview['article:published_time'] | date: site.date_formats.day }}
|
|
20
26
|
</time>
|
|
21
27
|
{%- endif -%}
|
|
22
|
-
|
|
23
|
-
{% assign preview_domain = include.url | remove: "http://" | remove: "https://" | split: "/" | first | remove: "/" %}
|
|
24
|
-
|
|
25
|
-
<a class="preview-website u-url" href="{{- preview_domain -}}" rel="nofollow">
|
|
26
|
-
{{ preview["og:site_name"] | default: preview_domain }}
|
|
27
|
-
</a>
|
|
28
28
|
</div>
|
|
29
29
|
</blockquote>
|
|
30
30
|
{%- endif -%}
|
data/_layouts/archive.html
CHANGED
data/assets/css/base.css
CHANGED
|
@@ -56,7 +56,8 @@ dd + dt {
|
|
|
56
56
|
|
|
57
57
|
a {
|
|
58
58
|
color: var(--color-link);
|
|
59
|
-
text-decoration
|
|
59
|
+
text-decoration: underline;
|
|
60
|
+
text-decoration-color: color-mix(in srgb, currentcolor, transparent 50%);
|
|
60
61
|
transition-property: color, text-decoration-color, text-decoration-style;
|
|
61
62
|
transition-duration: var(--transition-duration);
|
|
62
63
|
transition-timing-function: ease;
|
|
@@ -65,9 +66,7 @@ a {
|
|
|
65
66
|
a:hover,
|
|
66
67
|
a:focus {
|
|
67
68
|
color: var(--color-link-hover);
|
|
68
|
-
text-decoration:
|
|
69
|
-
text-underline-offset: 0.2rem;
|
|
70
|
-
text-decoration-color: color-mix(in srgb, currentcolor, transparent 75%);
|
|
69
|
+
text-decoration-color: currentColor;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
a:active {
|
|
@@ -260,7 +259,8 @@ table {
|
|
|
260
259
|
/* Horizontal rule */
|
|
261
260
|
hr {
|
|
262
261
|
border: none;
|
|
263
|
-
height:
|
|
262
|
+
height: 2px;
|
|
263
|
+
background: var(--color-border);
|
|
264
264
|
width: 100%;
|
|
265
265
|
}
|
|
266
266
|
|
|
@@ -285,8 +285,9 @@ hr {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
pre {
|
|
288
|
-
font-size: 1.2rem;
|
|
289
288
|
padding: calc(var(--spacing) / 2);
|
|
290
289
|
border-radius: .3rem;
|
|
291
290
|
box-shadow: var(--shadow);
|
|
291
|
+
overflow-x: auto;
|
|
292
|
+
font-size: 1.2rem;
|
|
292
293
|
}
|
data/assets/css/layout.css
CHANGED
|
@@ -19,28 +19,28 @@
|
|
|
19
19
|
--content-width: 420px;
|
|
20
20
|
--headings-width: 480px;
|
|
21
21
|
|
|
22
|
-
--color-background: #
|
|
23
|
-
--color-text: #
|
|
24
|
-
--color-link: #
|
|
25
|
-
--color-link-hover: #
|
|
26
|
-
--color-support: #
|
|
22
|
+
--color-background: #FFFCF0;
|
|
23
|
+
--color-text: #1C1B1A;
|
|
24
|
+
--color-link: #DC3C22;
|
|
25
|
+
--color-link-hover: #002FA7;
|
|
26
|
+
--color-support: #6F6E69;
|
|
27
27
|
--color-shadows: color-mix(in srgb, var(--color-text), transparent 85%);
|
|
28
|
-
--color-shadows-hover: color-mix(in srgb, var(--color-text), transparent
|
|
28
|
+
--color-shadows-hover: color-mix(in srgb, var(--color-text), transparent 50%);
|
|
29
29
|
--color-border: color-mix(in srgb, currentcolor, transparent 90%);
|
|
30
30
|
|
|
31
|
-
--shadow:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
--shadow: 5px 5px 0 var(--color-shadows);
|
|
32
|
+
--shadow-hover: 5px 5px 0 var(--color-shadows-hover);
|
|
33
|
+
--shadow-active: 2px 2px 0 var(--color-shadows-hover);
|
|
34
|
+
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@media (prefers-color-scheme: dark) {
|
|
38
38
|
:root {
|
|
39
|
-
--color-background: #
|
|
40
|
-
--color-text: #
|
|
41
|
-
--color-link: #
|
|
42
|
-
--color-link-hover: #
|
|
43
|
-
--color-support: #
|
|
39
|
+
--color-background: #1C1B1A;
|
|
40
|
+
--color-text: #E6E4D9;
|
|
41
|
+
--color-link: #FFC857;
|
|
42
|
+
--color-link-hover: #FFFFFF;
|
|
43
|
+
--color-support: #E8C87A;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -165,6 +165,7 @@ body {
|
|
|
165
165
|
align-items: center;
|
|
166
166
|
gap: calc(var(--spacing) / 2);
|
|
167
167
|
line-height: 100%;
|
|
168
|
+
text-decoration: none;
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
.site-logo {
|
|
@@ -182,6 +183,7 @@ body {
|
|
|
182
183
|
|
|
183
184
|
.site-title {
|
|
184
185
|
display: block;
|
|
186
|
+
margin-block: 0;
|
|
185
187
|
font-size: 2.5rem;
|
|
186
188
|
line-height: 1;
|
|
187
189
|
}
|
|
@@ -217,15 +219,18 @@ body {
|
|
|
217
219
|
text-decoration: none !important;
|
|
218
220
|
transform: scale(1);
|
|
219
221
|
transform-origin: center center;
|
|
220
|
-
transition: transform
|
|
222
|
+
transition-property: transform, box-shadow;
|
|
223
|
+
transition-duration: var(--transition-duration);
|
|
224
|
+
transition-timing-function: ease;
|
|
221
225
|
|
|
222
226
|
&:hover,
|
|
223
227
|
&:focus {
|
|
224
|
-
|
|
228
|
+
box-shadow: 5px 5px 0 var(--color-shadows-hover);
|
|
225
229
|
}
|
|
226
230
|
|
|
227
231
|
&:active {
|
|
228
232
|
transform: scale(0.98);
|
|
233
|
+
box-shadow: var(--shadow-active);
|
|
229
234
|
}
|
|
230
235
|
}
|
|
231
236
|
|
|
@@ -245,6 +250,10 @@ body {
|
|
|
245
250
|
font-family: var(--font-headings);
|
|
246
251
|
}
|
|
247
252
|
|
|
253
|
+
.archive .post {
|
|
254
|
+
margin-bottom: var(--spacing);
|
|
255
|
+
}
|
|
256
|
+
|
|
248
257
|
.blog-pagination {
|
|
249
258
|
display: flex;
|
|
250
259
|
flex-flow: row nowrap;
|
|
@@ -271,6 +280,7 @@ body {
|
|
|
271
280
|
margin-right: calc(var(--spacing) / 4);
|
|
272
281
|
font-family: var(--font-headings);
|
|
273
282
|
color: color-mix(in srgb, var(--color-link), transparent 50%);
|
|
283
|
+
text-decoration: none;
|
|
274
284
|
font-size: 2rem;
|
|
275
285
|
}
|
|
276
286
|
|
|
@@ -284,6 +294,10 @@ body {
|
|
|
284
294
|
margin-block: 0;
|
|
285
295
|
font-family: var(--font-headings);
|
|
286
296
|
font-size: 2rem;
|
|
297
|
+
|
|
298
|
+
a {
|
|
299
|
+
text-decoration: none;
|
|
300
|
+
}
|
|
287
301
|
}
|
|
288
302
|
|
|
289
303
|
.post-header .category {
|
|
@@ -307,10 +321,6 @@ body {
|
|
|
307
321
|
max-width: var(--headings-width);
|
|
308
322
|
}
|
|
309
323
|
|
|
310
|
-
.post-content a {
|
|
311
|
-
text-decoration-color: var(--color-border);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
324
|
/* Post Footer */
|
|
315
325
|
.post-footer {
|
|
316
326
|
max-width: var(--content-width);
|
|
@@ -373,6 +383,10 @@ body {
|
|
|
373
383
|
flex-flow: row wrap;
|
|
374
384
|
gap: 1ch;
|
|
375
385
|
}
|
|
386
|
+
|
|
387
|
+
a {
|
|
388
|
+
text-decoration: none;
|
|
389
|
+
}
|
|
376
390
|
}
|
|
377
391
|
|
|
378
392
|
/*
|
data/assets/icon.png
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arthur Freitas
|
|
@@ -71,14 +71,14 @@ dependencies:
|
|
|
71
71
|
requirements:
|
|
72
72
|
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '2.
|
|
74
|
+
version: '2.9'
|
|
75
75
|
type: :runtime
|
|
76
76
|
prerelease: false
|
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
79
|
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '2.
|
|
81
|
+
version: '2.9'
|
|
82
82
|
- !ruby/object:Gem::Dependency
|
|
83
83
|
name: jekyll-paginate
|
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
173
|
version: '0'
|
|
174
174
|
requirements: []
|
|
175
|
-
rubygems_version:
|
|
175
|
+
rubygems_version: 4.0.9
|
|
176
176
|
specification_version: 4
|
|
177
177
|
summary: A charming Jekyll theme for your blog.
|
|
178
178
|
test_files: []
|