From f9c6526cdfabdea7352dfd499e041b8ad4de0f01 Mon Sep 17 00:00:00 2001 From: osmarks Date: Mon, 14 Jun 2021 18:27:00 +0000 Subject: more responsiveness, or possibly less --- apioforum/static/style.css | 1 + apioforum/templates/base.html | 47 ++++++++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index cc06258..141cb2e 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -54,6 +54,7 @@ nav { float: right; padding: 5px; margin: 2px; border: 1px solid black; display: nav p { margin-left: 15px; margin-top: 0; margin-bottom: 0; margin-right: 10px; padding: 0 } nav p:first-of-type { margin-left:0.5em } nav a { color: blue; text-decoration: none } +nav .links { display: flex; } /* todo: make the navbar less bad */ .flashmsg { border: 1px solid black; background-color: yellow; max-width: max-content; padding: 5px; clear: both;} diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html index 6783862..ba96c91 100644 --- a/apioforum/templates/base.html +++ b/apioforum/templates/base.html @@ -13,27 +13,32 @@ -

home

- - {% if g.user %} -

{{ g.user }}

-

- - logout - -

- {% else %} -

- - login - -

-

- - register - -

- {% endif %} + +
-- cgit v1.2.3