From ec8afde6b2de98aec9ceb4ea49e61e032eaf22b2 Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Wed, 3 Apr 2024 13:26:56 +0100 Subject: [PATCH] add basic home button --- cps/templates/basic_layout.html | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/cps/templates/basic_layout.html b/cps/templates/basic_layout.html index a7f1d192..4f35f423 100644 --- a/cps/templates/basic_layout.html +++ b/cps/templates/basic_layout.html @@ -20,21 +20,22 @@ nav { nav > a { color: black; - margin-right: 20px; + margin: 0 20px; } .search { - margin: 20px auto; + margin: auto auto; width: 50%; display: flex; flex: 1; + justify-content: center; } -.search > input { +form > input { padding-left: 4px; } -.search > * { +form > * { height: 32px; background-color: white; border-radius: 0; @@ -45,11 +46,11 @@ nav > a { vertical-align: top; } -.search > span { +form > span { margin-left: -5px; } -.search button { +button { border: none; padding: 0; margin: 0; @@ -62,11 +63,11 @@ nav > a { padding: 0 20px; } -.body a { +a { color: black; } -.body img { +img { width: 150px; height: 250px; object-fit: cover; @@ -93,16 +94,19 @@ nav > a {
{% if current_user.is_authenticated or g.allow_anonymous %}