From da7a80e34660456a12f882de7eeaf94ddaab5d44 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 2 Jan 2026 18:05:06 -0330 Subject: article: tools-i-use --- themes/aoidh/assets/aoidh.css | 26 +++++++++++++++++++++----- themes/aoidh/layouts/_partials/menu.html | 2 +- 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'themes') diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css index e586a09..51571f5 100644 --- a/themes/aoidh/assets/aoidh.css +++ b/themes/aoidh/assets/aoidh.css @@ -23,7 +23,7 @@ body { } body { - line-height: 1.35rem; + line-height: 1.35em; font-family: serif; text-rendering: optimizeLegibility; color: #000; @@ -44,6 +44,7 @@ nav ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: .4rem .8rem; + padding: 0; } nav li { @@ -66,12 +67,12 @@ li.nav-active a { box-shadow: .2rem .2rem var(--dark-yellow); } -nav a:active { - box-shadow: 0 0; +li.nav-ancestor a { + font-weight: bold; } -ul { - padding: 0; +nav a:active { + box-shadow: 0 0; } p { @@ -100,6 +101,10 @@ a:active { border: 1px solid var(--dark-blue); } +.title { + font-size: 1.4rem; +} + h1 { font-size: 1.3rem; } @@ -165,3 +170,14 @@ img { display: block; margin: auto; } + +div { + margin-bottom: var(--parspace); +} + +ul { + margin: 0; + margin-block: 0 var(--parspace); + padding: 0; + padding-inline-start: 2em; +} diff --git a/themes/aoidh/layouts/_partials/menu.html b/themes/aoidh/layouts/_partials/menu.html index 79c2d23..ba80749 100644 --- a/themes/aoidh/layouts/_partials/menu.html +++ b/themes/aoidh/layouts/_partials/menu.html @@ -25,7 +25,7 @@ Renders a menu for the given menu ID. {{- if $page.IsMenuCurrent .Menu . -}} {{- printf " class=%q" "nav-active" | safeHTMLAttr -}} {{- else if $page.HasMenuCurrent .Menu . -}} - {{- printf "class=%q" "nav-ancestor" | safeHTMLAttr -}} + {{- printf " class=%q" "nav-ancestor" | safeHTMLAttr -}} {{- end -}}>