jekyll-theme-nixest 1.1.6 → 1.1.7
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/style.html +102 -102
- data/_layouts/default.html +2 -2
- data/_layouts/error.html +1 -1
- data/_layouts/home.html +1 -1
- data/_layouts/post.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1525cf0768d184bf997e3cbf663c812fbb77f92a0729afbf047fd68e5eefdee9
|
|
4
|
+
data.tar.gz: 10b6461d03bc37ecf06a7f10ff2f4f5db5209e65964d24afb154a4b3b3822ce3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d71893fd4f40d815cf514f2b47846c505670eede3d937fa1d32af6374f5d206ed2a2028bd413c3a28742b44c37e3c3ec4f1f703c6ae6435b3468d46feab50a3b
|
|
7
|
+
data.tar.gz: 3f74a1eaa88787d5125c17028206d630ae4cc3e55773f9a1dfe49a43a6b128d239b7263fd0996f550c9ff2613125b1fce17760bd143937c0263dc4b466d430c5
|
data/_includes/style.html
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
</style>
|
|
1
|
+
<style>
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light dark;
|
|
4
|
+
--font-size: 1rem;
|
|
5
|
+
/* Calculate integer pixel values depending on the font size (default: 1rem = 16px) */
|
|
6
|
+
--border-size: calc(var(--font-size) * 1/16);
|
|
7
|
+
--font-size-script: calc(var(--font-size) * 11/16);
|
|
8
|
+
--font-size-small: calc(var(--font-size) * 14/16);
|
|
9
|
+
--font-size-big: calc(var(--font-size) * 32/16);
|
|
10
|
+
--font-family: sans-serif;
|
|
11
|
+
--spacing: 1em;
|
|
12
|
+
--line-height: 1.5;
|
|
13
|
+
--line-height-reduced: 1.2;
|
|
14
|
+
}
|
|
15
|
+
html {
|
|
16
|
+
max-width: 720px;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
padding: calc(var(--spacing) * 1 / 2);
|
|
19
|
+
font: var(--font-size) / var(--line-height) var(--font-family);
|
|
20
|
+
/* font-size-adjust: from-font; */
|
|
21
|
+
-moz-text-size-adjust: none;
|
|
22
|
+
-webkit-text-size-adjust: none;
|
|
23
|
+
text-size-adjust: none;
|
|
24
|
+
}
|
|
25
|
+
body {
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
img,
|
|
29
|
+
table {
|
|
30
|
+
margin: 0 auto;
|
|
31
|
+
}
|
|
32
|
+
table {
|
|
33
|
+
border-collapse: collapse;
|
|
34
|
+
}
|
|
35
|
+
th,
|
|
36
|
+
td {
|
|
37
|
+
padding: calc(var(--spacing) * 1 / 4);
|
|
38
|
+
border: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent);
|
|
39
|
+
}
|
|
40
|
+
img {
|
|
41
|
+
display: block;
|
|
42
|
+
max-width: 100%;
|
|
43
|
+
height: auto;
|
|
44
|
+
}
|
|
45
|
+
figure {
|
|
46
|
+
margin-left: 0;
|
|
47
|
+
margin-right: 0;
|
|
48
|
+
max-width: 100%;
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-size: var(--font-size-small);
|
|
51
|
+
line-height: 1;
|
|
52
|
+
}
|
|
53
|
+
blockquote {
|
|
54
|
+
margin: var(--spacing) calc(var(--spacing) * 3 / 2) var(--spacing) calc(var(--spacing) * 1 / 2);
|
|
55
|
+
padding-left: var(--spacing);
|
|
56
|
+
border-left: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent);
|
|
57
|
+
}
|
|
58
|
+
pre {
|
|
59
|
+
overflow-x: auto;
|
|
60
|
+
tab-size: 2;
|
|
61
|
+
}
|
|
62
|
+
sub,
|
|
63
|
+
sup {
|
|
64
|
+
font-size: var(--font-size-script);
|
|
65
|
+
line-height: 0;
|
|
66
|
+
}
|
|
67
|
+
hr {
|
|
68
|
+
margin: calc(var(--spacing) * 2) 0;
|
|
69
|
+
border: 0;
|
|
70
|
+
border-top: var(--border-size) solid;
|
|
71
|
+
}
|
|
72
|
+
h1,
|
|
73
|
+
h2,
|
|
74
|
+
h3,
|
|
75
|
+
h4,
|
|
76
|
+
h5,
|
|
77
|
+
h6 {
|
|
78
|
+
line-height: var(--line-height-reduced);
|
|
79
|
+
text-wrap: balance;
|
|
80
|
+
}
|
|
81
|
+
h1 {
|
|
82
|
+
margin-block: 0.67em;
|
|
83
|
+
font-size: var(--font-size-big);
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
body > main > ul {
|
|
87
|
+
padding: 0;
|
|
88
|
+
}
|
|
89
|
+
body > main > ul > li {
|
|
90
|
+
margin: calc(var(--spacing) * 1 / 2) 0;
|
|
91
|
+
list-style-type: none;
|
|
92
|
+
line-height: 1.25;
|
|
93
|
+
}
|
|
94
|
+
hr:has(+ div[role="doc-endnotes"]) {
|
|
95
|
+
margin-bottom: var(--spacing);
|
|
96
|
+
}
|
|
97
|
+
div[role="doc-endnotes"] {
|
|
98
|
+
margin-top: 0;
|
|
99
|
+
font-size: var(--font-size-small);
|
|
100
|
+
line-height: var(--line-height);
|
|
101
|
+
}
|
|
102
|
+
</style>
|
data/_layouts/default.html
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
|
|
3
3
|
<head>
|
|
4
4
|
{% include default-head.html %}
|
|
5
|
-
<title>{
|
|
6
|
-
<meta name="description" content="{% if content %}{{ content | strip_html | truncate: 150 }}{% else %}{{ site.description | smartify }}{% endif %}">
|
|
5
|
+
<title>{% if content %}{{ content | strip_html | truncate: 50 | smartify }}{% else %}{{ site.title | smartify }}{% endif %}</title>
|
|
6
|
+
<meta name="description" content="{% if content %}{{ content | strip_html | truncate: 150 | smartify }}{% else %}{{ site.description | smartify }}{% endif %}">
|
|
7
7
|
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
|
8
8
|
{% include_cached style.html %}
|
|
9
9
|
</head>
|
data/_layouts/error.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
|
|
3
3
|
<head>
|
|
4
4
|
{% include default-head.html %}
|
|
5
|
-
<title>{
|
|
5
|
+
<title>{% if content %}{{ content | strip_html | truncate: 150 | smartify }}{% else %}{{ site.title | smartify }}{% endif %}</title>
|
|
6
6
|
{% include_cached style.html %}
|
|
7
7
|
</head>
|
|
8
8
|
<body>
|
data/_layouts/home.html
CHANGED
|
@@ -3,6 +3,6 @@ layout: default
|
|
|
3
3
|
---
|
|
4
4
|
{%- if site.posts.size > 0 -%}
|
|
5
5
|
{%- for post in site.posts %}
|
|
6
|
-
<p><a href="{{ post.url | relative_url }}">{{ post.content | strip_html | truncate: 150 }}</a></p>
|
|
6
|
+
<p><a href="{{ post.url | relative_url }}">{{ post.content | strip_html | truncate: 150 | smartify }}</a></p>
|
|
7
7
|
{%- endfor -%}
|
|
8
8
|
{%- endif %}
|
data/_layouts/post.html
CHANGED