diff --git a/docs/pandoc/style.css b/docs/pandoc/style.css index b583ac8..c7f451c 100644 --- a/docs/pandoc/style.css +++ b/docs/pandoc/style.css @@ -85,10 +85,6 @@ nav a.active { color: #faf8e4 !important; } -a code { - text-decoration-line: underline; -} - footer { height: 2rem; position: absolute; @@ -140,6 +136,25 @@ a:focus { outline: thin dotted; } +a code { + text-decoration-line: underline; +} + +strong a { + text-decoration-line: underline; + color: var(--fg0); +} + +strong a:hover { + text-decoration-line: underline; + color: var(--fg0); +} + +strong a:visited { + text-decoration-line: underline; + color: var(--fg0); +} + *::-moz-selection { /* background: var(--ltred); */ background: rgba(255, 255, 0, 0.3); diff --git a/docs/pandoc/template.html b/docs/pandoc/template.html index d5e1e2b..99032d2 100644 --- a/docs/pandoc/template.html +++ b/docs/pandoc/template.html @@ -42,7 +42,8 @@ document.querySelectorAll('nav a').forEach((el) => { const url = new URL(el.href) - if (url.origin + url.pathname === fullpath) { + const fullurl = url.origin + url.pathname.replace(/\/$/, "") + if (fullurl === fullpath) { el.classList.add('active') } }) @@ -61,6 +62,7 @@
Home Options + Wiki Github
@@ -100,9 +102,6 @@

$toc-title$