From f92288f858ab88406b8fc142203ad432c2d4ac34 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Thu, 4 Jul 2024 12:49:37 +0300 Subject: [PATCH] Update the header --- backend/hub/templates/base.html | 1 + backend/hub/templates/header.html | 240 +++++++++++++++------------ backend/static_extras/css/header.css | 19 +++ 3 files changed, 151 insertions(+), 109 deletions(-) create mode 100644 backend/static_extras/css/header.css diff --git a/backend/hub/templates/base.html b/backend/hub/templates/base.html index 16ca00f4..766f0d00 100644 --- a/backend/hub/templates/base.html +++ b/backend/hub/templates/base.html @@ -24,6 +24,7 @@ + {% block styles %}{% endblock %} diff --git a/backend/hub/templates/header.html b/backend/hub/templates/header.html index 26955697..38378855 100644 --- a/backend/hub/templates/header.html +++ b/backend/hub/templates/header.html @@ -3,122 +3,144 @@ {% load hub_tags %} diff --git a/backend/static_extras/css/header.css b/backend/static_extras/css/header.css new file mode 100644 index 00000000..ba54b6ed --- /dev/null +++ b/backend/static_extras/css/header.css @@ -0,0 +1,19 @@ +.subtle-link { + color: #000; + + &:hover { + color: #165ccc; + } +} + +.banner { + background-color: #f3f4f6; +} + +.banner-content { + padding: 12px 0; + font-size: 14px; + font-weight: 500; + display: flex; + align-items: center; +}