diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-04-12 16:20:09 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-04-12 16:20:09 -0400 |
commit | 9bd21d3d07b74fdd0e761be72592fdff1d546861 (patch) | |
tree | db67e3be036db66fc8075cc9c19474cda14cb7a1 /templates | |
parent | ea79c3b871dbb37ef6c246205d1938fc09ade95f (diff) | |
download | carpentertutoring-9bd21d3d07b74fdd0e761be72592fdff1d546861.tar.xz carpentertutoring-9bd21d3d07b74fdd0e761be72592fdff1d546861.zip |
feat: responsive priority nav
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 19 | ||||
-rw-r--r-- | templates/styles.css | 3 |
2 files changed, 13 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html index a3ae28f..cff513b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,15 +40,16 @@ <body> <nav> - <a href="/#contact">Contact</a> - <a href="/#reviews">Reviews</a> - <a href="/about">Team</a> - <a href="/policies">Policies</a> - <a href="/posts">Posts</a> - <a href="/#help">Helpful Links</a> - <a href="/brochure">Brochure</a> - <a href="/#offerings">Services</a> <a href="/#"><img alt="logo" src="/assets/logo-simple.png" /></a> + <a href="/#offerings">Services</a> + <a href="/brochure">Brochure</a> + <a href="/#help">Helpful Links</a> + <a href="/posts">Posts</a> + <a href="/policies">Policies</a> + <a href="/about">Team</a> + <a href="/#reviews">Reviews</a> + <a href="/#contact">Contact</a> + <a href="#">More…</a> </nav> <main> @@ -81,6 +82,8 @@ </a> </p> </footer> + + <script src="/nav.js"></script> </body> </html> diff --git a/templates/styles.css b/templates/styles.css index 2a83280..c18d25c 100644 --- a/templates/styles.css +++ b/templates/styles.css @@ -34,8 +34,9 @@ body { nav { display: flex; + flex-wrap: wrap; background-color: white; - flex-direction: column-reverse; + position: fixed; } nav img { |