al_folio_core 1.0.4 → 1.0.6
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/CHANGELOG.md +12 -0
- data/_includes/header.liquid +3 -3
- data/_includes/related_posts.liquid +3 -3
- data/_layouts/default.liquid +2 -2
- data/_sass/_navbar.scss +27 -0
- data/_sass/_utilities.scss +26 -22
- data/lib/al_folio_core/version.rb +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: 72cc440ddce6e0131c852364edaeb57bf3af33199bb68328be63adf6d0e0cb66
|
|
4
|
+
data.tar.gz: bea2ce28949a4cc159138a780446acb174b4cd02d532667275c2d1b4ef628f46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb32157ab9a3d595ee8371fd6b51d8a60492831f067238908ee5ac64127bed0c62038ce31356fd67adbf5faf842cd35a7e372a49f3212c29f9cb30efffc18d89
|
|
7
|
+
data.tar.gz: 2d521c401f846d0d45fc551b6be6457753b0f4a9336e442a8166cbbc9445866d124985fdd047bb3a30fadb62964162994c4e4f0c38a54a9c01e0d6e2e1e35590
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.6 - 2026-02-18
|
|
4
|
+
|
|
5
|
+
- Removed unnecessary navbar menu cross-axis alignment to keep the theme toggle vertically aligned with adjacent controls.
|
|
6
|
+
- Updated Tocbot sidebar styling to a Tocbot-native single-rail hierarchy (with al-folio colors) and removed custom per-link ridge markers.
|
|
7
|
+
|
|
8
|
+
## 1.0.5 - 2026-02-18
|
|
9
|
+
|
|
10
|
+
- Restored right-aligned desktop navbar menu layout with explicit core-owned alignment classes.
|
|
11
|
+
- Matched inline code typography more closely to legacy sizing/weight while preserving code-block styling.
|
|
12
|
+
- Normalized related-post recommendation links to regular font weight.
|
|
13
|
+
- Fixed Tocbot sidebar visual clashes by removing competing custom rails and scoping active/hover indicators cleanly.
|
|
14
|
+
|
|
3
15
|
## 1.0.4 - 2026-02-17
|
|
4
16
|
|
|
5
17
|
- Fixed related-posts HTML structure to render valid list markup.
|
data/_includes/header.liquid
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{% endif %}
|
|
27
27
|
<!-- Navbar Toggle -->
|
|
28
28
|
<button
|
|
29
|
-
class="navbar-toggler collapsed
|
|
29
|
+
class="navbar-toggler collapsed navbar-toggler-main"
|
|
30
30
|
type="button"
|
|
31
31
|
data-nav-toggle="navbarNav"
|
|
32
32
|
aria-controls="navbarNav"
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
<span class="icon-bar bottom-bar"></span>
|
|
40
40
|
</button>
|
|
41
41
|
|
|
42
|
-
<div class="collapse navbar-collapse
|
|
43
|
-
<ul class="navbar-nav
|
|
42
|
+
<div class="collapse navbar-collapse navbar-collapse-main" id="navbarNav">
|
|
43
|
+
<ul class="navbar-nav navbar-menu-list flex-nowrap">
|
|
44
44
|
{% for page in site.pages %}
|
|
45
45
|
{% if page.permalink == '/' %} {% assign about_title = page.title %} {% endif %}
|
|
46
46
|
{% endfor %}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
{% for post in related_posts %}
|
|
14
14
|
<li class="leading-relaxed">
|
|
15
15
|
{% if post.redirect == blank %}
|
|
16
|
-
<a class="
|
|
16
|
+
<a class="underline decoration-1 hover:text-[var(--global-hover-color)]" href="{{ post.url | relative_url }}">
|
|
17
17
|
{{- post.title -}}
|
|
18
18
|
</a>
|
|
19
19
|
{% elsif post.redirect contains '://' %}
|
|
20
20
|
<a
|
|
21
|
-
class="
|
|
21
|
+
class="underline decoration-1 hover:text-[var(--global-hover-color)]"
|
|
22
22
|
href="{{ post.redirect }}"
|
|
23
23
|
target="_blank"
|
|
24
24
|
rel="noopener noreferrer"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<path d="M17 13.5v6H5v-12h6m3-3h6v6m0-6-9 9" class="icon_svg-stroke" stroke="#999" stroke-width="1.5" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
30
30
|
</svg>
|
|
31
31
|
{% else %}
|
|
32
|
-
<a class="
|
|
32
|
+
<a class="underline decoration-1 hover:text-[var(--global-hover-color)]" href="{{ post.redirect | relative_url }}">
|
|
33
33
|
{{- post.title -}}
|
|
34
34
|
</a>
|
|
35
35
|
{% endif %}
|
data/_layouts/default.liquid
CHANGED
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
<div class="col-sm-9">{{ content }}</div>
|
|
30
30
|
<!-- sidebar, which will move to the top on a small screen -->
|
|
31
31
|
<div class="col-sm-3">
|
|
32
|
-
<nav id="toc-sidebar" class="sticky-top toc-sidebar" aria-label="Table of contents"></nav>
|
|
32
|
+
<nav id="toc-sidebar" class="sticky-top toc toc-sidebar" aria-label="Table of contents"></nav>
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
35
|
{% else %}
|
|
36
36
|
<div class="row">
|
|
37
37
|
<!-- sidebar, which will move to the top on a small screen -->
|
|
38
38
|
<div class="col-sm-3">
|
|
39
|
-
<nav id="toc-sidebar" class="sticky-top toc-sidebar" aria-label="Table of contents"></nav>
|
|
39
|
+
<nav id="toc-sidebar" class="sticky-top toc toc-sidebar" aria-label="Table of contents"></nav>
|
|
40
40
|
</div>
|
|
41
41
|
<!-- main content area -->
|
|
42
42
|
<div class="col-sm-9">{{ content }}</div>
|
data/_sass/_navbar.scss
CHANGED
|
@@ -9,6 +9,33 @@
|
|
|
9
9
|
border-bottom: 1px solid var(--global-divider-color);
|
|
10
10
|
background-color: var(--global-bg-color);
|
|
11
11
|
opacity: 0.95;
|
|
12
|
+
|
|
13
|
+
.navbar-collapse-main {
|
|
14
|
+
justify-content: flex-end;
|
|
15
|
+
text-align: right;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.navbar-menu-list {
|
|
19
|
+
margin-left: auto;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (max-width: 575.98px) {
|
|
24
|
+
.navbar {
|
|
25
|
+
.navbar-toggler-main {
|
|
26
|
+
margin-left: auto;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.navbar-collapse-main {
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.navbar-menu-list {
|
|
34
|
+
margin-left: 0;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
12
39
|
}
|
|
13
40
|
|
|
14
41
|
.navbar .dropdown-menu,
|
data/_sass/_utilities.scss
CHANGED
|
@@ -55,6 +55,12 @@ code {
|
|
|
55
55
|
word-wrap: break-word;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
:not(pre) > code {
|
|
59
|
+
font-size: 0.82em;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
padding: 2px 4px;
|
|
62
|
+
}
|
|
63
|
+
|
|
58
64
|
// Progress bars
|
|
59
65
|
|
|
60
66
|
progress {
|
|
@@ -280,52 +286,50 @@ table[data-toggle="table"].af-table-enhanced tbody tr.af-row-selected {
|
|
|
280
286
|
#toc-sidebar {
|
|
281
287
|
z-index: 1;
|
|
282
288
|
top: 5rem;
|
|
283
|
-
|
|
284
|
-
|
|
289
|
+
|
|
290
|
+
&.toc > .toc-list {
|
|
291
|
+
overflow: visible;
|
|
292
|
+
padding-left: 0.8rem;
|
|
293
|
+
}
|
|
285
294
|
|
|
286
295
|
.toc-list {
|
|
296
|
+
border-left: 1px solid color-mix(in srgb, var(--global-divider-color) 80%, transparent);
|
|
287
297
|
list-style: none;
|
|
288
|
-
margin: 0;
|
|
289
|
-
padding-left: 0;
|
|
298
|
+
margin: 0.1rem 0;
|
|
299
|
+
padding-left: 0.8rem;
|
|
290
300
|
}
|
|
291
301
|
|
|
292
302
|
.toc-list .toc-list {
|
|
293
|
-
|
|
294
|
-
margin-
|
|
295
|
-
margin-left: 0.2rem;
|
|
296
|
-
padding-left: 0.75rem;
|
|
303
|
+
margin-top: 0.12rem;
|
|
304
|
+
margin-left: 0.4rem;
|
|
297
305
|
}
|
|
298
306
|
|
|
299
307
|
.toc-link {
|
|
300
308
|
color: var(--global-text-color);
|
|
301
309
|
display: block;
|
|
302
|
-
font-size: 0.
|
|
303
|
-
line-height: 1.
|
|
304
|
-
margin: 0
|
|
305
|
-
padding: 0.
|
|
306
|
-
border-left: 2px solid transparent;
|
|
310
|
+
font-size: 0.8rem;
|
|
311
|
+
line-height: 1.4;
|
|
312
|
+
margin: 0;
|
|
313
|
+
padding: 0.14rem 0.25rem 0.14rem 0.4rem;
|
|
307
314
|
transition:
|
|
308
|
-
border-color 0.2s ease,
|
|
309
315
|
color 0.2s ease,
|
|
310
|
-
|
|
316
|
+
font-weight 0.2s ease;
|
|
317
|
+
transform: none;
|
|
311
318
|
|
|
312
319
|
&:hover {
|
|
313
320
|
color: var(--global-hover-color);
|
|
314
|
-
border-left-color: var(--global-hover-color);
|
|
315
321
|
text-decoration: none;
|
|
316
|
-
transform:
|
|
322
|
+
transform: none;
|
|
317
323
|
}
|
|
318
324
|
}
|
|
319
325
|
|
|
320
326
|
.toc-link.is-active-link {
|
|
321
327
|
color: var(--global-theme-color);
|
|
322
|
-
border-left-color: var(--global-theme-color);
|
|
323
328
|
font-weight: 600;
|
|
324
|
-
transform:
|
|
329
|
+
transform: none;
|
|
325
330
|
|
|
326
331
|
&:hover {
|
|
327
332
|
color: var(--global-hover-color);
|
|
328
|
-
border-left-color: var(--global-hover-color);
|
|
329
333
|
}
|
|
330
334
|
}
|
|
331
335
|
}
|
|
@@ -355,7 +359,7 @@ table[data-toggle="table"].af-table-enhanced tbody tr.af-row-selected {
|
|
|
355
359
|
}
|
|
356
360
|
}
|
|
357
361
|
|
|
358
|
-
code {
|
|
362
|
+
:not(pre) > code {
|
|
359
363
|
font-size: 0.875rem;
|
|
360
364
|
padding: 2px 4px;
|
|
361
365
|
}
|
|
@@ -375,7 +379,7 @@ table[data-toggle="table"].af-table-enhanced tbody tr.af-row-selected {
|
|
|
375
379
|
}
|
|
376
380
|
}
|
|
377
381
|
|
|
378
|
-
code {
|
|
382
|
+
:not(pre) > code {
|
|
379
383
|
font-size: 0.8rem;
|
|
380
384
|
padding: 1px 3px;
|
|
381
385
|
}
|