From bc11d35217fb95a6eaef0dba0d39fa8b68cfbf37 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Sun, 3 Mar 2024 22:49:57 +0100 Subject: [PATCH] Add wiki --- docs/pandoc/style.css | 23 +++++++++-- docs/pandoc/template.html | 7 ++-- docs/wiki/ddns/njalla/domain.png | Bin 0 -> 66669 bytes docs/wiki/ddns/njalla/index.md | 68 +++++++++++++++++++++++++++++++ docs/wiki/ddns/njalla/record.png | Bin 0 -> 116475 bytes docs/wiki/index.md | 9 ++++ docs/wiki/secrets/index.md | 52 +++++++++++++++++++++++ mkDocs.nix | 26 ++++++++++++ 8 files changed, 177 insertions(+), 8 deletions(-) create mode 100644 docs/wiki/ddns/njalla/domain.png create mode 100644 docs/wiki/ddns/njalla/index.md create mode 100644 docs/wiki/ddns/njalla/record.png create mode 100644 docs/wiki/index.md create mode 100644 docs/wiki/secrets/index.md 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$