imdhemy-jekyll-theme 1.7.0 → 1.7.1
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/archive-header.html +0 -15
- data/_includes/page-header.html +0 -1
- data/_layouts/page.html +0 -3
- data/_layouts/post.html +1 -1
- data/_sass/components/_core.scss +22 -65
- 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: 96a8b5ca0409b922853d963a92e25265e8eb75cd60c647681167b4f9db5479bc
|
|
4
|
+
data.tar.gz: c961cb1eb0087a5c130299c27fbf8dfe1924797e3a7cc93bc396f79e49552913
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ae0bde31859540b805aa65143e97a954060b9783f9a5145d3f058223ee6fec7e58098d388a7989a7d43e269854fab23ef53ed587e72875a2401f499dbbb642f
|
|
7
|
+
data.tar.gz: 88a2c30e60bba20b181d8ab0e46e77569db3dccb05204e6c4420733acab0a4ab797a4ac860d022fb2d33886a08d40db2a3c35807af70f88ef1f8e86ca16939ab
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
{% assign archive_type = page.type | default: page.collection %}
|
|
2
|
-
{% assign archive_label = 'archive' %}
|
|
3
|
-
{% if archive_type == 'tag' or archive_type == 'tags' %}
|
|
4
|
-
{% assign archive_label = 'tag' %}
|
|
5
|
-
{% elsif archive_type == 'category' or archive_type == 'categories' %}
|
|
6
|
-
{% assign archive_label = 'category' %}
|
|
7
|
-
{% endif %}
|
|
8
|
-
{% assign archive_description = page.description %}
|
|
9
|
-
{% if archive_description == nil or archive_description == empty %}
|
|
10
|
-
{% capture archive_description %}Browse all posts filed under {{ archive_label }} {{ page.title }}.{% endcapture %}
|
|
11
|
-
{% endif %}
|
|
12
1
|
<section class="page-header-wrap page-header-wrap--archive">
|
|
13
2
|
<div class="page-header-wrap__container">
|
|
14
3
|
<div class="page-header page-header--archive page-header--archive-hub">
|
|
15
4
|
<div class="page-header__layout page-header__layout--stacked">
|
|
16
5
|
<h1 class="page-header__title page-header__title--centered">{{ page.title }}</h1>
|
|
17
|
-
<p class="page-header__description page-header__description--centered">{{ archive_description }} Check out the <a
|
|
18
|
-
class="archive-header__blog-link"
|
|
19
|
-
href="{{ site.baseurl }}/blog">blog</a> for all
|
|
20
|
-
posts.</p>
|
|
21
6
|
</div>
|
|
22
7
|
</div>
|
|
23
8
|
</div>
|
data/_includes/page-header.html
CHANGED
data/_layouts/page.html
CHANGED
|
@@ -10,9 +10,6 @@ layout: default
|
|
|
10
10
|
<header class="page-article__header">
|
|
11
11
|
<div class="page-article__header-layout">
|
|
12
12
|
<h1 class="page-article__title">{{ page.title }}</h1>
|
|
13
|
-
{% if page.description %}
|
|
14
|
-
<p class="page-article__description">{{ page.description }}</p>
|
|
15
|
-
{% endif %}
|
|
16
13
|
</div>
|
|
17
14
|
</header>
|
|
18
15
|
|
data/_layouts/post.html
CHANGED
|
@@ -9,7 +9,7 @@ layout: default
|
|
|
9
9
|
{% if site.theme_features.reading_progress != false %}
|
|
10
10
|
{% include reading-progress.html %}
|
|
11
11
|
{% endif %}
|
|
12
|
-
<article class="post-page">
|
|
12
|
+
<article class="post-page{% if page.image %} post-page--with-image{% endif %}">
|
|
13
13
|
{% include post-header.html %}
|
|
14
14
|
|
|
15
15
|
{% include content.html %}
|
data/_sass/components/_core.scss
CHANGED
|
@@ -116,7 +116,6 @@
|
|
|
116
116
|
.post-card__title-link:focus-visible,
|
|
117
117
|
.tag-pill:focus-visible,
|
|
118
118
|
.pagination-link:focus-visible,
|
|
119
|
-
.archive-header__blog-link:focus-visible,
|
|
120
119
|
.post-series__link:focus-visible,
|
|
121
120
|
.post-navigation__item:focus-visible,
|
|
122
121
|
.related-posts__item:focus-visible {
|
|
@@ -583,7 +582,7 @@
|
|
|
583
582
|
position: relative;
|
|
584
583
|
display: block;
|
|
585
584
|
width: 100%;
|
|
586
|
-
margin-bottom:
|
|
585
|
+
margin-bottom: 0.5rem;
|
|
587
586
|
overflow: hidden;
|
|
588
587
|
border-radius: 0.5rem;
|
|
589
588
|
aspect-ratio: 1 / 1;
|
|
@@ -669,7 +668,6 @@
|
|
|
669
668
|
font-weight: var(--font-weight-medium);
|
|
670
669
|
line-height: var(--font-heading-lg-line-height);
|
|
671
670
|
letter-spacing: var(--font-tracking-normal);
|
|
672
|
-
text-wrap: balance;
|
|
673
671
|
overflow-wrap: break-word;
|
|
674
672
|
}
|
|
675
673
|
|
|
@@ -718,7 +716,6 @@
|
|
|
718
716
|
font-weight: var(--font-weight-medium);
|
|
719
717
|
line-height: var(--font-heading-xl-line-height);
|
|
720
718
|
letter-spacing: var(--font-tracking-normal);
|
|
721
|
-
text-wrap: pretty;
|
|
722
719
|
overflow-wrap: break-word;
|
|
723
720
|
}
|
|
724
721
|
|
|
@@ -782,9 +779,14 @@
|
|
|
782
779
|
}
|
|
783
780
|
|
|
784
781
|
.post-page {
|
|
782
|
+
--post-content-start-space: 1.25rem;
|
|
785
783
|
padding-top: 1.25rem;
|
|
786
784
|
}
|
|
787
785
|
|
|
786
|
+
.post-page--with-image {
|
|
787
|
+
--post-content-start-space: 0.5rem;
|
|
788
|
+
}
|
|
789
|
+
|
|
788
790
|
.post-page .post-header,
|
|
789
791
|
.post-page .content-shell,
|
|
790
792
|
.post-page .comments-shell__inner,
|
|
@@ -804,6 +806,10 @@
|
|
|
804
806
|
var(--color-surface);
|
|
805
807
|
}
|
|
806
808
|
|
|
809
|
+
.post-page--with-image .post-header {
|
|
810
|
+
padding-bottom: 0;
|
|
811
|
+
}
|
|
812
|
+
|
|
807
813
|
.post-page .post-back-link {
|
|
808
814
|
margin-bottom: 0.95rem;
|
|
809
815
|
font-size: 0.9rem;
|
|
@@ -1011,7 +1017,7 @@
|
|
|
1011
1017
|
|
|
1012
1018
|
.post-page .content-shell {
|
|
1013
1019
|
margin-top: 0;
|
|
1014
|
-
padding:
|
|
1020
|
+
padding: var(--post-content-start-space) 1rem 1.1rem;
|
|
1015
1021
|
border: 1px solid color-mix(in srgb, var(--color-border) 84%, #c9d6ff 16%);
|
|
1016
1022
|
border-top: 0;
|
|
1017
1023
|
border-radius: 0 0 1rem 1rem;
|
|
@@ -1162,15 +1168,6 @@
|
|
|
1162
1168
|
overflow-wrap: break-word;
|
|
1163
1169
|
}
|
|
1164
1170
|
|
|
1165
|
-
.page-article__description {
|
|
1166
|
-
max-width: 46rem;
|
|
1167
|
-
margin-top: 1rem;
|
|
1168
|
-
margin-bottom: 0.3rem;
|
|
1169
|
-
font-size: var(--font-text-md-size);
|
|
1170
|
-
line-height: var(--font-text-md-line-height);
|
|
1171
|
-
color: var(--color-muted);
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
1171
|
.page-article .content-shell {
|
|
1175
1172
|
margin-top: 0;
|
|
1176
1173
|
padding: 1.35rem 1.25rem 1.2rem;
|
|
@@ -1211,7 +1208,7 @@
|
|
|
1211
1208
|
.blog-hub .blog-hub__listing,
|
|
1212
1209
|
.archive-hub .archive-hub__listing {
|
|
1213
1210
|
margin-top: 0;
|
|
1214
|
-
padding: 0.3rem 0.65rem 0.
|
|
1211
|
+
padding: 0.3rem 0.65rem 0.35rem;
|
|
1215
1212
|
border: 1px solid color-mix(in srgb, var(--color-border) 84%, #c9d6ff 16%);
|
|
1216
1213
|
border-top: 0;
|
|
1217
1214
|
background: #fff;
|
|
@@ -1236,20 +1233,12 @@
|
|
|
1236
1233
|
}
|
|
1237
1234
|
|
|
1238
1235
|
.blog-hub .pagination-nav {
|
|
1239
|
-
margin-top: 0
|
|
1236
|
+
margin-top: 0;
|
|
1240
1237
|
margin-bottom: 0;
|
|
1241
1238
|
}
|
|
1242
1239
|
|
|
1243
|
-
.blog-
|
|
1244
|
-
|
|
1245
|
-
margin-bottom: 0.5rem;
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
.blog-hub .page-header__description,
|
|
1249
|
-
.archive-hub .page-header__description {
|
|
1250
|
-
max-width: none;
|
|
1251
|
-
margin-top: 0.6rem;
|
|
1252
|
-
font-size: 1.05rem;
|
|
1240
|
+
.blog-hub__listing .post-card:last-child {
|
|
1241
|
+
margin-bottom: 0;
|
|
1253
1242
|
}
|
|
1254
1243
|
|
|
1255
1244
|
.page-header-wrap {
|
|
@@ -1306,34 +1295,6 @@
|
|
|
1306
1295
|
text-align: center;
|
|
1307
1296
|
}
|
|
1308
1297
|
|
|
1309
|
-
.page-header__description {
|
|
1310
|
-
max-width: 640px;
|
|
1311
|
-
font-size: var(--font-text-lg-size);
|
|
1312
|
-
line-height: var(--font-text-lg-line-height);
|
|
1313
|
-
color: var(--color-muted);
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
.page-header__description--centered {
|
|
1317
|
-
text-align: center;
|
|
1318
|
-
color: var(--color-muted);
|
|
1319
|
-
margin-inline: auto;
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
.archive-header__blog-link {
|
|
1323
|
-
font-weight: var(--font-weight-medium);
|
|
1324
|
-
color: var(--color-brand);
|
|
1325
|
-
text-decoration: underline;
|
|
1326
|
-
text-decoration-thickness: 0.08em;
|
|
1327
|
-
text-underline-offset: 0.13em;
|
|
1328
|
-
text-decoration-color: color-mix(in srgb, var(--color-brand) 50%, transparent);
|
|
1329
|
-
transition: color 0.2s ease, text-decoration-color 0.2s ease;
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
.archive-header__blog-link:hover {
|
|
1333
|
-
color: var(--color-brand-strong);
|
|
1334
|
-
text-decoration-color: var(--color-brand-strong);
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
1298
|
.pagination-shell {
|
|
1338
1299
|
padding-inline: 1.25rem;
|
|
1339
1300
|
}
|
|
@@ -2031,7 +1992,7 @@
|
|
|
2031
1992
|
width: 250px;
|
|
2032
1993
|
min-width: 250px;
|
|
2033
1994
|
margin-bottom: 0;
|
|
2034
|
-
margin-right:
|
|
1995
|
+
margin-right: 0.5rem;
|
|
2035
1996
|
border-radius: 0;
|
|
2036
1997
|
aspect-ratio: auto;
|
|
2037
1998
|
}
|
|
@@ -2058,6 +2019,10 @@
|
|
|
2058
2019
|
padding: 1.6rem 1.75rem 1.35rem;
|
|
2059
2020
|
}
|
|
2060
2021
|
|
|
2022
|
+
.post-page--with-image .post-header {
|
|
2023
|
+
padding-bottom: 0;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2061
2026
|
.post-page .post-title {
|
|
2062
2027
|
font-size: var(--font-heading-2xl-size);
|
|
2063
2028
|
line-height: var(--font-heading-2xl-line-height);
|
|
@@ -2066,7 +2031,7 @@
|
|
|
2066
2031
|
}
|
|
2067
2032
|
|
|
2068
2033
|
.post-page .content-shell {
|
|
2069
|
-
padding:
|
|
2034
|
+
padding: var(--post-content-start-space) 2rem 1.8rem;
|
|
2070
2035
|
}
|
|
2071
2036
|
|
|
2072
2037
|
.post-page .comments-shell__inner,
|
|
@@ -2119,21 +2084,13 @@
|
|
|
2119
2084
|
|
|
2120
2085
|
.blog-hub .blog-hub__listing,
|
|
2121
2086
|
.archive-hub .archive-hub__listing {
|
|
2122
|
-
padding: 0.65rem 1.35rem
|
|
2087
|
+
padding: 0.65rem 1.35rem 0.75rem;
|
|
2123
2088
|
}
|
|
2124
2089
|
|
|
2125
2090
|
.blog-hub .pagination-shell {
|
|
2126
2091
|
padding: 0 1.35rem 1.2rem;
|
|
2127
2092
|
}
|
|
2128
2093
|
|
|
2129
|
-
.blog-hub .page-header__description,
|
|
2130
|
-
.archive-hub .page-header__description {
|
|
2131
|
-
max-width: 640px;
|
|
2132
|
-
margin-top: 0;
|
|
2133
|
-
font-size: var(--font-text-lg-size);
|
|
2134
|
-
line-height: var(--font-text-lg-line-height);
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
2094
|
.page-header__layout {
|
|
2138
2095
|
display: flex;
|
|
2139
2096
|
justify-content: space-between;
|