From ea79c3b871dbb37ef6c246205d1938fc09ade95f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 12 Apr 2025 15:48:11 -0400 Subject: Revert "feat: collapsible nav menu" This reverts commit 576fd3912c6a38ffc156c666874431a78faf9476. --- static/desktop.css | 8 -------- templates/base.html | 31 +++++++++---------------------- templates/styles.css | 21 ++------------------- 3 files changed, 11 insertions(+), 49 deletions(-) diff --git a/static/desktop.css b/static/desktop.css index 88d04d5..1b0eb43 100644 --- a/static/desktop.css +++ b/static/desktop.css @@ -12,14 +12,6 @@ width: 100%; } - nav div { - height: auto; - } - - a#menu-toggle { - display: none; - } - div.buttons { flex-direction: row-reverse; } diff --git a/templates/base.html b/templates/base.html index 2c6b9aa..a3ae28f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,19 +40,15 @@
@@ -85,15 +81,6 @@

- - diff --git a/templates/styles.css b/templates/styles.css index 63cef43..2a83280 100644 --- a/templates/styles.css +++ b/templates/styles.css @@ -34,16 +34,8 @@ body { nav { display: flex; - flex-direction: row-reverse; background-color: white; -} - -nav div { - display: flex; - flex-direction: row; - overflow: hidden; - flex-wrap: wrap; - height: 3em; + flex-direction: column-reverse; } nav img { @@ -61,16 +53,7 @@ nav a { nav a:hover { color: var(--darkteal); -} - -a#menu-toggle { - cursor: pointer; -} - -nav div.menu-open { - height: auto; - flex-wrap: off; - flex-direction: column; + background-color: lightgray; } div.buttons { -- cgit v1.2.3