mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-26 21:08:34 +01:00
Compare commits
No commits in common. "73265e3b14c948de7762d244042f19c3f9ca116e" and "dcd8aa99be2a5238269df52f6c33ae8e5409665c" have entirely different histories.
73265e3b14
...
dcd8aa99be
7 changed files with 7 additions and 22 deletions
|
@ -5,4 +5,3 @@
|
|||
{% if page.next %}
|
||||
<a class="nav-item nav-link" href="{{ page.next.url }}">⏭️ Next Post</a>
|
||||
{% endif %}
|
||||
{% include tocnavitem.html headers="h1, h2, h3, h4, h5, h6" %}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
<a class="nav-item nav-link" href="../../">🏠 Home</a>
|
||||
{% include tocnavitem.html headers="h2" %}
|
|
@ -39,6 +39,10 @@
|
|||
});
|
||||
</script>
|
||||
</span>
|
||||
|
||||
<script>
|
||||
$(".navbar-collapse a").on("click", () => $(".navbar-collapse").collapse("hide"));
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
<div class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" type="button" data-toggle="dropdown">🧭 Navigation</a>
|
||||
<div class="dropdown-menu">
|
||||
<div id="navigator-content" style="height: auto; max-height: 50vh; overflow-y: scroll;"></div>
|
||||
<script>
|
||||
$(() => $("{{ include.headers }}").each((i, h) => {
|
||||
let offset = `${0.5 + Number(h.nodeName.substring(1)) - 1}rem`;
|
||||
$("#navigator-content").append(`
|
||||
<a class="nav-item nav-link dropdown-item-text" href="#${h.id}" style="padding-left: ${offset}; white-space: nowrap;">
|
||||
${h.innerText.trim()}
|
||||
</a>`);
|
||||
}));
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: default
|
||||
nav: changelognav.html
|
||||
nav: basicnav.html
|
||||
title: Tiny Life Changelog
|
||||
summary: The full changelog for Tiny Life
|
||||
---
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: default
|
||||
nav: changelognav.html
|
||||
nav: basicnav.html
|
||||
title: Troubleshooting Common Issues with Tiny Life
|
||||
summary: Information on commonly faced issues in and around Tiny Life, and how to fix them
|
||||
---
|
||||
|
|
|
@ -256,8 +256,7 @@ h1:hover .anchor-heading, h2:hover .anchor-heading, h3:hover .anchor-heading, h4
|
|||
visibility: visible;
|
||||
}
|
||||
|
||||
body.dark-mode,
|
||||
body.dark-mode .dropdown-menu {
|
||||
body.dark-mode {
|
||||
color: #d8d8d8;
|
||||
background-color: #1b1b1b;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue