linus 1.2.2 → 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 +5 -5
- data/assets/css/layout.css +34 -21
- data/assets/icon.png +0 -0
- metadata +3 -3
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
|
|
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 {
|
|
@@ -218,15 +219,18 @@ body {
|
|
|
218
219
|
text-decoration: none !important;
|
|
219
220
|
transform: scale(1);
|
|
220
221
|
transform-origin: center center;
|
|
221
|
-
transition: transform
|
|
222
|
+
transition-property: transform, box-shadow;
|
|
223
|
+
transition-duration: var(--transition-duration);
|
|
224
|
+
transition-timing-function: ease;
|
|
222
225
|
|
|
223
226
|
&:hover,
|
|
224
227
|
&:focus {
|
|
225
|
-
|
|
228
|
+
box-shadow: 5px 5px 0 var(--color-shadows-hover);
|
|
226
229
|
}
|
|
227
230
|
|
|
228
231
|
&:active {
|
|
229
232
|
transform: scale(0.98);
|
|
233
|
+
box-shadow: var(--shadow-active);
|
|
230
234
|
}
|
|
231
235
|
}
|
|
232
236
|
|
|
@@ -246,6 +250,10 @@ body {
|
|
|
246
250
|
font-family: var(--font-headings);
|
|
247
251
|
}
|
|
248
252
|
|
|
253
|
+
.archive .post {
|
|
254
|
+
margin-bottom: var(--spacing);
|
|
255
|
+
}
|
|
256
|
+
|
|
249
257
|
.blog-pagination {
|
|
250
258
|
display: flex;
|
|
251
259
|
flex-flow: row nowrap;
|
|
@@ -272,6 +280,7 @@ body {
|
|
|
272
280
|
margin-right: calc(var(--spacing) / 4);
|
|
273
281
|
font-family: var(--font-headings);
|
|
274
282
|
color: color-mix(in srgb, var(--color-link), transparent 50%);
|
|
283
|
+
text-decoration: none;
|
|
275
284
|
font-size: 2rem;
|
|
276
285
|
}
|
|
277
286
|
|
|
@@ -285,6 +294,10 @@ body {
|
|
|
285
294
|
margin-block: 0;
|
|
286
295
|
font-family: var(--font-headings);
|
|
287
296
|
font-size: 2rem;
|
|
297
|
+
|
|
298
|
+
a {
|
|
299
|
+
text-decoration: none;
|
|
300
|
+
}
|
|
288
301
|
}
|
|
289
302
|
|
|
290
303
|
.post-header .category {
|
|
@@ -308,10 +321,6 @@ body {
|
|
|
308
321
|
max-width: var(--headings-width);
|
|
309
322
|
}
|
|
310
323
|
|
|
311
|
-
.post-content a {
|
|
312
|
-
text-decoration-color: var(--color-border);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
324
|
/* Post Footer */
|
|
316
325
|
.post-footer {
|
|
317
326
|
max-width: var(--content-width);
|
|
@@ -374,6 +383,10 @@ body {
|
|
|
374
383
|
flex-flow: row wrap;
|
|
375
384
|
gap: 1ch;
|
|
376
385
|
}
|
|
386
|
+
|
|
387
|
+
a {
|
|
388
|
+
text-decoration: none;
|
|
389
|
+
}
|
|
377
390
|
}
|
|
378
391
|
|
|
379
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
|