From 5c2ca6275844feef2e62be05b3bfd6aee9c9a5bb Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Fri, 4 Oct 2024 17:57:34 -0400 Subject: [PATCH] feature: add navigation bar --- mccole/static/page.css | 5 +++++ mccole/templates/page.html | 30 ++++++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/mccole/static/page.css b/mccole/static/page.css index 4239bc3..2bafda3 100644 --- a/mccole/static/page.css +++ b/mccole/static/page.css @@ -133,6 +133,11 @@ h2, h3, h4, h5, h6 { font-style: italic; } +/* Navigation */ +nav { + background-color: var(--color-background-code); +} + /* Ordered lists */ ol { margin-left: var(--width-ol-adjust); diff --git a/mccole/templates/page.html b/mccole/templates/page.html index 915aeb2..11112ef 100644 --- a/mccole/templates/page.html +++ b/mccole/templates/page.html @@ -2,24 +2,34 @@ - {% if icon_file %} - - {% else %} - - {% endif %} - {% if css_file %} - - {% else %} + + + {% if css_file %}{% endif %} - {% endif %} +
{{content}}